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 16 matching lines...) Expand all Loading... |
27 [ 'skia_os != OS and not ((skia_os == "ios" and OS == "mac") or \ | 27 [ 'skia_os != OS and not ((skia_os == "ios" and OS == "mac") or \ |
28 (skia_os == "chromeos" and OS == "linux"))', { | 28 (skia_os == "chromeos" and OS == "linux"))', { |
29 'error': '<!(Cannot build with skia_os=<(skia_os) on OS=<(OS))', | 29 'error': '<!(Cannot build with skia_os=<(skia_os) on OS=<(OS))', |
30 }], | 30 }], |
31 [ 'skia_mesa and skia_os not in ["mac", "linux"]', { | 31 [ 'skia_mesa and skia_os not in ["mac", "linux"]', { |
32 'error': '<!(skia_mesa=1 only supported with skia_os="mac" or "linux".
)', | 32 'error': '<!(skia_mesa=1 only supported with skia_os="mac" or "linux".
)', |
33 }], | 33 }], |
34 [ 'skia_angle and not skia_os == "win"', { | 34 [ 'skia_angle and not skia_os == "win"', { |
35 'error': '<!(skia_angle=1 only supported with skia_os="win".)', | 35 'error': '<!(skia_angle=1 only supported with skia_os="win".)', |
36 }], | 36 }], |
37 [ 'skia_arch_width != 32 and skia_arch_width != 64', { | |
38 'error': '<!(skia_arch_width can only be 32 or 64 bits not <(skia_arch
_width) bits)', | |
39 }], | |
40 [ 'skia_os == "chromeos" and OS != "linux"', { | 37 [ 'skia_os == "chromeos" and OS != "linux"', { |
41 'error': '<!(Skia ChromeOS build is only supported on Linux.)', | 38 'error': '<!(Skia ChromeOS build is only supported on Linux.)', |
42 }], | 39 }], |
43 ], | 40 ], |
44 }, | 41 }, |
45 'includes': [ | 42 'includes': [ |
46 'common_conditions.gypi', | 43 'common_conditions.gypi', |
47 ], | 44 ], |
48 'conditions': [ | 45 'conditions': [ |
49 [ 'skia_mesa', { | 46 [ 'skia_mesa', { |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 'Release': { 'defines': [ 'NDEBUG' ] }, | 79 'Release': { 'defines': [ 'NDEBUG' ] }, |
83 'Release_Developer': { | 80 'Release_Developer': { |
84 'inherit_from': ['Release'], | 81 'inherit_from': ['Release'], |
85 'defines': [ 'SK_DEVELOPER=1' ], | 82 'defines': [ 'SK_DEVELOPER=1' ], |
86 }, | 83 }, |
87 }, | 84 }, |
88 }], | 85 }], |
89 ], | 86 ], |
90 }, # end 'target_defaults' | 87 }, # end 'target_defaults' |
91 } | 88 } |
OLD | NEW |