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 }, | 8 }, |
9 'includes': [ | 9 'includes': [ |
10 '../build/win_precompile.gypi', | 10 '../build/win_precompile.gypi', |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 'file_version_info_unittest.cc', | 137 'file_version_info_unittest.cc', |
138 'gmock_unittest.cc', | 138 'gmock_unittest.cc', |
139 'id_map_unittest.cc', | 139 'id_map_unittest.cc', |
140 'i18n/break_iterator_unittest.cc', | 140 'i18n/break_iterator_unittest.cc', |
141 'i18n/char_iterator_unittest.cc', | 141 'i18n/char_iterator_unittest.cc', |
142 'i18n/case_conversion_unittest.cc', | 142 'i18n/case_conversion_unittest.cc', |
143 'i18n/file_util_icu_unittest.cc', | 143 'i18n/file_util_icu_unittest.cc', |
144 'i18n/icu_string_conversions_unittest.cc', | 144 'i18n/icu_string_conversions_unittest.cc', |
145 'i18n/number_formatting_unittest.cc', | 145 'i18n/number_formatting_unittest.cc', |
146 'i18n/rtl_unittest.cc', | 146 'i18n/rtl_unittest.cc', |
147 'i18n/string_search_unittest.cc', | 147 » 'i18n/string_search_unittest.cc', |
148 'i18n/time_formatting_unittest.cc', | 148 'i18n/time_formatting_unittest.cc', |
149 'json/json_reader_unittest.cc', | 149 'json/json_reader_unittest.cc', |
150 'json/json_writer_unittest.cc', | 150 'json/json_writer_unittest.cc', |
151 'json/string_escape_unittest.cc', | 151 'json/string_escape_unittest.cc', |
152 'lazy_instance_unittest.cc', | 152 'lazy_instance_unittest.cc', |
153 'linked_list_unittest.cc', | 153 'linked_list_unittest.cc', |
154 'logging_unittest.cc', | 154 'logging_unittest.cc', |
155 'mac/mac_util_unittest.mm', | 155 'mac/mac_util_unittest.mm', |
156 'mac/objc_property_releaser_unittest.mm', | 156 'mac/objc_property_releaser_unittest.mm', |
157 'md5_unittest.cc', | 157 'md5_unittest.cc', |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
250 '../testing/gtest.gyp:gtest', | 250 '../testing/gtest.gyp:gtest', |
251 '../third_party/icu/icu.gyp:icui18n', | 251 '../third_party/icu/icu.gyp:icui18n', |
252 '../third_party/icu/icu.gyp:icuuc', | 252 '../third_party/icu/icu.gyp:icuuc', |
253 ], | 253 ], |
254 'includes': ['../build/nocompile.gypi'], | 254 'includes': ['../build/nocompile.gypi'], |
255 'variables': { | 255 'variables': { |
256 # TODO(ajwong): Is there a way to autodetect this? | 256 # TODO(ajwong): Is there a way to autodetect this? |
257 'module_dir': 'base' | 257 'module_dir': 'base' |
258 }, | 258 }, |
259 'conditions': [ | 259 'conditions': [ |
260 ['use_glib==1', { | 260 ['toolkit_uses_gtk==1', { |
261 'sources!': [ | 261 'sources!': [ |
262 'file_version_info_unittest.cc', | 262 'file_version_info_unittest.cc', |
263 ], | 263 ], |
| 264 'sources': [ |
| 265 'nix/xdg_util_unittest.cc', |
| 266 ], |
264 'conditions': [ | 267 'conditions': [ |
265 [ 'linux_use_tcmalloc==1', { | 268 [ 'linux_use_tcmalloc==1', { |
266 'dependencies': [ | 269 'dependencies': [ |
267 'allocator/allocator.gyp:allocator', | 270 'allocator/allocator.gyp:allocator', |
268 ], | 271 ], |
269 }, | 272 }, |
270 ], | 273 ], |
271 ['gcc_version==44', { | 274 ['gcc_version==44', { |
272 # Avoid gcc 4.4 strict aliasing issues in stl_tree.h when | 275 # Avoid gcc 4.4 strict aliasing issues in stl_tree.h when |
273 # building mru_cache_unittest.cc. | 276 # building mru_cache_unittest.cc. |
274 'cflags': [ | 277 'cflags': [ |
275 '-fno-strict-aliasing', | 278 '-fno-strict-aliasing', |
276 ], | 279 ], |
277 }], | 280 }], |
278 [ 'toolkit_uses_gtk==1', { | |
279 'sources': [ | |
280 'nix/xdg_util_unittest.cc', | |
281 ], | |
282 'dependencies': [ | |
283 '../build/linux/system.gyp:gtk', | |
284 ] | |
285 }], | |
286 ], | 281 ], |
287 'dependencies': [ | 282 'dependencies': [ |
288 '../build/linux/system.gyp:glib', | 283 '../build/linux/system.gyp:gtk', |
289 '../build/linux/system.gyp:ssl', | 284 '../build/linux/system.gyp:ssl', |
290 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', | 285 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', |
291 ], | 286 ], |
292 }, { # use_glib!=1 | 287 }, { # toolkit_uses_gtk!=1 |
293 'sources!': [ | 288 'sources!': [ |
294 'message_pump_glib_unittest.cc', | 289 'message_pump_glib_unittest.cc', |
295 ] | 290 ] |
296 }], | 291 }], |
297 # This is needed to trigger the dll copy step on windows. | 292 # This is needed to trigger the dll copy step on windows. |
298 # TODO(mark): This should not be necessary. | 293 # TODO(mark): This should not be necessary. |
299 ['OS == "win"', { | 294 ['OS == "win"', { |
300 'dependencies': [ | 295 'dependencies': [ |
301 '../third_party/icu/icu.gyp:icudata', | 296 '../third_party/icu/icu.gyp:icudata', |
302 ], | 297 ], |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
418 'msvs_settings': { | 413 'msvs_settings': { |
419 'VCLinkerTool': { | 414 'VCLinkerTool': { |
420 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS | 415 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS |
421 }, | 416 }, |
422 }, | 417 }, |
423 }, | 418 }, |
424 ], | 419 ], |
425 }], | 420 }], |
426 ], | 421 ], |
427 } | 422 } |
OLD | NEW |