{ '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', '../debugger/SkHitBox.h', '../debugger/SkHitBox.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' : [ '-lQtCore', '-lQtGui', ], }, }], [ 'skia_os == "mac" and skia_arch_width != 64', { 'error': '