OLD | NEW |
1 # Copyright 2015 Google Inc. | 1 # Copyright 2015 Google Inc. |
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 # conditions used in both common.gypi and skia.gyp in chromium | 6 # conditions used in both common.gypi and skia.gyp in chromium |
7 # | 7 # |
8 { | 8 { |
9 'defines': [ | 9 'defines': [ |
10 'SK_ALLOW_STATIC_GLOBAL_INITIALIZERS=<(skia_static_initializers)', | 10 'SK_ALLOW_STATIC_GLOBAL_INITIALIZERS=<(skia_static_initializers)', |
(...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
429 [ 'skia_shared_lib', { | 429 [ 'skia_shared_lib', { |
430 'defines': [ | 430 'defines': [ |
431 'SKIA_DLL', | 431 'SKIA_DLL', |
432 'SKIA_IMPLEMENTATION=1', | 432 'SKIA_IMPLEMENTATION=1', |
433 ], | 433 ], |
434 }], | 434 }], |
435 # Enable asan, tsan, etc. | 435 # Enable asan, tsan, etc. |
436 [ 'skia_sanitizer', { | 436 [ 'skia_sanitizer', { |
437 'cflags': [ | 437 'cflags': [ |
438 '-fsanitize=<(skia_sanitizer)', | 438 '-fsanitize=<(skia_sanitizer)', |
| 439 '-fno-sanitize-recover=<(skia_sanitizer)', |
439 ], | 440 ], |
440 'ldflags': [ | 441 'ldflags': [ |
441 '-fsanitize=<(skia_sanitizer)', | 442 '-fsanitize=<(skia_sanitizer)', |
442 ], | 443 ], |
443 'conditions' : [ | 444 'conditions' : [ |
444 [ 'skia_sanitizer == "thread"', { | 445 [ 'skia_sanitizer == "thread"', { |
445 'defines': [ 'THREAD_SANITIZER' ], | 446 'defines': [ 'THREAD_SANITIZER' ], |
446 }], | 447 }], |
447 [ 'skia_sanitizer == "undefined"', { | 448 [ 'skia_sanitizer == "undefined"', { |
448 'cflags_cc!': ['-fno-rtti'], | 449 'cflags_cc!': ['-fno-rtti'], |
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
646 'LD_RUNPATH_SEARCH_PATHS': ['@executable_path/.'], | 647 'LD_RUNPATH_SEARCH_PATHS': ['@executable_path/.'], |
647 }, | 648 }, |
648 }], | 649 }], |
649 | 650 |
650 ], # end 'conditions' | 651 ], # end 'conditions' |
651 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for
more details | 652 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for
more details |
652 'xcode_settings': { | 653 'xcode_settings': { |
653 'SYMROOT': '<(DEPTH)/xcodebuild', | 654 'SYMROOT': '<(DEPTH)/xcodebuild', |
654 }, | 655 }, |
655 } | 656 } |
OLD | NEW |