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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 ], | 81 ], |
82 }, | 82 }, |
83 }], | 83 }], |
84 [ 'skia_win_debuggers_path and skia_os == "win"', | 84 [ 'skia_win_debuggers_path and skia_os == "win"', |
85 { | 85 { |
86 'defines': [ | 86 'defines': [ |
87 'SK_USE_CDB', | 87 'SK_USE_CDB', |
88 ], | 88 ], |
89 }, | 89 }, |
90 ], | 90 ], |
91 [ 'skia_android_framework==0', { | 91 [ 'skia_android_framework', { |
| 92 'defines!': [ |
| 93 'SK_SCALAR_TO_FLOAT_EXCLUDED', |
| 94 ], |
| 95 }, { |
92 # These defines are not used for skia_android_framework, where we build | 96 # These defines are not used for skia_android_framework, where we build |
93 # one makefile and allow someone to add SK_DEBUG etc for their own | 97 # one makefile and allow someone to add SK_DEBUG etc for their own |
94 # debugging purposes. | 98 # debugging purposes. |
95 'configurations': { | 99 'configurations': { |
96 'Debug': { | 100 'Debug': { |
97 'defines': [ | 101 'defines': [ |
98 'SK_DEBUG', | 102 'SK_DEBUG', |
99 'SK_DEVELOPER=1', | 103 'SK_DEVELOPER=1', |
100 ], | 104 ], |
101 }, | 105 }, |
102 'Release': { | 106 'Release': { |
103 'defines': [ | 107 'defines': [ |
104 'SK_RELEASE', | 108 'SK_RELEASE', |
105 ], | 109 ], |
106 }, | 110 }, |
107 'Release_Developer': { | 111 'Release_Developer': { |
108 'inherit_from': ['Release'], | 112 'inherit_from': ['Release'], |
109 'defines': [ | 113 'defines': [ |
110 'SK_DEVELOPER=1', | 114 'SK_DEVELOPER=1', |
111 ], | 115 ], |
112 }, | 116 }, |
113 }, | 117 }, |
114 }], | 118 }], |
115 ], | 119 ], |
116 }, # end 'target_defaults' | 120 }, # end 'target_defaults' |
117 } | 121 } |
OLD | NEW |