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', { |
| 92 # 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 |
| 94 # debugging purposes. |
| 95 'configurations': { |
| 96 'Debug': { |
| 97 'defines': [ |
| 98 'SK_DEBUG', |
| 99 'SK_DEVELOPER=1', |
| 100 ], |
| 101 }, |
| 102 'Release': { |
| 103 'defines': [ |
| 104 'SK_RELEASE', |
| 105 ], |
| 106 }, |
| 107 'Release_Developer': { |
| 108 'inherit_from': ['Release'], |
| 109 'defines': [ |
| 110 'SK_DEVELOPER=1', |
| 111 ], |
| 112 }, |
| 113 }, |
| 114 }], |
91 ], | 115 ], |
92 'configurations': { | |
93 'Debug': { | |
94 'defines': [ | |
95 'SK_DEBUG', | |
96 'SK_DEVELOPER=1', | |
97 ], | |
98 }, | |
99 'Release': { | |
100 'defines': [ | |
101 'SK_RELEASE', | |
102 ], | |
103 }, | |
104 'Release_Developer': { | |
105 'inherit_from': ['Release'], | |
106 'defines': [ | |
107 'SK_DEVELOPER=1', | |
108 ], | |
109 }, | |
110 }, | |
111 }, # end 'target_defaults' | 116 }, # end 'target_defaults' |
112 } | 117 } |
OLD | NEW |