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', |
11 'base.gypi', | 11 'base.gypi', |
12 ], | 12 ], |
13 'targets': [ | 13 'targets': [ |
14 { | 14 { |
15 'target_name': 'base_i18n', | 15 'target_name': 'base_i18n', |
16 'type': '<(component)', | 16 'type': '<(component)', |
17 'dependencies': [ | 17 'dependencies': [ |
18 'base', | 18 'base', |
19 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotat
ions', | 19 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotat
ions', |
20 '../third_party/icu/icu.gyp:icui18n', | 20 '../third_party/icu/icu.gyp:icui18n', |
21 '../third_party/icu/icu.gyp:icuuc', | 21 '../third_party/icu/icu.gyp:icuuc', |
22 ], | 22 ], |
23 'conditions': [ | 23 'conditions': [ |
24 ['toolkit_uses_gtk==1', { | 24 ['toolkit_uses_gtk==1', { |
25 'dependencies': [ | 25 'dependencies': [ |
26 # i18n/rtl.cc uses gtk | 26 # i18n/rtl.cc uses gtk |
27 '../build/linux/system.gyp:gtk', | 27 '../build/linux/system.gyp:gtk', |
28 ], | 28 ], |
29 }], | 29 }], |
| 30 # TODO(michaelbai): This should be removed once icu supported |
| 31 ['OS == "android"', { |
| 32 'dependencies!': [ |
| 33 '../third_party/icu/icu.gyp:icui18n', |
| 34 '../third_party/icu/icu.gyp:icuuc', |
| 35 ], |
| 36 'sources!': [ |
| 37 'i18n/base_i18n_export.h', |
| 38 'i18n/bidi_line_iterator.cc', |
| 39 'i18n/bidi_line_iterator.h', |
| 40 'i18n/break_iterator.cc', |
| 41 'i18n/break_iterator.h', |
| 42 'i18n/char_iterator.cc', |
| 43 'i18n/char_iterator.h', |
| 44 'i18n/case_conversion.cc', |
| 45 'i18n/case_conversion.h', |
| 46 'i18n/file_util_icu.cc', |
| 47 'i18n/file_util_icu.h', |
| 48 'i18n/icu_encoding_detection.cc', |
| 49 'i18n/icu_encoding_detection.h', |
| 50 'i18n/icu_string_conversions.cc', |
| 51 'i18n/icu_string_conversions.h', |
| 52 'i18n/icu_util.cc', |
| 53 'i18n/icu_util.h', |
| 54 'i18n/number_formatting.cc', |
| 55 'i18n/number_formatting.h', |
| 56 'i18n/rtl.cc', |
| 57 'i18n/rtl.h', |
| 58 'i18n/string_search.cc', |
| 59 'i18n/string_search.h', |
| 60 'i18n/time_formatting.cc', |
| 61 'i18n/time_formatting.h', |
| 62 ], |
| 63 }], |
30 ], | 64 ], |
31 'export_dependent_settings': [ | 65 'export_dependent_settings': [ |
32 'base', | 66 'base', |
33 ], | 67 ], |
34 'defines': [ | 68 'defines': [ |
35 'BASE_I18N_IMPLEMENTATION', | 69 'BASE_I18N_IMPLEMENTATION', |
36 ], | 70 ], |
37 'sources': [ | 71 'sources': [ |
38 'i18n/base_i18n_export.h', | 72 'i18n/base_i18n_export.h', |
39 'i18n/bidi_line_iterator.cc', | 73 'i18n/bidi_line_iterator.cc', |
40 'i18n/bidi_line_iterator.h', | 74 'i18n/bidi_line_iterator.h', |
41 'i18n/break_iterator.cc', | 75 'i18n/break_iterator.cc', |
42 'i18n/break_iterator.h', | 76 'i18n/break_iterator.h', |
43 'i18n/char_iterator.cc', | 77 'i18n/char_iterator.cc', |
44 'i18n/char_iterator.h', | 78 'i18n/char_iterator.h', |
45 'i18n/case_conversion.cc', | 79 'i18n/case_conversion.cc', |
46 'i18n/case_conversion.h', | 80 'i18n/case_conversion.h', |
47 'i18n/file_util_icu.cc', | 81 'i18n/file_util_icu.cc', |
48 'i18n/file_util_icu.h', | 82 'i18n/file_util_icu.h', |
49 'i18n/icu_encoding_detection.cc', | 83 'i18n/icu_encoding_detection.cc', |
50 'i18n/icu_encoding_detection.h', | 84 'i18n/icu_encoding_detection.h', |
51 'i18n/icu_string_conversions.cc', | 85 'i18n/icu_string_conversions.cc', |
52 'i18n/icu_string_conversions.h', | 86 'i18n/icu_string_conversions.h', |
53 'i18n/icu_util.cc', | 87 'i18n/icu_util.cc', |
54 'i18n/icu_util.h', | 88 'i18n/icu_util.h', |
55 'i18n/number_formatting.cc', | 89 'i18n/number_formatting.cc', |
56 'i18n/number_formatting.h', | 90 'i18n/number_formatting.h', |
57 'i18n/rtl.cc', | 91 'i18n/rtl.cc', |
58 'i18n/rtl.h', | 92 'i18n/rtl.h', |
59 » 'i18n/string_search.cc', | 93 'i18n/string_search.cc', |
60 » 'i18n/string_search.h', | 94 'i18n/string_search.h', |
61 'i18n/time_formatting.cc', | 95 'i18n/time_formatting.cc', |
62 'i18n/time_formatting.h', | 96 'i18n/time_formatting.h', |
63 ], | 97 ], |
64 }, | 98 }, |
65 { | 99 { |
66 # This is the subset of files from base that should not be used with a | 100 # This is the subset of files from base that should not be used with a |
67 # dynamic library. Note that this library cannot depend on base because | 101 # dynamic library. Note that this library cannot depend on base because |
68 # base depends on base_static. | 102 # base depends on base_static. |
69 'target_name': 'base_static', | 103 'target_name': 'base_static', |
70 'type': 'static_library', | 104 'type': 'static_library', |
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
250 '../testing/gtest.gyp:gtest', | 284 '../testing/gtest.gyp:gtest', |
251 '../third_party/icu/icu.gyp:icui18n', | 285 '../third_party/icu/icu.gyp:icui18n', |
252 '../third_party/icu/icu.gyp:icuuc', | 286 '../third_party/icu/icu.gyp:icuuc', |
253 ], | 287 ], |
254 'includes': ['../build/nocompile.gypi'], | 288 'includes': ['../build/nocompile.gypi'], |
255 'variables': { | 289 'variables': { |
256 # TODO(ajwong): Is there a way to autodetect this? | 290 # TODO(ajwong): Is there a way to autodetect this? |
257 'module_dir': 'base' | 291 'module_dir': 'base' |
258 }, | 292 }, |
259 'conditions': [ | 293 'conditions': [ |
| 294 ['OS == "android"', { |
| 295 # TODO(michaelbai): This should be removed once icu supported |
| 296 'dependencies!': [ |
| 297 '../third_party/icu/icu.gyp:icui18n', |
| 298 '../third_party/icu/icu.gyp:icuuc', |
| 299 ], |
| 300 'sources!': [ |
| 301 # TODO(michaelbai): The belows are excluded because of the missing |
| 302 # icu and should be added back once icu is ready. |
| 303 'i18n/break_iterator_unittest.cc', |
| 304 'i18n/char_iterator_unittest.cc', |
| 305 'i18n/case_conversion_unittest.cc', |
| 306 'i18n/file_util_icu_unittest.cc', |
| 307 'i18n/icu_string_conversions_unittest.cc', |
| 308 'i18n/number_formatting_unittest.cc', |
| 309 'i18n/rtl_unittest.cc', |
| 310 'i18n/string_search_unittest.cc', |
| 311 'i18n/time_formatting_unittest.cc', |
| 312 # TODO(michaelbai): Removed the below once the fix upstreamed. |
| 313 'memory/mru_cache_unittest.cc', |
| 314 'process_util_unittest.cc', |
| 315 'synchronization/cancellation_flag_unittest.cc', |
| 316 # TODO(michaelbai): The below files are excluded because of the |
| 317 # missing JNI and should be added back once JNI is ready. |
| 318 'android/scoped_java_ref_unittest.cc', |
| 319 'debug/stack_trace_unittest.cc', |
| 320 ], |
| 321 }], |
260 ['use_glib==1', { | 322 ['use_glib==1', { |
261 'sources!': [ | 323 'sources!': [ |
262 'file_version_info_unittest.cc', | 324 'file_version_info_unittest.cc', |
263 ], | 325 ], |
264 'conditions': [ | 326 'conditions': [ |
265 [ 'linux_use_tcmalloc==1', { | 327 [ 'linux_use_tcmalloc==1', { |
266 'dependencies': [ | 328 'dependencies': [ |
267 'allocator/allocator.gyp:allocator', | 329 'allocator/allocator.gyp:allocator', |
268 ], | 330 ], |
269 }, | 331 }, |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
362 'test/scoped_locale.h', | 424 'test/scoped_locale.h', |
363 'test/test_file_util.h', | 425 'test/test_file_util.h', |
364 'test/test_file_util_linux.cc', | 426 'test/test_file_util_linux.cc', |
365 'test/test_file_util_mac.cc', | 427 'test/test_file_util_mac.cc', |
366 'test/test_file_util_posix.cc', | 428 'test/test_file_util_posix.cc', |
367 'test/test_file_util_win.cc', | 429 'test/test_file_util_win.cc', |
368 'test/test_reg_util_win.cc', | 430 'test/test_reg_util_win.cc', |
369 'test/test_reg_util_win.h', | 431 'test/test_reg_util_win.h', |
370 'test/test_suite.cc', | 432 'test/test_suite.cc', |
371 'test/test_suite.h', | 433 'test/test_suite.h', |
| 434 'test/test_stub_android.cc', |
372 'test/test_switches.cc', | 435 'test/test_switches.cc', |
373 'test/test_switches.h', | 436 'test/test_switches.h', |
374 'test/test_timeouts.cc', | 437 'test/test_timeouts.cc', |
375 'test/test_timeouts.h', | 438 'test/test_timeouts.h', |
376 'test/thread_test_helper.cc', | 439 'test/thread_test_helper.cc', |
377 'test/thread_test_helper.h', | 440 'test/thread_test_helper.h', |
378 ], | 441 ], |
379 }, | 442 }, |
380 { | 443 { |
381 'target_name': 'test_support_perf', | 444 'target_name': 'test_support_perf', |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
418 'msvs_settings': { | 481 'msvs_settings': { |
419 'VCLinkerTool': { | 482 'VCLinkerTool': { |
420 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS | 483 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS |
421 }, | 484 }, |
422 }, | 485 }, |
423 }, | 486 }, |
424 ], | 487 ], |
425 }], | 488 }], |
426 ], | 489 ], |
427 } | 490 } |
OLD | NEW |