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 'base.gypi', | 10 'base.gypi', |
11 ], | 11 ], |
12 'targets': [ | 12 'targets': [ |
13 { | 13 { |
14 'target_name': 'base_i18n', | 14 'target_name': 'base_i18n', |
15 'type': '<(library)', | 15 'type': '<(library)', |
16 'msvs_guid': '968F3222-9798-4D21-BE08-15ECB5EF2994', | 16 'msvs_guid': '968F3222-9798-4D21-BE08-15ECB5EF2994', |
17 'dependencies': [ | 17 'dependencies': [ |
18 'base', | 18 'base', |
19 '../third_party/icu/icu.gyp:icui18n', | 19 '../third_party/icu/icu.gyp:icui18n', |
20 '../third_party/icu/icu.gyp:icuuc', | 20 '../third_party/icu/icu.gyp:icuuc', |
21 ], | 21 ], |
22 'conditions': [ | 22 'conditions': [ |
23 ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', { | 23 ['os_posix==1', { |
24 'dependencies': [ | 24 'dependencies': [ |
25 # i18n/rtl.cc uses gtk | 25 # i18n/rtl.cc uses gtk |
26 '../build/linux/system.gyp:gtk', | 26 '../build/linux/system.gyp:gtk', |
27 ], | 27 ], |
28 }], | 28 }], |
29 ], | 29 ], |
30 'export_dependent_settings': [ | 30 'export_dependent_settings': [ |
31 'base', | 31 'base', |
32 ], | 32 ], |
33 'sources': [ | 33 'sources': [ |
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
225 'dependencies': [ | 225 'dependencies': [ |
226 'base', | 226 'base', |
227 'base_i18n', | 227 'base_i18n', |
228 'base_static', | 228 'base_static', |
229 'test_support_base', | 229 'test_support_base', |
230 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotat
ions', | 230 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotat
ions', |
231 '../testing/gmock.gyp:gmock', | 231 '../testing/gmock.gyp:gmock', |
232 '../testing/gtest.gyp:gtest', | 232 '../testing/gtest.gyp:gtest', |
233 ], | 233 ], |
234 'conditions': [ | 234 'conditions': [ |
235 ['OS == "linux" or OS == "freebsd" or OS == "openbsd" or OS == "solaris"
', { | 235 ['os_posix==1', { |
236 'sources!': [ | 236 'sources!': [ |
237 'file_version_info_unittest.cc', | 237 'file_version_info_unittest.cc', |
238 ], | 238 ], |
239 'sources': [ | 239 'sources': [ |
240 'nix/xdg_util_unittest.cc', | 240 'nix/xdg_util_unittest.cc', |
241 ], | 241 ], |
242 'conditions': [ | 242 'conditions': [ |
243 [ 'linux_use_tcmalloc==1', { | 243 [ 'linux_use_tcmalloc==1', { |
244 'dependencies': [ | 244 'dependencies': [ |
245 'allocator/allocator.gyp:allocator', | 245 'allocator/allocator.gyp:allocator', |
246 ], | 246 ], |
247 }, | 247 }, |
248 ], | 248 ], |
249 ['gcc_version==44', { | 249 ['gcc_version==44', { |
250 # Avoid gcc 4.4 strict aliasing issues in stl_tree.h when | 250 # Avoid gcc 4.4 strict aliasing issues in stl_tree.h when |
251 # building mru_cache_unittest.cc. | 251 # building mru_cache_unittest.cc. |
252 'cflags': [ | 252 'cflags': [ |
253 '-fno-strict-aliasing', | 253 '-fno-strict-aliasing', |
254 ], | 254 ], |
255 }], | 255 }], |
256 ], | 256 ], |
257 'dependencies': [ | 257 'dependencies': [ |
258 '../build/linux/system.gyp:gtk', | 258 '../build/linux/system.gyp:gtk', |
259 '../build/linux/system.gyp:nss', | 259 '../build/linux/system.gyp:nss', |
260 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', | 260 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', |
261 ], | 261 ], |
262 }, { # OS != "linux" and OS != "freebsd" and OS != "openbsd" and OS !=
"solaris" | 262 }, { # os_posix!=1 |
263 'sources!': [ | 263 'sources!': [ |
264 'message_pump_glib_unittest.cc', | 264 'message_pump_glib_unittest.cc', |
265 ] | 265 ] |
266 }], | 266 }], |
267 # This is needed to trigger the dll copy step on windows. | 267 # This is needed to trigger the dll copy step on windows. |
268 # TODO(mark): This should not be necessary. | 268 # TODO(mark): This should not be necessary. |
269 ['OS == "win"', { | 269 ['OS == "win"', { |
270 'dependencies': [ | 270 'dependencies': [ |
271 '../third_party/icu/icu.gyp:icudata', | 271 '../third_party/icu/icu.gyp:icudata', |
272 ], | 272 ], |
(...skipping 22 matching lines...) Expand all Loading... |
295 'base', | 295 'base', |
296 'base_static', | 296 'base_static', |
297 'base_i18n', | 297 'base_i18n', |
298 '../testing/gmock.gyp:gmock', | 298 '../testing/gmock.gyp:gmock', |
299 '../testing/gtest.gyp:gtest', | 299 '../testing/gtest.gyp:gtest', |
300 ], | 300 ], |
301 'export_dependent_settings': [ | 301 'export_dependent_settings': [ |
302 'base', | 302 'base', |
303 ], | 303 ], |
304 'conditions': [ | 304 'conditions': [ |
305 ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', { | 305 ['os_posix==1', { |
306 'dependencies': [ | 306 'dependencies': [ |
307 # test_suite initializes GTK. | 307 # test_suite initializes GTK. |
308 '../build/linux/system.gyp:gtk', | 308 '../build/linux/system.gyp:gtk', |
309 ], | 309 ], |
310 }], | 310 }], |
311 ], | 311 ], |
312 'sources': [ | 312 'sources': [ |
313 'perftimer.cc', | 313 'perftimer.cc', |
314 'test/mock_chrome_application_mac.h', | 314 'test/mock_chrome_application_mac.h', |
315 'test/mock_chrome_application_mac.mm', | 315 'test/mock_chrome_application_mac.mm', |
(...skipping 24 matching lines...) Expand all Loading... |
340 'sources': [ | 340 'sources': [ |
341 'perftimer.cc', | 341 'perftimer.cc', |
342 'test/run_all_perftests.cc', | 342 'test/run_all_perftests.cc', |
343 ], | 343 ], |
344 'direct_dependent_settings': { | 344 'direct_dependent_settings': { |
345 'defines': [ | 345 'defines': [ |
346 'PERF_TEST', | 346 'PERF_TEST', |
347 ], | 347 ], |
348 }, | 348 }, |
349 'conditions': [ | 349 'conditions': [ |
350 ['OS == "linux" or OS == "freebsd" or OS == "openbsd" or OS == "solaris"
', { | 350 ['os_posix==1', { |
351 'dependencies': [ | 351 'dependencies': [ |
352 # Needed to handle the #include chain: | 352 # Needed to handle the #include chain: |
353 # base/test/perf_test_suite.h | 353 # base/test/perf_test_suite.h |
354 # base/test/test_suite.h | 354 # base/test/test_suite.h |
355 # gtk/gtk.h | 355 # gtk/gtk.h |
356 '../build/linux/system.gyp:gtk', | 356 '../build/linux/system.gyp:gtk', |
357 ], | 357 ], |
358 }], | 358 }], |
359 ], | 359 ], |
360 }, | 360 }, |
(...skipping 16 matching lines...) Expand all Loading... |
377 ], | 377 ], |
378 }], | 378 }], |
379 ], | 379 ], |
380 } | 380 } |
381 | 381 |
382 # Local Variables: | 382 # Local Variables: |
383 # tab-width:2 | 383 # tab-width:2 |
384 # indent-tabs-mode:nil | 384 # indent-tabs-mode:nil |
385 # End: | 385 # End: |
386 # vim: set expandtab tabstop=2 shiftwidth=2: | 386 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |