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 | { |
| 8 | 'target_name': 'gm', |
| 9 | 'type': 'executable', |
robertphillips@google.com | 67febd9 | 2012-05-22 12:14:50 +0000 | [diff] [blame] | 10 | 'include_dirs' : [ |
| 11 | '../src/core', |
scroggo | 93b4375 | 2012-06-06 21:26:31 +0000 | [diff] [blame] | 12 | '../src/pipe/utils/', |
bsalomon@google.com | 1c31f63 | 2012-07-26 19:39:06 +0000 | [diff] [blame] | 13 | '../src/gpu', |
robertphillips@google.com | 67febd9 | 2012-05-22 12:14:50 +0000 | [diff] [blame] | 14 | ], |
bsalomon@google.com | 48dd1a2 | 2011-10-31 14:18:20 +0000 | [diff] [blame] | 15 | 'includes': [ |
| 16 | 'gmslides.gypi', |
| 17 | ], |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 18 | 'sources': [ |
bsalomon@google.com | 48dd1a2 | 2011-10-31 14:18:20 +0000 | [diff] [blame] | 19 | '../gm/gm.cpp', |
reed@google.com | 30db599 | 2011-08-29 17:41:02 +0000 | [diff] [blame] | 20 | '../gm/gmmain.cpp', |
epoger@google.com | 7bc13a6 | 2012-02-14 14:53:59 +0000 | [diff] [blame] | 21 | '../gm/system_preferences_default.cpp', |
scroggo@google.com | 72c9672 | 2012-06-06 21:07:10 +0000 | [diff] [blame] | 22 | '../src/pipe/utils/SamplePipeControllers.h', |
| 23 | '../src/pipe/utils/SamplePipeControllers.cpp', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 24 | ], |
| 25 | 'dependencies': [ |
| 26 | 'core.gyp:core', |
| 27 | 'effects.gyp:effects', |
| 28 | 'gpu.gyp:gr', |
| 29 | 'gpu.gyp:skgr', |
| 30 | 'images.gyp:images', |
epoger@google.com | dcab3a1 | 2011-06-24 19:09:09 +0000 | [diff] [blame] | 31 | 'pdf.gyp:pdf', |
scroggo@google.com | 5af9b20 | 2012-06-04 17:17:36 +0000 | [diff] [blame] | 32 | 'ports.gyp:ports', |
bungeman@google.com | 0f1541f | 2011-10-10 13:47:06 +0000 | [diff] [blame] | 33 | 'utils.gyp:utils', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 34 | ], |
bungeman@google.com | 0f1541f | 2011-10-10 13:47:06 +0000 | [diff] [blame] | 35 | 'conditions': [ |
epoger@google.com | 7bc13a6 | 2012-02-14 14:53:59 +0000 | [diff] [blame] | 36 | ['skia_os == "mac"', { |
| 37 | 'sources!': [ |
| 38 | '../gm/system_preferences_default.cpp', |
| 39 | ], |
| 40 | 'sources': [ |
| 41 | '../gm/system_preferences_mac.mm', |
| 42 | ], |
| 43 | 'link_settings': { |
| 44 | 'libraries': [ |
| 45 | '$(SDKROOT)/System/Library/Frameworks/Cocoa.framework', |
| 46 | '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', |
| 47 | ], |
| 48 | }, |
| 49 | }], |
| 50 | ['skia_os == "win"', { |
bungeman@google.com | 0f1541f | 2011-10-10 13:47:06 +0000 | [diff] [blame] | 51 | 'dependencies': [ |
| 52 | 'xps.gyp:xps', |
| 53 | ], |
| 54 | }], |
| 55 | ], |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 56 | }, |
| 57 | ], |
| 58 | } |
| 59 | |
| 60 | # Local Variables: |
| 61 | # tab-width:2 |
| 62 | # indent-tabs-mode:nil |
| 63 | # End: |
| 64 | # vim: set expandtab tabstop=2 shiftwidth=2: |