epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 1 | # GYP file to build the "gm" (golden master) executable. |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 2 | { |
| 3 | 'includes': [ |
| 4 | 'apptype_console.gypi', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 5 | ], |
| 6 | 'targets': [ |
| 7 | { |
scroggo@google.com | 6843bdb | 2013-05-08 19:14:23 +0000 | [diff] [blame] | 8 | 'target_name': 'gm_expectations', |
| 9 | 'type': 'static_library', |
| 10 | 'include_dirs' : [ |
| 11 | '../include/core/', |
| 12 | '../src/utils/', |
| 13 | ], |
| 14 | 'sources': [ |
| 15 | '../gm/gm_expectations.h', |
| 16 | '../gm/gm_expectations.cpp', |
| 17 | ], |
| 18 | 'dependencies': [ |
djsollen@google.com | 52f0297 | 2013-06-03 12:10:19 +0000 | [diff] [blame] | 19 | 'skia_lib.gyp:skia_lib', |
scroggo@google.com | 6843bdb | 2013-05-08 19:14:23 +0000 | [diff] [blame] | 20 | 'jsoncpp.gyp:jsoncpp', |
scroggo@google.com | 6843bdb | 2013-05-08 19:14:23 +0000 | [diff] [blame] | 21 | ], |
| 22 | 'direct_dependent_settings': { |
| 23 | 'include_dirs': [ |
| 24 | '../gm/', |
| 25 | ], |
| 26 | }, |
| 27 | }, |
| 28 | { |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 29 | 'target_name': 'gm', |
| 30 | 'type': 'executable', |
robertphillips@google.com | 67febd9 | 2012-05-22 12:14:50 +0000 | [diff] [blame] | 31 | 'include_dirs' : [ |
| 32 | '../src/core', |
humper@google.com | 7c7292c | 2013-01-04 20:29:03 +0000 | [diff] [blame] | 33 | '../src/effects', |
scroggo | 93b4375 | 2012-06-06 21:26:31 +0000 | [diff] [blame] | 34 | '../src/pipe/utils/', |
epoger@google.com | ee8a8e3 | 2012-12-18 19:13:49 +0000 | [diff] [blame] | 35 | '../src/utils/', |
fmalita@google.com | 4df1673 | 2013-06-13 21:25:45 +0000 | [diff] [blame] | 36 | '../src/utils/debugger', |
robertphillips@google.com | 67febd9 | 2012-05-22 12:14:50 +0000 | [diff] [blame] | 37 | ], |
bsalomon@google.com | 48dd1a2 | 2011-10-31 14:18:20 +0000 | [diff] [blame] | 38 | 'includes': [ |
| 39 | 'gmslides.gypi', |
| 40 | ], |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 41 | 'sources': [ |
bsalomon@google.com | 48dd1a2 | 2011-10-31 14:18:20 +0000 | [diff] [blame] | 42 | '../gm/gm.cpp', |
reed@google.com | 30db599 | 2011-08-29 17:41:02 +0000 | [diff] [blame] | 43 | '../gm/gmmain.cpp', |
epoger@google.com | 7bc13a6 | 2012-02-14 14:53:59 +0000 | [diff] [blame] | 44 | '../gm/system_preferences_default.cpp', |
robertphillips@google.com | ad7d481 | 2013-04-12 15:13:35 +0000 | [diff] [blame] | 45 | |
scroggo@google.com | 72c9672 | 2012-06-06 21:07:10 +0000 | [diff] [blame] | 46 | '../src/pipe/utils/SamplePipeControllers.h', |
| 47 | '../src/pipe/utils/SamplePipeControllers.cpp', |
fmalita@google.com | 86681b3 | 2013-06-13 20:59:14 +0000 | [diff] [blame] | 48 | |
| 49 | '../src/utils/debugger/SkDrawCommand.h', |
| 50 | '../src/utils/debugger/SkDrawCommand.cpp', |
| 51 | '../src/utils/debugger/SkDebugCanvas.h', |
| 52 | '../src/utils/debugger/SkDebugCanvas.cpp', |
| 53 | '../src/utils/debugger/SkObjectParser.h', |
| 54 | '../src/utils/debugger/SkObjectParser.cpp', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 55 | ], |
| 56 | 'dependencies': [ |
djsollen@google.com | 52f0297 | 2013-06-03 12:10:19 +0000 | [diff] [blame] | 57 | 'skia_lib.gyp:skia_lib', |
scroggo@google.com | 09fd4d2 | 2013-03-20 14:20:18 +0000 | [diff] [blame] | 58 | 'flags.gyp:flags', |
scroggo@google.com | 6843bdb | 2013-05-08 19:14:23 +0000 | [diff] [blame] | 59 | 'gm.gyp:gm_expectations', |
epoger@google.com | ee8a8e3 | 2012-12-18 19:13:49 +0000 | [diff] [blame] | 60 | 'jsoncpp.gyp:jsoncpp', |
epoger@google.com | dcab3a1 | 2011-06-24 19:09:09 +0000 | [diff] [blame] | 61 | 'pdf.gyp:pdf', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 62 | ], |
bungeman@google.com | 0f1541f | 2011-10-10 13:47:06 +0000 | [diff] [blame] | 63 | 'conditions': [ |
epoger@google.com | 7bc13a6 | 2012-02-14 14:53:59 +0000 | [diff] [blame] | 64 | ['skia_os == "mac"', { |
| 65 | 'sources!': [ |
| 66 | '../gm/system_preferences_default.cpp', |
| 67 | ], |
| 68 | 'sources': [ |
| 69 | '../gm/system_preferences_mac.mm', |
| 70 | ], |
| 71 | 'link_settings': { |
| 72 | 'libraries': [ |
| 73 | '$(SDKROOT)/System/Library/Frameworks/Cocoa.framework', |
| 74 | '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', |
| 75 | ], |
| 76 | }, |
| 77 | }], |
| 78 | ['skia_os == "win"', { |
bungeman@google.com | 0f1541f | 2011-10-10 13:47:06 +0000 | [diff] [blame] | 79 | 'dependencies': [ |
| 80 | 'xps.gyp:xps', |
| 81 | ], |
| 82 | }], |
bsalomon@google.com | cf8fb1f | 2012-08-02 14:03:32 +0000 | [diff] [blame] | 83 | ['skia_gpu == 1', { |
| 84 | 'include_dirs': [ |
| 85 | '../src/gpu', |
| 86 | ], |
bsalomon@google.com | cf8fb1f | 2012-08-02 14:03:32 +0000 | [diff] [blame] | 87 | }], |
| 88 | ], |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 89 | }, |
| 90 | ], |
| 91 | } |
| 92 | |
| 93 | # Local Variables: |
| 94 | # tab-width:2 |
| 95 | # indent-tabs-mode:nil |
| 96 | # End: |
| 97 | # vim: set expandtab tabstop=2 shiftwidth=2: |