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/', |
robertphillips@google.com | 67febd9 | 2012-05-22 12:14:50 +0000 | [diff] [blame] | 13 | ], |
bsalomon@google.com | 48dd1a2 | 2011-10-31 14:18:20 +0000 | [diff] [blame] | 14 | 'includes': [ |
| 15 | 'gmslides.gypi', |
| 16 | ], |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 17 | 'sources': [ |
bsalomon@google.com | 48dd1a2 | 2011-10-31 14:18:20 +0000 | [diff] [blame] | 18 | '../gm/gm.cpp', |
reed@google.com | 30db599 | 2011-08-29 17:41:02 +0000 | [diff] [blame] | 19 | '../gm/gmmain.cpp', |
epoger@google.com | 7bc13a6 | 2012-02-14 14:53:59 +0000 | [diff] [blame] | 20 | '../gm/system_preferences_default.cpp', |
scroggo@google.com | 72c9672 | 2012-06-06 21:07:10 +0000 | [diff] [blame] | 21 | '../src/pipe/utils/SamplePipeControllers.h', |
| 22 | '../src/pipe/utils/SamplePipeControllers.cpp', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 23 | ], |
| 24 | 'dependencies': [ |
borenet@google.com | efb1d77 | 2012-10-10 19:45:51 +0000 | [diff] [blame] | 25 | 'skia_base_libs.gyp:skia_base_libs', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 26 | 'effects.gyp:effects', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 27 | 'images.gyp:images', |
epoger@google.com | dcab3a1 | 2011-06-24 19:09:09 +0000 | [diff] [blame] | 28 | 'pdf.gyp:pdf', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 29 | ], |
bungeman@google.com | 0f1541f | 2011-10-10 13:47:06 +0000 | [diff] [blame] | 30 | 'conditions': [ |
epoger@google.com | 7bc13a6 | 2012-02-14 14:53:59 +0000 | [diff] [blame] | 31 | ['skia_os == "mac"', { |
| 32 | 'sources!': [ |
| 33 | '../gm/system_preferences_default.cpp', |
| 34 | ], |
| 35 | 'sources': [ |
| 36 | '../gm/system_preferences_mac.mm', |
| 37 | ], |
| 38 | 'link_settings': { |
| 39 | 'libraries': [ |
| 40 | '$(SDKROOT)/System/Library/Frameworks/Cocoa.framework', |
| 41 | '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', |
| 42 | ], |
| 43 | }, |
| 44 | }], |
| 45 | ['skia_os == "win"', { |
bungeman@google.com | 0f1541f | 2011-10-10 13:47:06 +0000 | [diff] [blame] | 46 | 'dependencies': [ |
| 47 | 'xps.gyp:xps', |
| 48 | ], |
| 49 | }], |
bsalomon@google.com | cf8fb1f | 2012-08-02 14:03:32 +0000 | [diff] [blame] | 50 | ['skia_gpu == 1', { |
| 51 | 'include_dirs': [ |
| 52 | '../src/gpu', |
| 53 | ], |
bsalomon@google.com | cf8fb1f | 2012-08-02 14:03:32 +0000 | [diff] [blame] | 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: |