OLD | NEW |
1 # Copyright 2011 The Android Open Source Project | 1 # Copyright 2011 The Android Open Source Project |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
5 # | 5 # |
6 # This file is automatically included by gyp_skia when building any target. | 6 # This file is automatically included by gyp_skia when building any target. |
7 | 7 |
8 { | 8 { |
9 'includes': [ | 9 'includes': [ |
10 'common_variables.gypi', | 10 'common_variables.gypi', |
11 ], | 11 ], |
12 | 12 |
13 'target_defaults': { | 13 'target_defaults': { |
14 'defines': [ | 14 'defines': [ |
15 'SK_INTERNAL', | 15 'SK_INTERNAL', |
16 'SK_GAMMA_SRGB', | |
17 'SK_GAMMA_APPLY_TO_A8', | 16 'SK_GAMMA_APPLY_TO_A8', |
18 'QT_NO_KEYWORDS', | 17 'QT_NO_KEYWORDS', |
19 # The discardable resource cache is tested via a special bot. This is | 18 # The discardable resource cache is tested via a special bot. This is |
20 # disabled here so we test the non-discardable use case. | 19 # disabled here so we test the non-discardable use case. |
21 # 'SK_USE_DISCARDABLE_SCALEDIMAGECACHE', | 20 # 'SK_USE_DISCARDABLE_SCALEDIMAGECACHE', |
22 ], | 21 ], |
23 | 22 |
24 # Validate the 'skia_os' setting against 'OS', because only certain | 23 # Validate the 'skia_os' setting against 'OS', because only certain |
25 # combinations work. You should only override 'skia_os' for certain | 24 # combinations work. You should only override 'skia_os' for certain |
26 # situations, like building for iOS on a Mac. | 25 # situations, like building for iOS on a Mac. |
27 'variables': { | 26 'variables': { |
28 'conditions': [ | 27 'conditions': [ |
29 [ 'skia_os != OS and not (skia_os == "ios" and OS == "mac")', { | 28 [ 'skia_os != OS and not (skia_os == "ios" and OS == "mac")', { |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 [ 'skia_experimental_shadowing', | 121 [ 'skia_experimental_shadowing', |
123 { | 122 { |
124 'defines': [ | 123 'defines': [ |
125 'SK_EXPERIMENTAL_SHADOWING', | 124 'SK_EXPERIMENTAL_SHADOWING', |
126 ], | 125 ], |
127 }, | 126 }, |
128 ], | 127 ], |
129 ], | 128 ], |
130 }, # end 'target_defaults' | 129 }, # end 'target_defaults' |
131 } | 130 } |
OLD | NEW |