| 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_SUPPORT_OPENCL=<(skia_opencl)', | |
| 13 'SK_FORCE_DISTANCE_FIELD_TEXT=<(skia_force_distance_field_text)', | 12 'SK_FORCE_DISTANCE_FIELD_TEXT=<(skia_force_distance_field_text)', |
| 14 ], | 13 ], |
| 15 'conditions' : [ | 14 'conditions' : [ |
| 16 ['skia_pic', { | 15 ['skia_pic', { |
| 17 'cflags': [ | 16 'cflags': [ |
| 18 '-fPIC', | 17 '-fPIC', |
| 19 ], | 18 ], |
| 20 'conditions' : [ | 19 'conditions' : [ |
| 21 # FIXME: The reason we don't do this on Android is due to the way | 20 # FIXME: The reason we don't do this on Android is due to the way |
| 22 # we build the executables/skia_launcher on Android. See | 21 # we build the executables/skia_launcher on Android. See |
| (...skipping 624 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 647 'LD_RUNPATH_SEARCH_PATHS': ['@executable_path/.'], | 646 'LD_RUNPATH_SEARCH_PATHS': ['@executable_path/.'], |
| 648 }, | 647 }, |
| 649 }], | 648 }], |
| 650 | 649 |
| 651 ], # end 'conditions' | 650 ], # end 'conditions' |
| 652 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for
more details | 651 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for
more details |
| 653 'xcode_settings': { | 652 'xcode_settings': { |
| 654 'SYMROOT': '<(DEPTH)/xcodebuild', | 653 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 655 }, | 654 }, |
| 656 } | 655 } |
| OLD | NEW |