OLD | NEW |
1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2009 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 'target_defaults': { | 6 'target_defaults': { |
7 'defines': [ | 7 'defines': [ |
8 'U_STATIC_IMPLEMENTATION', | 8 'U_STATIC_IMPLEMENTATION', |
9 ], | 9 ], |
10 # TODO(mark): Looks like this is causing the "public" include directories | 10 # TODO(mark): Looks like this is causing the "public" include directories |
(...skipping 10 matching lines...) Expand all Loading... |
21 { | 21 { |
22 'target_name': 'icudata', | 22 'target_name': 'icudata', |
23 'type': '<(library)', | 23 'type': '<(library)', |
24 'msvs_guid': 'D3A97815-3309-44F8-B9BB-CBBE2393A454', | 24 'msvs_guid': 'D3A97815-3309-44F8-B9BB-CBBE2393A454', |
25 'sources': [ | 25 'sources': [ |
26 'icudt42.dll', | 26 'icudt42.dll', |
27 # These are hand-generated, but will do for now. The linux | 27 # These are hand-generated, but will do for now. The linux |
28 # version is an identical copy of the (mac) icudt42l_dat.s file, | 28 # version is an identical copy of the (mac) icudt42l_dat.s file, |
29 # modulo removal of the .private_extern and .const directives and | 29 # modulo removal of the .private_extern and .const directives and |
30 # with no leading underscore on the icudt42_dat symbol. | 30 # with no leading underscore on the icudt42_dat symbol. |
| 31 # The ChromiumOS version is slightly smaller because it doesn't |
| 32 # have locale data for locales Chrome is localized to but ChromeOS |
| 33 # is not localized to. |
31 'linux/icudt42l_dat.s', | 34 'linux/icudt42l_dat.s', |
32 'mac/icudt42l_dat.s', | 35 'mac/icudt42l_dat.s', |
| 36 'cros/icudt42l_dat.s', |
33 ], | 37 ], |
34 'conditions': [ | 38 'conditions': [ |
35 [ 'OS == "win"', { | 39 [ 'OS == "win"', { |
36 'type': 'none', | 40 'type': 'none', |
37 'msvs_tool_files': ['../../build/output_dll_copy.rules'], | 41 'msvs_tool_files': ['../../build/output_dll_copy.rules'], |
38 }, { # else: OS != "win" | 42 }, { # else: OS != "win" |
39 'sources!': ['icudt42.dll'], | 43 'sources!': ['icudt42.dll'], |
40 }], | 44 }], |
41 [ 'OS != "linux"', { | 45 [ 'OS != "linux" or chromeos == 1', { |
42 'sources!': ['linux/icudt42l_dat.s'], | 46 'sources!': ['linux/icudt42l_dat.s'], |
43 }], | 47 }], |
44 [ 'OS != "mac"', { | 48 [ 'OS != "mac"', { |
45 'sources!': ['mac/icudt42l_dat.s'], | 49 'sources!': ['mac/icudt42l_dat.s'], |
46 }], | 50 }], |
| 51 [ 'chromeos != 1', { |
| 52 'sources!': ['cros/icudt42l_dat.s'], |
| 53 }], |
47 ], | 54 ], |
48 }, | 55 }, |
49 { | 56 { |
50 'target_name': 'icui18n', | 57 'target_name': 'icui18n', |
51 'type': '<(library)', | 58 'type': '<(library)', |
52 'msvs_guid': '14E7F2BB-B8FC-4DC1-B04D-31C06BDFA1D9', | 59 'msvs_guid': '14E7F2BB-B8FC-4DC1-B04D-31C06BDFA1D9', |
53 'sources': [ | 60 'sources': [ |
54 'source/i18n/anytrans.cpp', | 61 'source/i18n/anytrans.cpp', |
55 'source/i18n/astro.cpp', | 62 'source/i18n/astro.cpp', |
56 'source/i18n/basictz.cpp', | 63 'source/i18n/basictz.cpp', |
(...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
403 # Since ICU wants to internally use its own deprecated APIs, don't | 410 # Since ICU wants to internally use its own deprecated APIs, don't |
404 # complain about it. | 411 # complain about it. |
405 '-Wno-deprecated-declarations', | 412 '-Wno-deprecated-declarations', |
406 '-Wno-unused-function', | 413 '-Wno-unused-function', |
407 ], | 414 ], |
408 }], | 415 }], |
409 ], | 416 ], |
410 }, | 417 }, |
411 ], | 418 ], |
412 } | 419 } |
OLD | NEW |