2011-06-02 14:38:23 +00:00
|
|
|
# GYP file to build the "gm" (golden master) executable.
|
|
|
|
{
|
|
|
|
'includes': [
|
|
|
|
'apptype_console.gypi',
|
|
|
|
],
|
|
|
|
'targets': [
|
|
|
|
{
|
|
|
|
'target_name': 'gm',
|
|
|
|
'type': 'executable',
|
2012-05-22 12:14:50 +00:00
|
|
|
'include_dirs' : [
|
2013-04-12 15:13:35 +00:00
|
|
|
'../debugger',
|
2012-05-22 12:14:50 +00:00
|
|
|
'../src/core',
|
2013-01-04 20:29:03 +00:00
|
|
|
'../src/effects',
|
2012-06-06 21:26:31 +00:00
|
|
|
'../src/pipe/utils/',
|
2012-12-18 19:13:49 +00:00
|
|
|
'../src/utils/',
|
2012-05-22 12:14:50 +00:00
|
|
|
],
|
2011-10-31 14:18:20 +00:00
|
|
|
'includes': [
|
|
|
|
'gmslides.gypi',
|
|
|
|
],
|
2011-06-02 14:38:23 +00:00
|
|
|
'sources': [
|
2013-04-12 15:13:35 +00:00
|
|
|
'../debugger/SkDrawCommand.h',
|
|
|
|
'../debugger/SkDrawCommand.cpp',
|
|
|
|
'../debugger/SkDebugCanvas.h',
|
|
|
|
'../debugger/SkDebugCanvas.cpp',
|
|
|
|
'../debugger/SkObjectParser.h',
|
|
|
|
'../debugger/SkObjectParser.cpp',
|
|
|
|
|
2011-10-31 14:18:20 +00:00
|
|
|
'../gm/gm.cpp',
|
2013-04-26 15:06:44 +00:00
|
|
|
'../gm/gm_expectations.cpp',
|
2011-08-29 17:41:02 +00:00
|
|
|
'../gm/gmmain.cpp',
|
2012-02-14 14:53:59 +00:00
|
|
|
'../gm/system_preferences_default.cpp',
|
2013-04-12 15:13:35 +00:00
|
|
|
|
2012-06-06 21:07:10 +00:00
|
|
|
'../src/pipe/utils/SamplePipeControllers.h',
|
|
|
|
'../src/pipe/utils/SamplePipeControllers.cpp',
|
2011-06-02 14:38:23 +00:00
|
|
|
],
|
|
|
|
'dependencies': [
|
2012-10-10 19:45:51 +00:00
|
|
|
'skia_base_libs.gyp:skia_base_libs',
|
2011-06-02 14:38:23 +00:00
|
|
|
'effects.gyp:effects',
|
2013-03-20 14:20:18 +00:00
|
|
|
'flags.gyp:flags',
|
2011-06-02 14:38:23 +00:00
|
|
|
'images.gyp:images',
|
2012-12-18 19:13:49 +00:00
|
|
|
'jsoncpp.gyp:jsoncpp',
|
2011-06-24 19:09:09 +00:00
|
|
|
'pdf.gyp:pdf',
|
2012-12-18 19:13:49 +00:00
|
|
|
'utils.gyp:utils',
|
2011-06-02 14:38:23 +00:00
|
|
|
],
|
2011-10-10 13:47:06 +00:00
|
|
|
'conditions': [
|
2012-02-14 14:53:59 +00:00
|
|
|
['skia_os == "mac"', {
|
|
|
|
'sources!': [
|
|
|
|
'../gm/system_preferences_default.cpp',
|
|
|
|
],
|
|
|
|
'sources': [
|
|
|
|
'../gm/system_preferences_mac.mm',
|
|
|
|
],
|
|
|
|
'link_settings': {
|
|
|
|
'libraries': [
|
|
|
|
'$(SDKROOT)/System/Library/Frameworks/Cocoa.framework',
|
|
|
|
'$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
}],
|
|
|
|
['skia_os == "win"', {
|
2011-10-10 13:47:06 +00:00
|
|
|
'dependencies': [
|
|
|
|
'xps.gyp:xps',
|
|
|
|
],
|
|
|
|
}],
|
2012-08-02 14:03:32 +00:00
|
|
|
['skia_gpu == 1', {
|
|
|
|
'include_dirs': [
|
|
|
|
'../src/gpu',
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
],
|
2011-06-02 14:38:23 +00:00
|
|
|
},
|
|
|
|
],
|
|
|
|
}
|
|
|
|
|
|
|
|
# Local Variables:
|
|
|
|
# tab-width:2
|
|
|
|
# indent-tabs-mode:nil
|
|
|
|
# End:
|
|
|
|
# vim: set expandtab tabstop=2 shiftwidth=2:
|