| 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_codec_decodes_raw', { |
| 16 'defines': [ |
| 17 'SK_CODEC_DECODES_RAW', |
| 18 ], |
| 19 }], |
| 15 ['skia_pic', { | 20 ['skia_pic', { |
| 16 'cflags': [ | 21 'cflags': [ |
| 17 '-fPIC', | 22 '-fPIC', |
| 18 ], | 23 ], |
| 19 'conditions' : [ | 24 'conditions' : [ |
| 20 # FIXME: The reason we don't do this on Android is due to the way | 25 # FIXME: The reason we don't do this on Android is due to the way |
| 21 # we build the executables/skia_launcher on Android. See | 26 # we build the executables/skia_launcher on Android. See |
| 22 # https://codereview.chromium.org/406613003/diff/1/gyp/common_conditions.g
ypi#newcode455 | 27 # https://codereview.chromium.org/406613003/diff/1/gyp/common_conditions.g
ypi#newcode455 |
| 23 ['skia_os != "android"', { | 28 ['skia_os != "android"', { |
| 24 'target_conditions': [ | 29 'target_conditions': [ |
| (...skipping 658 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 683 'LD_RUNPATH_SEARCH_PATHS': ['@executable_path/.'], | 688 'LD_RUNPATH_SEARCH_PATHS': ['@executable_path/.'], |
| 684 }, | 689 }, |
| 685 }], | 690 }], |
| 686 | 691 |
| 687 ], # end 'conditions' | 692 ], # end 'conditions' |
| 688 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for
more details | 693 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for
more details |
| 689 'xcode_settings': { | 694 'xcode_settings': { |
| 690 'SYMROOT': '<(DEPTH)/xcodebuild', | 695 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 691 }, | 696 }, |
| 692 } | 697 } |
| OLD | NEW |