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 }], | |
64 ], | 30 ], |
65 'export_dependent_settings': [ | 31 'export_dependent_settings': [ |
66 'base', | 32 'base', |
67 ], | 33 ], |
68 'defines': [ | 34 'defines': [ |
69 'BASE_I18N_IMPLEMENTATION', | 35 'BASE_I18N_IMPLEMENTATION', |
70 ], | 36 ], |
71 'sources': [ | 37 'sources': [ |
72 'i18n/base_i18n_export.h', | 38 'i18n/base_i18n_export.h', |
73 'i18n/bidi_line_iterator.cc', | 39 'i18n/bidi_line_iterator.cc', |
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
287 '../third_party/icu/icu.gyp:icui18n', | 253 '../third_party/icu/icu.gyp:icui18n', |
288 '../third_party/icu/icu.gyp:icuuc', | 254 '../third_party/icu/icu.gyp:icuuc', |
289 ], | 255 ], |
290 'includes': ['../build/nocompile.gypi'], | 256 'includes': ['../build/nocompile.gypi'], |
291 'variables': { | 257 'variables': { |
292 # TODO(ajwong): Is there a way to autodetect this? | 258 # TODO(ajwong): Is there a way to autodetect this? |
293 'module_dir': 'base' | 259 'module_dir': 'base' |
294 }, | 260 }, |
295 'conditions': [ | 261 'conditions': [ |
296 ['OS == "android"', { | 262 ['OS == "android"', { |
297 # TODO(michaelbai): This should be removed once icu supported | |
298 'dependencies!': [ | |
299 '../third_party/icu/icu.gyp:icui18n', | |
300 '../third_party/icu/icu.gyp:icuuc', | |
301 ], | |
302 'sources!': [ | 263 'sources!': [ |
303 # TODO(michaelbai): The belows are excluded because of the missing | |
304 # icu and should be added back once icu is ready. | |
305 'i18n/break_iterator_unittest.cc', | |
306 'i18n/char_iterator_unittest.cc', | |
307 'i18n/case_conversion_unittest.cc', | |
308 'i18n/file_util_icu_unittest.cc', | |
309 'i18n/icu_string_conversions_unittest.cc', | |
310 'i18n/number_formatting_unittest.cc', | |
311 'i18n/rtl_unittest.cc', | |
312 'i18n/string_search_unittest.cc', | |
313 'i18n/time_formatting_unittest.cc', | |
314 # TODO(michaelbai): Removed the below once the fix upstreamed. | 264 # TODO(michaelbai): Removed the below once the fix upstreamed. |
315 'memory/mru_cache_unittest.cc', | 265 'memory/mru_cache_unittest.cc', |
316 'process_util_unittest.cc', | 266 'process_util_unittest.cc', |
317 'synchronization/cancellation_flag_unittest.cc', | 267 'synchronization/cancellation_flag_unittest.cc', |
318 # TODO(michaelbai): The below files are excluded because of the | 268 # TODO(michaelbai): The below files are excluded because of the |
319 # missing JNI and should be added back once JNI is ready. | 269 # missing JNI and should be added back once JNI is ready. |
320 'android/scoped_java_ref_unittest.cc', | 270 'android/scoped_java_ref_unittest.cc', |
321 'debug/stack_trace_unittest.cc', | 271 'debug/stack_trace_unittest.cc', |
322 ], | 272 ], |
323 }], | 273 }], |
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
490 'msvs_settings': { | 440 'msvs_settings': { |
491 'VCLinkerTool': { | 441 'VCLinkerTool': { |
492 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS | 442 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS |
493 }, | 443 }, |
494 }, | 444 }, |
495 }, | 445 }, |
496 ], | 446 ], |
497 }], | 447 }], |
498 ], | 448 ], |
499 } | 449 } |
OLD | NEW |