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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 }], | 43 }], |
44 [ 'skia_os == "chromeos" and OS != "linux"', { | 44 [ 'skia_os == "chromeos" and OS != "linux"', { |
45 'error': '<!(Skia ChromeOS build is only supported on Linux.)', | 45 'error': '<!(Skia ChromeOS build is only supported on Linux.)', |
46 }], | 46 }], |
47 ], | 47 ], |
48 }, | 48 }, |
49 'includes': [ | 49 'includes': [ |
50 'common_conditions.gypi', | 50 'common_conditions.gypi', |
51 ], | 51 ], |
52 'conditions': [ | 52 'conditions': [ |
53 [ 'skia_scalar == "float"', | |
54 { | |
55 'defines': [ | |
56 'SK_SCALAR_IS_FLOAT', | |
57 ], | |
58 }, { # else, skia_scalar != "float" | |
59 'defines': [ | |
60 'SK_SCALAR_IS_FIXED', | |
61 ], | |
62 } | |
63 ], | |
64 [ 'skia_mesa', { | 53 [ 'skia_mesa', { |
65 'defines': [ | 54 'defines': [ |
66 'SK_MESA', | 55 'SK_MESA', |
67 ], | 56 ], |
68 'direct_dependent_settings': { | 57 'direct_dependent_settings': { |
69 'defines': [ | 58 'defines': [ |
70 'SK_MESA', | 59 'SK_MESA', |
71 ], | 60 ], |
72 }, | 61 }, |
73 }], | 62 }], |
(...skipping 23 matching lines...) Expand all Loading... |
97 'Release': { 'defines': [ 'NDEBUG' ] }, | 86 'Release': { 'defines': [ 'NDEBUG' ] }, |
98 'Release_Developer': { | 87 'Release_Developer': { |
99 'inherit_from': ['Release'], | 88 'inherit_from': ['Release'], |
100 'defines': [ 'SK_DEVELOPER=1' ], | 89 'defines': [ 'SK_DEVELOPER=1' ], |
101 }, | 90 }, |
102 }, | 91 }, |
103 }], | 92 }], |
104 ], | 93 ], |
105 }, # end 'target_defaults' | 94 }, # end 'target_defaults' |
106 } | 95 } |
OLD | NEW |