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 446 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
457 [ 'skia_keep_frame_pointer', { | 457 [ 'skia_keep_frame_pointer', { |
458 'cflags': [ '-fno-omit-frame-pointer' ], | 458 'cflags': [ '-fno-omit-frame-pointer' ], |
459 }], | 459 }], |
460 ], | 460 ], |
461 }, | 461 }, |
462 ], | 462 ], |
463 | 463 |
464 [ 'skia_os == "mac"', | 464 [ 'skia_os == "mac"', |
465 { | 465 { |
466 'defines': [ 'SK_BUILD_FOR_MAC' ], | 466 'defines': [ 'SK_BUILD_FOR_MAC' ], |
| 467 'conditions': [ |
| 468 # ANGLE for mac hits -Wunneeded-internal-declaration if this isn't s
et. |
| 469 [ 'skia_angle', { 'defines': [ 'YY_NO_INPUT' ], } ], |
| 470 ], |
467 'configurations': { | 471 'configurations': { |
468 'Coverage': { | 472 'Coverage': { |
469 'xcode_settings': { | 473 'xcode_settings': { |
470 'GCC_OPTIMIZATION_LEVEL': '0', | 474 'GCC_OPTIMIZATION_LEVEL': '0', |
471 'GCC_GENERATE_TEST_COVERAGE_FILES': 'YES', | 475 'GCC_GENERATE_TEST_COVERAGE_FILES': 'YES', |
472 'GCC_INSTRUMENT_PROGRAM_FLOW_ARCS' : 'YES', | 476 'GCC_INSTRUMENT_PROGRAM_FLOW_ARCS' : 'YES', |
473 }, | 477 }, |
474 }, | 478 }, |
475 'Debug': { | 479 'Debug': { |
476 'xcode_settings': { 'GCC_OPTIMIZATION_LEVEL': '0' }, | 480 'xcode_settings': { 'GCC_OPTIMIZATION_LEVEL': '0' }, |
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
628 'LD_RUNPATH_SEARCH_PATHS': ['@executable_path/.'], | 632 'LD_RUNPATH_SEARCH_PATHS': ['@executable_path/.'], |
629 }, | 633 }, |
630 }], | 634 }], |
631 | 635 |
632 ], # end 'conditions' | 636 ], # end 'conditions' |
633 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for
more details | 637 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for
more details |
634 'xcode_settings': { | 638 'xcode_settings': { |
635 'SYMROOT': '<(DEPTH)/xcodebuild', | 639 'SYMROOT': '<(DEPTH)/xcodebuild', |
636 }, | 640 }, |
637 } | 641 } |
OLD | NEW |