| 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', |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 }], | 30 }], |
| 31 [ 'skia_angle and not skia_os == "win"', { | 31 [ 'skia_angle and not skia_os == "win"', { |
| 32 'error': '<!(skia_angle=1 only supported with skia_os="win".)', | 32 'error': '<!(skia_angle=1 only supported with skia_os="win".)', |
| 33 }], | 33 }], |
| 34 [ 'skia_arch_width != 32 and skia_arch_width != 64', { | 34 [ 'skia_arch_width != 32 and skia_arch_width != 64', { |
| 35 'error': '<!(skia_arch_width can only be 32 or 64 bits not <(skia_arch
_width) bits)', | 35 'error': '<!(skia_arch_width can only be 32 or 64 bits not <(skia_arch
_width) bits)', |
| 36 }], | 36 }], |
| 37 [ 'skia_os == "nacl" and OS != "linux"', { | 37 [ 'skia_os == "nacl" and OS != "linux"', { |
| 38 'error': '<!(Skia NaCl build only currently supported on Linux.)', | 38 'error': '<!(Skia NaCl build only currently supported on Linux.)', |
| 39 }], | 39 }], |
| 40 [ 'skia_os == "chromeos" and OS != "linux"', { |
| 41 'error': '<!(Skia ChromeOS build is only supported on Linux.)', |
| 42 }], |
| 40 ], | 43 ], |
| 41 }, | 44 }, |
| 42 # Validate the 'skia_os' setting against 'skia_shared_lib', because shared | 45 # Validate the 'skia_os' setting against 'skia_shared_lib', because shared |
| 43 # library build is only supported on Android. | 46 # library build is only supported on Android. |
| 44 'variables': { | 47 'variables': { |
| 45 'conditions': [ | 48 'conditions': [ |
| 46 [ 'skia_os != "android" and skia_shared_lib', { | 49 [ 'skia_os != "android" and skia_shared_lib', { |
| 47 'error': '<!(Skia shared lib build only currently supported on Android
.)', | 50 'error': '<!(Skia shared lib build only currently supported on Android
.)', |
| 48 }], | 51 }], |
| 49 ], | 52 ], |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 ], | 117 ], |
| 115 }, | 118 }, |
| 116 }, | 119 }, |
| 117 }, # end 'target_defaults' | 120 }, # end 'target_defaults' |
| 118 } | 121 } |
| 119 # Local Variables: | 122 # Local Variables: |
| 120 # tab-width:2 | 123 # tab-width:2 |
| 121 # indent-tabs-mode:nil | 124 # indent-tabs-mode:nil |
| 122 # End: | 125 # End: |
| 123 # vim: set expandtab tabstop=2 shiftwidth=2: | 126 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |