epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 1 | { |
| 2 | 'target_defaults': { |
| 3 | 'configurations': { |
| 4 | 'Debug': { |
| 5 | 'defines': [ |
| 6 | 'SK_DEBUG', |
| 7 | 'GR_DEBUG=1', |
| 8 | ], |
bungeman@google.com | 7a9ad1b | 2011-06-01 16:14:01 +0000 | [diff] [blame] | 9 | 'msvs_settings': { |
| 10 | 'VCLinkerTool': { |
| 11 | 'GenerateDebugInformation': 'true', |
bungeman@google.com | 55bfd45 | 2011-06-03 15:48:17 +0000 | [diff] [blame^] | 12 | }, |
| 13 | 'VCCLCompilerTool': { |
| 14 | #0 Disabled (/Od) |
| 15 | #1 Minimize Size (/O1) |
| 16 | #2 Maximize Speed (/O2) |
| 17 | #3 Full Optimization (/Ox) |
| 18 | 'Optimization': '0', |
| 19 | }, |
bungeman@google.com | 7a9ad1b | 2011-06-01 16:14:01 +0000 | [diff] [blame] | 20 | }, |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 21 | }, |
| 22 | 'Release': { |
| 23 | 'defines': [ |
| 24 | 'SK_RELEASE', |
| 25 | 'GR_RELEASE=1', |
| 26 | ], |
| 27 | }, |
| 28 | }, |
| 29 | 'conditions': [ |
| 30 | [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd" or OS == "solaris"', { |
| 31 | 'include_dirs' : [ |
| 32 | '/usr/include/freetype2', |
| 33 | ], |
| 34 | }], |
| 35 | [ 'OS == "mac"', { |
| 36 | 'defines': [ |
| 37 | 'SK_BUILD_FOR_MAC', |
| 38 | ], |
| 39 | }], |
| 40 | [ 'OS == "win"', { |
| 41 | 'defines': [ |
| 42 | 'SK_BUILD_FOR_WIN32', |
| 43 | 'SK_IGNORE_STDINT_DOT_H', |
| 44 | ], |
| 45 | }], |
| 46 | [ 'OS == "linux"', { |
| 47 | 'defines': [ |
| 48 | 'SK_SAMPLES_FOR_X', |
| 49 | 'SK_BUILD_FOR_UNIX', |
| 50 | ], |
| 51 | }], |
| 52 | ], |
| 53 | 'direct_dependent_settings': { |
| 54 | 'conditions': [ |
| 55 | [ 'OS == "mac"', { |
| 56 | 'defines': [ |
| 57 | 'SK_BUILD_FOR_MAC', |
| 58 | ], |
| 59 | }], |
| 60 | [ 'OS == "win"', { |
| 61 | 'defines': [ |
| 62 | 'SK_BUILD_FOR_WIN32', |
| 63 | ], |
| 64 | }], |
| 65 | ], |
| 66 | }, |
| 67 | }, |
| 68 | } |
| 69 | |
| 70 | # Local Variables: |
| 71 | # tab-width:2 |
| 72 | # indent-tabs-mode:nil |
| 73 | # End: |
| 74 | # vim: set expandtab tabstop=2 shiftwidth=2: |