| OLD | NEW |
| 1 # Copyright 2011 The Android Open Source Project | 1 # Copyright 2011 The Android Open Source Project |
| 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 # This file is automatically included by gyp_skia when building any target. | 6 # This file is automatically included by gyp_skia when building any target. |
| 7 | 7 |
| 8 { | 8 { |
| 9 'includes': [ | 9 'includes': [ |
| 10 'common_variables.gypi', | 10 'common_variables.gypi', |
| 11 ], | 11 ], |
| 12 | 12 |
| 13 'target_defaults': { | 13 'target_defaults': { |
| 14 'defines': [ | 14 'defines': [ |
| 15 'SK_GAMMA_SRGB', | 15 'SK_GAMMA_SRGB', |
| 16 'SK_GAMMA_APPLY_TO_A8', | 16 'SK_GAMMA_APPLY_TO_A8', |
| 17 'SK_SCALAR_TO_FLOAT_EXCLUDED', # temporary to allow Chrome to call SkFloa
tToScalar |
| 17 ], | 18 ], |
| 18 | 19 |
| 19 # Validate the 'skia_os' setting against 'OS', because only certain | 20 # Validate the 'skia_os' setting against 'OS', because only certain |
| 20 # combinations work. You should only override 'skia_os' for certain | 21 # combinations work. You should only override 'skia_os' for certain |
| 21 # situations, like building for iOS on a Mac. | 22 # situations, like building for iOS on a Mac. |
| 22 'variables': { | 23 'variables': { |
| 23 'conditions': [ | 24 'conditions': [ |
| 24 [ 'skia_os != OS and not ((skia_os == "ios" and OS == "mac") or \ | 25 [ 'skia_os != OS and not ((skia_os == "ios" and OS == "mac") or \ |
| 25 (skia_os == "nacl" and OS == "linux") or \ | 26 (skia_os == "nacl" and OS == "linux") or \ |
| 26 (skia_os == "chromeos" and OS == "linux"))', { | 27 (skia_os == "chromeos" and OS == "linux"))', { |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 ], | 108 ], |
| 108 }, | 109 }, |
| 109 }, | 110 }, |
| 110 }, # end 'target_defaults' | 111 }, # end 'target_defaults' |
| 111 } | 112 } |
| 112 # Local Variables: | 113 # Local Variables: |
| 113 # tab-width:2 | 114 # tab-width:2 |
| 114 # indent-tabs-mode:nil | 115 # indent-tabs-mode:nil |
| 115 # End: | 116 # End: |
| 116 # vim: set expandtab tabstop=2 shiftwidth=2: | 117 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |