OLD | NEW |
1 # conditions used in both common.gypi and skia.gyp in chromium | 1 # conditions used in both common.gypi and skia.gyp in chromium |
2 # | 2 # |
3 { | 3 { |
4 'defines': [ | 4 'defines': [ |
5 'SK_ALLOW_STATIC_GLOBAL_INITIALIZERS=<(skia_static_initializers)', | 5 'SK_ALLOW_STATIC_GLOBAL_INITIALIZERS=<(skia_static_initializers)', |
6 # 'SK_SUPPORT_HINTING_SCALE_FACTOR', | 6 # 'SK_SUPPORT_HINTING_SCALE_FACTOR', |
7 ], | 7 ], |
8 'conditions' : [ | 8 'conditions' : [ |
9 [ 'skia_gpu == 1', | 9 [ 'skia_gpu == 1', |
10 { | 10 { |
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
203 [ 'skia_arch_width == 32', { | 203 [ 'skia_arch_width == 32', { |
204 'cflags': [ | 204 'cflags': [ |
205 '-m32', | 205 '-m32', |
206 ], | 206 ], |
207 'ldflags': [ | 207 'ldflags': [ |
208 '-m32', | 208 '-m32', |
209 ], | 209 ], |
210 }], | 210 }], |
211 ], | 211 ], |
212 }], | 212 }], |
| 213 [ 'skia_asan_build', { |
| 214 'cflags': [ |
| 215 '-fsanitize=address', |
| 216 '-fno-omit-frame-pointer', |
| 217 ], |
| 218 'ldflags': [ |
| 219 '-fsanitize=address', |
| 220 ], |
| 221 }], |
213 ], | 222 ], |
214 }, | 223 }, |
215 ], | 224 ], |
216 | 225 |
217 [ 'skia_os == "mac"', | 226 [ 'skia_os == "mac"', |
218 { | 227 { |
219 'variables': { | 228 'variables': { |
220 'mac_sdk%': '<!(python <(DEPTH)/tools/find_mac_sdk.py 10.6)', | 229 'mac_sdk%': '<!(python <(DEPTH)/tools/find_mac_sdk.py 10.6)', |
221 }, | 230 }, |
222 'defines': [ | 231 'defines': [ |
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
436 'xcode_settings': { | 445 'xcode_settings': { |
437 'SYMROOT': '<(DEPTH)/xcodebuild', | 446 'SYMROOT': '<(DEPTH)/xcodebuild', |
438 }, | 447 }, |
439 } | 448 } |
440 | 449 |
441 # Local Variables: | 450 # Local Variables: |
442 # tab-width:2 | 451 # tab-width:2 |
443 # indent-tabs-mode:nil | 452 # indent-tabs-mode:nil |
444 # End: | 453 # End: |
445 # vim: set expandtab tabstop=2 shiftwidth=2: | 454 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |