clt debugger
Review URL: https://codereview.appspot.com/6267043

git-svn-id: http://skia.googlecode.com/svn/trunk@4404 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/gyp/debugger.gyp b/gyp/debugger.gyp
new file mode 100644
index 0000000..0789a96
--- /dev/null
+++ b/gyp/debugger.gyp
@@ -0,0 +1,93 @@
+{
+  'targets': [
+    {
+      'target_name': 'debugger',
+      'type': 'executable',
+      'include_dirs' : [
+        '../src/core',
+        '../debugger', # To pull SkDebugger.h
+        '../debugger/QT', # For all the QT UI Goodies
+      ],
+      'sources': [
+        '../debugger/SkDebugCanvas.h',
+        '../debugger/SkDebugCanvas.cpp',
+        '../debugger/SkDebugger.cpp',
+        '../debugger/SkDrawCommand.h',
+        '../debugger/SkDrawCommand.cpp',
+        '../debugger/QT/moc_SkDebuggerGUI.cpp',
+        '../debugger/QT/moc_SkCanvasWidget.cpp',
+        '../debugger/QT/moc_SkInspectorWidget.cpp',
+        '../debugger/QT/moc_SkSettingsWidget.cpp',
+        '../debugger/QT/SkDebuggerGUI.cpp',
+        '../debugger/QT/SkDebuggerGUI.h',
+        '../debugger/QT/SkCanvasWidget.cpp',
+        '../debugger/QT/SkCanvasWidget.h',
+        '../debugger/QT/SkInspectorWidget.h',
+        '../debugger/QT/SkInspectorWidget.cpp',
+        '../debugger/QT/SkListWidget.h',
+        '../debugger/QT/SkListWidget.cpp',
+        '../debugger/SkObjectParser.h',
+        '../debugger/SkObjectParser.cpp',
+        '../debugger/QT/SkSettingsWidget.h',
+        '../debugger/QT/SkSettingsWidget.cpp',
+
+        # To update this file edit SkIcons.qrc and rerun rcc to generate cpp
+        '../debugger/QT/qrc_SkIcons.cpp',
+      ],
+      'dependencies': [
+        'core.gyp:core',
+        'images.gyp:images',
+        'ports.gyp:ports',
+        'effects.gyp:effects',
+      ],
+      'conditions': [
+        [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris"]', {
+          'include_dirs': [
+            '/usr/include/qt4',
+            '/usr/include/qt4/QtCore',
+            '/usr/include/qt4/QtGui',
+          ],
+          'link_settings': {
+            'libraries' : [
+              '/usr/lib/libQtCore.so',
+              '/usr/lib/libQtGui.so',
+            ],
+          },
+        }],
+        [ 'skia_os == "mac"', {
+          'mac_bundle' : 1,
+          'include_dirs': [
+            '/Library/Frameworks/QtCore.framework/Headers/',
+            '/Library/Frameworks/QtGui.framework/Headers/',
+          ],
+          'link_settings': {
+            'libraries': [
+              '/Library/Frameworks/QtCore.framework',
+              '/Library/Frameworks/QtGui.framework',
+            ],
+          },
+        }],
+        [ 'skia_os == "win"', {
+          'include_dirs': [
+            # TODO(chudy): Dynamically generate these paths?
+            'C:/Qt/4.6.4/include',
+            'C:/Qt/4.6.4/include/QtCore',
+            'C:/Qt/4.6.4/include/QtGui',
+          ],
+          'link_settings': {
+            'libraries': [
+              'C:/Qt/4.6.4/lib/QtCore4.lib',
+              'C:/Qt/4.6.4/lib/QtGui4.lib',
+            ],
+          },
+        }],
+      ]
+    },
+  ],
+}
+
+# Local Variables:
+# tab-width:2
+# indent-tabs-mode:nil
+# End:
+# vim: set expandtab tabstop=2 shiftwidth=2:
\ No newline at end of file