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', |
humper@google.com | 7c7292c | 2013-01-04 20:29:03 +0000 | [diff] [blame] | 12 | '../src/effects', |
scroggo | 93b4375 | 2012-06-06 21:26:31 +0000 | [diff] [blame] | 13 | '../src/pipe/utils/', |
epoger@google.com | ee8a8e3 | 2012-12-18 19:13:49 +0000 | [diff] [blame] | 14 | '../src/utils/', |
robertphillips@google.com | 67febd9 | 2012-05-22 12:14:50 +0000 | [diff] [blame] | 15 | ], |
bsalomon@google.com | 48dd1a2 | 2011-10-31 14:18:20 +0000 | [diff] [blame] | 16 | 'includes': [ |
| 17 | 'gmslides.gypi', |
| 18 | ], |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 19 | 'sources': [ |
bsalomon@google.com | 48dd1a2 | 2011-10-31 14:18:20 +0000 | [diff] [blame] | 20 | '../gm/gm.cpp', |
reed@google.com | 30db599 | 2011-08-29 17:41:02 +0000 | [diff] [blame] | 21 | '../gm/gmmain.cpp', |
epoger@google.com | 7bc13a6 | 2012-02-14 14:53:59 +0000 | [diff] [blame] | 22 | '../gm/system_preferences_default.cpp', |
scroggo@google.com | 72c9672 | 2012-06-06 21:07:10 +0000 | [diff] [blame] | 23 | '../src/pipe/utils/SamplePipeControllers.h', |
| 24 | '../src/pipe/utils/SamplePipeControllers.cpp', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 25 | ], |
| 26 | 'dependencies': [ |
borenet@google.com | efb1d77 | 2012-10-10 19:45:51 +0000 | [diff] [blame] | 27 | 'skia_base_libs.gyp:skia_base_libs', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 28 | 'effects.gyp:effects', |
scroggo@google.com | 09fd4d2 | 2013-03-20 14:20:18 +0000 | [diff] [blame] | 29 | 'flags.gyp:flags', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 30 | 'images.gyp:images', |
epoger@google.com | ee8a8e3 | 2012-12-18 19:13:49 +0000 | [diff] [blame] | 31 | 'jsoncpp.gyp:jsoncpp', |
epoger@google.com | dcab3a1 | 2011-06-24 19:09:09 +0000 | [diff] [blame] | 32 | 'pdf.gyp:pdf', |
epoger@google.com | ee8a8e3 | 2012-12-18 19:13:49 +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 | }], |
bsalomon@google.com | cf8fb1f | 2012-08-02 14:03:32 +0000 | [diff] [blame] | 55 | ['skia_gpu == 1', { |
| 56 | 'include_dirs': [ |
| 57 | '../src/gpu', |
| 58 | ], |
bsalomon@google.com | cf8fb1f | 2012-08-02 14:03:32 +0000 | [diff] [blame] | 59 | }], |
| 60 | ], |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 61 | }, |
| 62 | ], |
| 63 | } |
| 64 | |
| 65 | # Local Variables: |
| 66 | # tab-width:2 |
| 67 | # indent-tabs-mode:nil |
| 68 | # End: |
| 69 | # vim: set expandtab tabstop=2 shiftwidth=2: |