chudy@google.com | 902ebe5 | 2012-06-29 14:21:22 +0000 | [diff] [blame^] | 1 | { |
| 2 | 'targets': [ |
| 3 | { |
| 4 | 'target_name': 'debugger', |
| 5 | 'type': 'executable', |
| 6 | 'include_dirs' : [ |
| 7 | '../src/core', |
| 8 | '../debugger', # To pull SkDebugger.h |
| 9 | '../debugger/QT', # For all the QT UI Goodies |
| 10 | ], |
| 11 | 'sources': [ |
| 12 | '../debugger/SkDebugCanvas.h', |
| 13 | '../debugger/SkDebugCanvas.cpp', |
| 14 | '../debugger/SkDebugger.cpp', |
| 15 | '../debugger/SkDrawCommand.h', |
| 16 | '../debugger/SkDrawCommand.cpp', |
| 17 | '../debugger/QT/moc_SkDebuggerGUI.cpp', |
| 18 | '../debugger/QT/moc_SkCanvasWidget.cpp', |
| 19 | '../debugger/QT/moc_SkInspectorWidget.cpp', |
| 20 | '../debugger/QT/moc_SkSettingsWidget.cpp', |
| 21 | '../debugger/QT/SkDebuggerGUI.cpp', |
| 22 | '../debugger/QT/SkDebuggerGUI.h', |
| 23 | '../debugger/QT/SkCanvasWidget.cpp', |
| 24 | '../debugger/QT/SkCanvasWidget.h', |
| 25 | '../debugger/QT/SkInspectorWidget.h', |
| 26 | '../debugger/QT/SkInspectorWidget.cpp', |
| 27 | '../debugger/QT/SkListWidget.h', |
| 28 | '../debugger/QT/SkListWidget.cpp', |
| 29 | '../debugger/SkObjectParser.h', |
| 30 | '../debugger/SkObjectParser.cpp', |
| 31 | '../debugger/QT/SkSettingsWidget.h', |
| 32 | '../debugger/QT/SkSettingsWidget.cpp', |
| 33 | |
| 34 | # To update this file edit SkIcons.qrc and rerun rcc to generate cpp |
| 35 | '../debugger/QT/qrc_SkIcons.cpp', |
| 36 | ], |
| 37 | 'dependencies': [ |
| 38 | 'core.gyp:core', |
| 39 | 'images.gyp:images', |
| 40 | 'ports.gyp:ports', |
| 41 | 'effects.gyp:effects', |
| 42 | ], |
| 43 | 'conditions': [ |
| 44 | [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris"]', { |
| 45 | 'include_dirs': [ |
| 46 | '/usr/include/qt4', |
| 47 | '/usr/include/qt4/QtCore', |
| 48 | '/usr/include/qt4/QtGui', |
| 49 | ], |
| 50 | 'link_settings': { |
| 51 | 'libraries' : [ |
| 52 | '/usr/lib/libQtCore.so', |
| 53 | '/usr/lib/libQtGui.so', |
| 54 | ], |
| 55 | }, |
| 56 | }], |
| 57 | [ 'skia_os == "mac"', { |
| 58 | 'mac_bundle' : 1, |
| 59 | 'include_dirs': [ |
| 60 | '/Library/Frameworks/QtCore.framework/Headers/', |
| 61 | '/Library/Frameworks/QtGui.framework/Headers/', |
| 62 | ], |
| 63 | 'link_settings': { |
| 64 | 'libraries': [ |
| 65 | '/Library/Frameworks/QtCore.framework', |
| 66 | '/Library/Frameworks/QtGui.framework', |
| 67 | ], |
| 68 | }, |
| 69 | }], |
| 70 | [ 'skia_os == "win"', { |
| 71 | 'include_dirs': [ |
| 72 | # TODO(chudy): Dynamically generate these paths? |
| 73 | 'C:/Qt/4.6.4/include', |
| 74 | 'C:/Qt/4.6.4/include/QtCore', |
| 75 | 'C:/Qt/4.6.4/include/QtGui', |
| 76 | ], |
| 77 | 'link_settings': { |
| 78 | 'libraries': [ |
| 79 | 'C:/Qt/4.6.4/lib/QtCore4.lib', |
| 80 | 'C:/Qt/4.6.4/lib/QtGui4.lib', |
| 81 | ], |
| 82 | }, |
| 83 | }], |
| 84 | ] |
| 85 | }, |
| 86 | ], |
| 87 | } |
| 88 | |
| 89 | # Local Variables: |
| 90 | # tab-width:2 |
| 91 | # indent-tabs-mode:nil |
| 92 | # End: |
| 93 | # vim: set expandtab tabstop=2 shiftwidth=2: |