OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 'use_system_icu%': 0, | 7 'use_system_icu%': 0, |
8 'icu_use_data_file_flag%': 0, | 8 'icu_use_data_file_flag%': 0, |
9 'want_separate_host_toolset%': 1, | 9 'want_separate_host_toolset%': 1, |
10 }, | 10 }, |
(...skipping 64 matching lines...) Loading... |
75 'type': 'none', | 75 'type': 'none', |
76 'copies': [ | 76 'copies': [ |
77 { | 77 { |
78 'destination': '<(PRODUCT_DIR)', | 78 'destination': '<(PRODUCT_DIR)', |
79 'files': [ | 79 'files': [ |
80 'windows/icudt.dll', | 80 'windows/icudt.dll', |
81 ], | 81 ], |
82 }, | 82 }, |
83 ], | 83 ], |
84 }], | 84 }], |
85 [ 'OS == "win" or OS == "mac" or OS == "ios" or OS == "android"', { | |
86 'sources!': ['linux/icudt46l_dat.S'], | |
87 }], | |
88 [ 'OS != "android"', { | |
89 'sources!': ['android/icudt46l_dat.S'], | |
90 }], | |
91 [ 'OS != "mac" and OS != "ios"', { | |
92 'sources!': ['mac/icudt46l_dat.S'], | |
93 }], | |
94 [ 'OS != "win" and icu_use_data_file_flag', { | 85 [ 'OS != "win" and icu_use_data_file_flag', { |
95 # Remove any assembly data file. | 86 # Remove any assembly data file. |
96 'sources/': [['exclude', 'icudt46l_dat']], | 87 'sources/': [['exclude', 'icudt46l_dat']], |
97 # Compile in the stub data symbol. | 88 # Compile in the stub data symbol. |
98 'sources': ['source/stubdata/stubdata.c'], | 89 'sources': ['source/stubdata/stubdata.c'], |
99 # Make sure any binary depending on this gets the data file. | 90 # Make sure any binary depending on this gets the data file. |
100 'link_settings': { | 91 'link_settings': { |
101 'target_conditions': [ | 92 'target_conditions': [ |
102 ['(OS == "mac" and _mac_bundle) or OS=="ios"', { | 93 ['(OS == "mac" and _mac_bundle) or OS=="ios"', { |
103 'mac_bundle_resources': [ | 94 'mac_bundle_resources': [ |
104 'source/data/in/icudt46l.dat', | 95 'source/data/in/icudt46l.dat', |
105 ], | 96 ], |
106 }, { | 97 }, { |
107 'copies': [{ | 98 'copies': [{ |
108 'destination': '<(PRODUCT_DIR)', | 99 'destination': '<(PRODUCT_DIR)', |
109 'files': [ | 100 'files': [ |
110 'source/data/in/icudt46l.dat', | 101 'source/data/in/icudt46l.dat', |
111 ], | 102 ], |
112 }], | 103 }], |
113 }], | 104 }], |
114 ], # target_conditions | 105 ], # target_conditions |
115 }, # link_settings | 106 }, # link_settings |
116 }], | 107 }], |
117 ], | 108 ], |
| 109 'target_conditions': [ |
| 110 [ 'OS == "win" or OS == "mac" or OS == "ios" or ' |
| 111 '(OS == "android" and (_toolset == "target" or host_os != "linux")
)', { |
| 112 'sources!': ['linux/icudt46l_dat.S'], |
| 113 }], |
| 114 [ 'OS != "android" or _toolset == "host"', { |
| 115 'sources!': ['android/icudt46l_dat.S'], |
| 116 }], |
| 117 [ 'OS != "mac" and OS != "ios" and ' |
| 118 '(OS != "android" or _toolset != "host" or host_os != "mac")', { |
| 119 'sources!': ['mac/icudt46l_dat.S'], |
| 120 }], |
| 121 ], |
118 }, | 122 }, |
119 { | 123 { |
120 'target_name': 'icui18n', | 124 'target_name': 'icui18n', |
121 'type': '<(component)', | 125 'type': '<(component)', |
122 'sources': [ | 126 'sources': [ |
123 'source/i18n/anytrans.cpp', | 127 'source/i18n/anytrans.cpp', |
124 'source/i18n/astro.cpp', | 128 'source/i18n/astro.cpp', |
125 'source/i18n/basictz.cpp', | 129 'source/i18n/basictz.cpp', |
126 'source/i18n/bms.cpp', | 130 'source/i18n/bms.cpp', |
127 'source/i18n/bmsearch.cpp', | 131 'source/i18n/bmsearch.cpp', |
(...skipping 735 matching lines...) Loading... |
863 'toolsets': ['target'], | 867 'toolsets': ['target'], |
864 }, { | 868 }, { |
865 'toolsets': ['host', 'target'], | 869 'toolsets': ['host', 'target'], |
866 }], | 870 }], |
867 ], | 871 ], |
868 }, | 872 }, |
869 ], | 873 ], |
870 }], | 874 }], |
871 ], | 875 ], |
872 } | 876 } |
OLD | NEW |