| 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 # Allow the client to turn on/off individual codecs. This can be useful |
| 15 # when some of the dependencies are not present. |
| 16 'SK_CODEC_DECODES_BMP', |
| 17 'SK_CODEC_DECODES_GIF', |
| 18 'SK_CODEC_DECODES_ICO', |
| 19 'SK_CODEC_DECODES_JPEG', |
| 20 'SK_CODEC_DECODES_PNG', |
| 21 'SK_CODEC_DECODES_WBMP', |
| 22 'SK_CODEC_DECODES_WEBP', |
| 13 ], | 23 ], |
| 14 'conditions' : [ | 24 'conditions' : [ |
| 15 [ 'skia_codec_decodes_raw', { | 25 [ 'skia_codec_decodes_raw', { |
| 16 'defines': [ | 26 'defines': [ |
| 17 'SK_CODEC_DECODES_RAW', | 27 'SK_CODEC_DECODES_RAW', |
| 18 ], | 28 ], |
| 19 }], | 29 }], |
| 20 ['skia_pic', { | 30 ['skia_pic', { |
| 21 'cflags': [ | 31 'cflags': [ |
| 22 '-fPIC', | 32 '-fPIC', |
| (...skipping 650 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 673 'LD_RUNPATH_SEARCH_PATHS': ['@executable_path/.'], | 683 'LD_RUNPATH_SEARCH_PATHS': ['@executable_path/.'], |
| 674 }, | 684 }, |
| 675 }], | 685 }], |
| 676 | 686 |
| 677 ], # end 'conditions' | 687 ], # end 'conditions' |
| 678 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for
more details | 688 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for
more details |
| 679 'xcode_settings': { | 689 'xcode_settings': { |
| 680 'SYMROOT': '<(DEPTH)/xcodebuild', | 690 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 681 }, | 691 }, |
| 682 } | 692 } |
| OLD | NEW |