Chromium Code Reviews| 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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 64 'android/icudt46l_dat.S', | 64 'android/icudt46l_dat.S', |
| 65 'linux/icudt46l_dat.S', | 65 'linux/icudt46l_dat.S', |
| 66 'mac/icudt46l_dat.S', | 66 'mac/icudt46l_dat.S', |
| 67 ], | 67 ], |
| 68 'conditions': [ | 68 'conditions': [ |
| 69 [ 'use_system_icu==1', { | 69 [ 'use_system_icu==1', { |
| 70 'toolsets': ['host'], | 70 'toolsets': ['host'], |
| 71 }, { | 71 }, { |
| 72 'toolsets': ['host', 'target'], | 72 'toolsets': ['host', 'target'], |
| 73 }], | 73 }], |
| 74 [ 'OS == "win"', { | 74 [ 'OS == "win" and icu_use_data_file_flag==0', { |
| 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" and icu_use_data_file_flag', { | 85 [ 'icu_use_data_file_flag', { |
| 86 # Remove any assembly data file. | 86 # Remove any assembly data file. |
| 87 'sources/': [['exclude', 'icudt46l_dat']], | 87 'sources/': [['exclude', 'icudt46l_dat']], |
| 88 # Compile in the stub data symbol. | 88 # Compile in the stub data symbol. |
| 89 'sources': ['source/stubdata/stubdata.c'], | 89 'sources': ['source/stubdata/stubdata.c'], |
| 90 | |
| 90 # Make sure any binary depending on this gets the data file. | 91 # Make sure any binary depending on this gets the data file. |
| 91 'link_settings': { | 92 'conditions': [ |
| 92 'target_conditions': [ | 93 ['OS=="ios"', { |
| 93 ['(OS == "mac" and _mac_bundle) or OS=="ios"', { | 94 'mac_bundle_resources': [ |
|
Mark Mentovai
2013/12/18 21:58:28
This is a static_library, but a static_library can
jungshik at Google
2013/12/18 22:06:13
Hmm.. Then, I wonder how iOS could have worked so
| |
| 94 'mac_bundle_resources': [ | 95 'source/data/in/icudtl.dat', |
| 95 'source/data/in/icudt46l.dat', | 96 ], |
| 97 }, { | |
|
jungshik at Google
2013/12/18 21:33:36
Trybot failed for a CL at https://codereview.chrom
| |
| 98 'copies': [{ | |
| 99 'destination': '<(PRODUCT_DIR)', | |
| 100 'files': [ | |
| 101 'source/data/in/icudtl.dat', | |
| 96 ], | 102 ], |
| 97 }, { | |
| 98 'copies': [{ | |
| 99 'destination': '<(PRODUCT_DIR)', | |
| 100 'files': [ | |
| 101 'source/data/in/icudt46l.dat', | |
| 102 ], | |
| 103 }], | |
| 104 }], | 103 }], |
| 105 ], # target_conditions | 104 }], |
| 106 }, # link_settings | 105 ], # target_conditions |
| 107 }], | 106 }], |
| 108 ], | 107 ], |
| 109 'target_conditions': [ | 108 'target_conditions': [ |
| 110 [ 'OS == "win" or OS == "mac" or OS == "ios" or ' | 109 [ 'OS == "win" or OS == "mac" or OS == "ios" or ' |
| 111 '(OS == "android" and (_toolset == "target" or host_os != "linux") )', { | 110 '(OS == "android" and (_toolset == "target" or host_os != "linux") )', { |
| 112 'sources!': ['linux/icudt46l_dat.S'], | 111 'sources!': ['linux/icudt46l_dat.S'], |
| 113 }], | 112 }], |
| 114 [ 'OS != "android" or _toolset == "host"', { | 113 [ 'OS != "android" or _toolset == "host"', { |
| 115 'sources!': ['android/icudt46l_dat.S'], | 114 'sources!': ['android/icudt46l_dat.S'], |
| 116 }], | 115 }], |
| (...skipping 750 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 867 'toolsets': ['target'], | 866 'toolsets': ['target'], |
| 868 }, { | 867 }, { |
| 869 'toolsets': ['host', 'target'], | 868 'toolsets': ['host', 'target'], |
| 870 }], | 869 }], |
| 871 ], | 870 ], |
| 872 }, | 871 }, |
| 873 ], | 872 ], |
| 874 }], | 873 }], |
| 875 ], | 874 ], |
| 876 } | 875 } |
| OLD | NEW |