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