OLD | NEW |
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 'courgette_lib_sources': [ | 8 'courgette_lib_sources': [ |
9 'adjustment_method.cc', | 9 'adjustment_method.cc', |
10 'adjustment_method_2.cc', | 10 'adjustment_method_2.cc', |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 [ 'os_posix == 1 and OS != "mac" and OS != "android" and OS != "ios"', { | 122 [ 'os_posix == 1 and OS != "mac" and OS != "android" and OS != "ios"', { |
123 'conditions': [ | 123 'conditions': [ |
124 # TODO(dmikurube): Kill linux_use_tcmalloc. http://crbug.com/345554 | 124 # TODO(dmikurube): Kill linux_use_tcmalloc. http://crbug.com/345554 |
125 ['(use_allocator!="none" and use_allocator!="see_use_tcmalloc") or (
use_allocator=="see_use_tcmalloc" and linux_use_tcmalloc==1)', { | 125 ['(use_allocator!="none" and use_allocator!="see_use_tcmalloc") or (
use_allocator=="see_use_tcmalloc" and linux_use_tcmalloc==1)', { |
126 'dependencies': [ | 126 'dependencies': [ |
127 '../base/allocator/allocator.gyp:allocator', | 127 '../base/allocator/allocator.gyp:allocator', |
128 ], | 128 ], |
129 }], | 129 }], |
130 ], | 130 ], |
131 }], | 131 }], |
132 [ 'toolkit_uses_gtk == 1', { | |
133 'dependencies': [ | |
134 # Workaround for gyp bug 69. | |
135 # Needed to handle the #include chain: | |
136 # base/test_suite.h | |
137 # gtk/gtk.h | |
138 '../build/linux/system.gyp:gtk', | |
139 ], | |
140 }], | |
141 ], | 132 ], |
142 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 133 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
143 'msvs_disabled_warnings': [4267, ], | 134 'msvs_disabled_warnings': [4267, ], |
144 }, | 135 }, |
145 { | 136 { |
146 'target_name': 'courgette_fuzz', | 137 'target_name': 'courgette_fuzz', |
147 'type': 'executable', | 138 'type': 'executable', |
148 'sources': [ | 139 'sources': [ |
149 'base_test_unittest.cc', | 140 'base_test_unittest.cc', |
150 'base_test_unittest.h', | 141 'base_test_unittest.h', |
151 'encoded_program_fuzz_unittest.cc', | 142 'encoded_program_fuzz_unittest.cc', |
152 ], | 143 ], |
153 'dependencies': [ | 144 'dependencies': [ |
154 'courgette_lib', | 145 'courgette_lib', |
155 '../base/base.gyp:base', | 146 '../base/base.gyp:base', |
156 '../base/base.gyp:base_i18n', | 147 '../base/base.gyp:base_i18n', |
157 '../base/base.gyp:test_support_base', | 148 '../base/base.gyp:test_support_base', |
158 '../testing/gtest.gyp:gtest', | 149 '../testing/gtest.gyp:gtest', |
159 ], | 150 ], |
160 'conditions': [ | |
161 [ 'toolkit_uses_gtk == 1', { | |
162 'dependencies': [ | |
163 # Workaround for gyp bug 69. | |
164 # Needed to handle the #include chain: | |
165 # base/test_suite.h | |
166 # gtk/gtk.h | |
167 '../build/linux/system.gyp:gtk', | |
168 ], | |
169 }], | |
170 ], | |
171 }, | 151 }, |
172 ], | 152 ], |
173 'conditions': [ | 153 'conditions': [ |
174 ['OS=="win" and target_arch=="ia32"', { | 154 ['OS=="win" and target_arch=="ia32"', { |
175 'targets': [ | 155 'targets': [ |
176 { | 156 { |
177 'target_name': 'courgette_lib64', | 157 'target_name': 'courgette_lib64', |
178 'type': 'static_library', | 158 'type': 'static_library', |
179 'dependencies': [ | 159 'dependencies': [ |
180 '../base/base.gyp:base_win64', | 160 '../base/base.gyp:base_win64', |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
229 '../build/cp.py', | 209 '../build/cp.py', |
230 '<@(_inputs)', | 210 '<@(_inputs)', |
231 '<@(_outputs)' | 211 '<@(_outputs)' |
232 ], | 212 ], |
233 }], | 213 }], |
234 }, | 214 }, |
235 ], | 215 ], |
236 }], | 216 }], |
237 ], | 217 ], |
238 } | 218 } |
OLD | NEW |