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)', |
11 'SK_SUPPORT_GPU=<(skia_gpu)', | 11 'SK_SUPPORT_GPU=<(skia_gpu)', |
12 'SK_FORCE_DISTANCE_FIELD_TEXT=<(skia_force_distance_field_text)', | 12 'SK_FORCE_DISTANCE_FIELD_TEXT=<(skia_force_distance_field_text)', |
13 ], | 13 ], |
14 'conditions' : [ | 14 'conditions' : [ |
| 15 [ 'skia_is_bot', { |
| 16 'defines': [ 'SK_IS_BOT' ], |
| 17 }], |
15 [ 'skia_codec_decodes_raw', { | 18 [ 'skia_codec_decodes_raw', { |
16 'defines': [ | 19 'defines': [ |
17 'SK_CODEC_DECODES_RAW', | 20 'SK_CODEC_DECODES_RAW', |
18 ], | 21 ], |
19 }], | 22 }], |
20 ['skia_pic', { | 23 ['skia_pic', { |
21 'cflags': [ | 24 'cflags': [ |
22 '-fPIC', | 25 '-fPIC', |
23 ], | 26 ], |
24 'conditions' : [ | 27 'conditions' : [ |
(...skipping 648 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
673 'LD_RUNPATH_SEARCH_PATHS': ['@executable_path/.'], | 676 'LD_RUNPATH_SEARCH_PATHS': ['@executable_path/.'], |
674 }, | 677 }, |
675 }], | 678 }], |
676 | 679 |
677 ], # end 'conditions' | 680 ], # end 'conditions' |
678 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for
more details | 681 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for
more details |
679 'xcode_settings': { | 682 'xcode_settings': { |
680 'SYMROOT': '<(DEPTH)/xcodebuild', | 683 'SYMROOT': '<(DEPTH)/xcodebuild', |
681 }, | 684 }, |
682 } | 685 } |
OLD | NEW |