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 |
| 14 # Indicate that all dependency libraries are present. Clients that |
| 15 # are missing some of the required decoding libraries may choose |
| 16 # not to define these. This will disable some decoder and encoder |
| 17 # features. |
| 18 'SK_HAS_GIF_LIBRARY', |
| 19 'SK_HAS_JPEG_LIBRARY', |
| 20 'SK_HAS_PNG_LIBRARY', |
| 21 'SK_HAS_WEBP_LIBRARY', |
13 ], | 22 ], |
14 'conditions' : [ | 23 'conditions' : [ |
15 [ 'skia_is_bot', { | 24 [ 'skia_is_bot', { |
16 'defines': [ 'SK_IS_BOT' ], | 25 'defines': [ 'SK_IS_BOT' ], |
17 }], | 26 }], |
18 [ 'skia_codec_decodes_raw', { | 27 [ 'skia_codec_decodes_raw', { |
19 'defines': [ | 28 'defines': [ |
20 'SK_CODEC_DECODES_RAW', | 29 'SK_CODEC_DECODES_RAW', |
21 ], | 30 ], |
22 }], | 31 }], |
(...skipping 657 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
680 'LD_RUNPATH_SEARCH_PATHS': ['@executable_path/.'], | 689 'LD_RUNPATH_SEARCH_PATHS': ['@executable_path/.'], |
681 }, | 690 }, |
682 }], | 691 }], |
683 | 692 |
684 ], # end 'conditions' | 693 ], # end 'conditions' |
685 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for
more details | 694 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for
more details |
686 'xcode_settings': { | 695 'xcode_settings': { |
687 'SYMROOT': '<(DEPTH)/xcodebuild', | 696 'SYMROOT': '<(DEPTH)/xcodebuild', |
688 }, | 697 }, |
689 } | 698 } |
OLD | NEW |