2012-06-29 14:21:22 +00:00
|
|
|
{
|
|
|
|
'targets': [
|
|
|
|
{
|
|
|
|
'target_name': 'debugger',
|
|
|
|
'type': 'executable',
|
|
|
|
'include_dirs' : [
|
|
|
|
'../src/core',
|
|
|
|
'../debugger', # To pull SkDebugger.h
|
|
|
|
'../debugger/QT', # For all the QT UI Goodies
|
2012-07-26 19:38:22 +00:00
|
|
|
'../src/gpu', # To pull gl/GrGLUtil.h
|
2012-06-29 14:21:22 +00:00
|
|
|
],
|
|
|
|
'sources': [
|
2012-08-07 16:12:23 +00:00
|
|
|
'../debugger/debuggermain.cpp',
|
2012-06-29 14:21:22 +00:00
|
|
|
'../debugger/SkDebugCanvas.h',
|
|
|
|
'../debugger/SkDebugCanvas.cpp',
|
|
|
|
'../debugger/SkDebugger.cpp',
|
|
|
|
'../debugger/SkDrawCommand.h',
|
|
|
|
'../debugger/SkDrawCommand.cpp',
|
|
|
|
'../debugger/QT/moc_SkCanvasWidget.cpp',
|
2012-07-26 19:38:22 +00:00
|
|
|
'../debugger/QT/moc_SkDebuggerGUI.cpp',
|
2012-06-29 14:21:22 +00:00
|
|
|
'../debugger/QT/moc_SkInspectorWidget.cpp',
|
|
|
|
'../debugger/QT/moc_SkSettingsWidget.cpp',
|
2012-08-03 17:32:05 +00:00
|
|
|
'../debugger/QT/moc_SkRasterWidget.cpp',
|
|
|
|
'../debugger/QT/moc_SkGLWidget.cpp',
|
2012-06-29 14:21:22 +00:00
|
|
|
'../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',
|
2012-07-26 19:38:22 +00:00
|
|
|
'../debugger/QT/SkGLWidget.h',
|
|
|
|
'../debugger/QT/SkGLWidget.cpp',
|
|
|
|
'../debugger/QT/SkRasterWidget.h',
|
|
|
|
'../debugger/QT/SkRasterWidget.cpp',
|
2012-06-29 14:21:22 +00:00
|
|
|
|
|
|
|
# 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',
|
2012-07-26 19:38:22 +00:00
|
|
|
'gpu.gyp:gr',
|
|
|
|
'gpu.gyp:skgr',
|
2012-06-29 14:21:22 +00:00
|
|
|
],
|
|
|
|
'conditions': [
|
|
|
|
[ 'skia_os in ["linux", "freebsd", "openbsd", "solaris"]', {
|
|
|
|
'include_dirs': [
|
|
|
|
'/usr/include/qt4',
|
|
|
|
'/usr/include/qt4/QtCore',
|
|
|
|
'/usr/include/qt4/QtGui',
|
2012-07-26 19:38:22 +00:00
|
|
|
'/usr/include/qt4/QtOpenGL',
|
2012-06-29 14:21:22 +00:00
|
|
|
],
|
|
|
|
'link_settings': {
|
|
|
|
'libraries' : [
|
2012-07-19 13:41:27 +00:00
|
|
|
'-lQtCore',
|
|
|
|
'-lQtGui',
|
2012-07-26 19:38:22 +00:00
|
|
|
'-lQtOpenGL'
|
2012-06-29 14:21:22 +00:00
|
|
|
],
|
|
|
|
},
|
|
|
|
}],
|
2012-06-29 18:26:27 +00:00
|
|
|
[ 'skia_os == "mac" and skia_arch_width != 64', {
|
|
|
|
'error': '<!(skia_arch_width must be 64 bits when building the debugger on mac'
|
|
|
|
}],
|
2012-06-29 14:21:22 +00:00
|
|
|
[ 'skia_os == "mac"', {
|
|
|
|
'mac_bundle' : 1,
|
|
|
|
'include_dirs': [
|
|
|
|
'/Library/Frameworks/QtCore.framework/Headers/',
|
|
|
|
'/Library/Frameworks/QtGui.framework/Headers/',
|
2012-07-26 19:38:22 +00:00
|
|
|
'/Library/Frameworks/QtOpenGL.framework/Headers/',
|
2012-06-29 14:21:22 +00:00
|
|
|
],
|
|
|
|
'link_settings': {
|
|
|
|
'libraries': [
|
|
|
|
'/Library/Frameworks/QtCore.framework',
|
|
|
|
'/Library/Frameworks/QtGui.framework',
|
2012-07-26 19:38:22 +00:00
|
|
|
'/Library/Frameworks/QtOpenGL.framework',
|
2012-06-29 14:21:22 +00:00
|
|
|
],
|
|
|
|
},
|
|
|
|
}],
|
|
|
|
[ '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',
|
2012-07-26 19:38:22 +00:00
|
|
|
'C:/Qt/4.6.4/include/QtOpenGL',
|
2012-06-29 14:21:22 +00:00
|
|
|
],
|
|
|
|
'link_settings': {
|
|
|
|
'libraries': [
|
|
|
|
'C:/Qt/4.6.4/lib/QtCore4.lib',
|
|
|
|
'C:/Qt/4.6.4/lib/QtGui4.lib',
|
2012-07-26 19:38:22 +00:00
|
|
|
'C:/Qt/4.6.4/lib/QtOpenGL.lib',
|
2012-06-29 14:21:22 +00:00
|
|
|
],
|
|
|
|
},
|
|
|
|
}],
|
|
|
|
]
|
|
|
|
},
|
|
|
|
],
|
|
|
|
}
|
|
|
|
|
|
|
|
# Local Variables:
|
|
|
|
# tab-width:2
|
|
|
|
# indent-tabs-mode:nil
|
|
|
|
# End:
|
2012-07-19 13:41:27 +00:00
|
|
|
# vim: set expandtab tabstop=2 shiftwidth=2:
|