2011-06-02 14:38:23 +00:00
|
|
|
# GYP file to build the "gm" (golden master) executable.
|
|
|
|
{
|
|
|
|
'includes': [
|
|
|
|
'apptype_console.gypi',
|
|
|
|
],
|
|
|
|
'targets': [
|
2013-05-08 19:14:23 +00:00
|
|
|
{
|
|
|
|
'target_name': 'gm_expectations',
|
|
|
|
'type': 'static_library',
|
|
|
|
'include_dirs' : [
|
|
|
|
'../src/utils/',
|
|
|
|
],
|
|
|
|
'sources': [
|
|
|
|
'../gm/gm_expectations.h',
|
|
|
|
'../gm/gm_expectations.cpp',
|
|
|
|
],
|
|
|
|
'dependencies': [
|
2013-06-03 12:10:19 +00:00
|
|
|
'skia_lib.gyp:skia_lib',
|
2013-05-08 19:14:23 +00:00
|
|
|
'jsoncpp.gyp:jsoncpp',
|
|
|
|
],
|
|
|
|
'direct_dependent_settings': {
|
|
|
|
'include_dirs': [
|
|
|
|
'../gm/',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
},
|
2011-06-02 14:38:23 +00:00
|
|
|
{
|
|
|
|
'target_name': 'gm',
|
|
|
|
'type': 'executable',
|
2012-05-22 12:14:50 +00:00
|
|
|
'include_dirs' : [
|
|
|
|
'../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/',
|
2013-06-13 21:25:45 +00:00
|
|
|
'../src/utils/debugger',
|
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': [
|
2011-10-31 14:18:20 +00:00
|
|
|
'../gm/gm.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',
|
2013-06-13 20:59:14 +00:00
|
|
|
|
|
|
|
'../src/utils/debugger/SkDrawCommand.h',
|
|
|
|
'../src/utils/debugger/SkDrawCommand.cpp',
|
|
|
|
'../src/utils/debugger/SkDebugCanvas.h',
|
|
|
|
'../src/utils/debugger/SkDebugCanvas.cpp',
|
|
|
|
'../src/utils/debugger/SkObjectParser.h',
|
|
|
|
'../src/utils/debugger/SkObjectParser.cpp',
|
2011-06-02 14:38:23 +00:00
|
|
|
],
|
|
|
|
'dependencies': [
|
2013-06-03 12:10:19 +00:00
|
|
|
'skia_lib.gyp:skia_lib',
|
2013-03-20 14:20:18 +00:00
|
|
|
'flags.gyp:flags',
|
2013-05-08 19:14:23 +00:00
|
|
|
'gm.gyp:gm_expectations',
|
2012-12-18 19:13:49 +00:00
|
|
|
'jsoncpp.gyp:jsoncpp',
|
2011-06-24 19:09:09 +00:00
|
|
|
'pdf.gyp:pdf',
|
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:
|