| 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 'includes': [ | 6 'includes': [ |
| 7 'icu.gypi', | 7 'icu.gypi', |
| 8 ], | 8 ], |
| 9 'variables': { | 9 'variables': { |
| 10 'use_system_icu%': 0, | 10 'use_system_icu%': 0, |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 'toolsets': [ 'host' ], | 92 'toolsets': [ 'host' ], |
| 93 'copies': [{ | 93 'copies': [{ |
| 94 'destination': '<(PRODUCT_DIR)', | 94 'destination': '<(PRODUCT_DIR)', |
| 95 'conditions': [ | 95 'conditions': [ |
| 96 ['OS == "android"', { | 96 ['OS == "android"', { |
| 97 'files': [ | 97 'files': [ |
| 98 'android/icudtl.dat', | 98 'android/icudtl.dat', |
| 99 ], | 99 ], |
| 100 } , { # else: OS != android | 100 } , { # else: OS != android |
| 101 'files': [ | 101 'files': [ |
| 102 'source/data/in/icudtl.dat', | 102 'common/icudtl.dat', |
| 103 ], | 103 ], |
| 104 }], | 104 }], |
| 105 ], | 105 ], |
| 106 }], | 106 }], |
| 107 }, | 107 }, |
| 108 { | 108 { |
| 109 'target_name': 'icudata', | 109 'target_name': 'icudata', |
| 110 'type': 'static_library', | 110 'type': 'static_library', |
| 111 'defines': [ | 111 'defines': [ |
| 112 'U_HIDE_DATA_SYMBOL', | 112 'U_HIDE_DATA_SYMBOL', |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 148 | 148 |
| 149 # Make sure any binary depending on this gets the data file. | 149 # Make sure any binary depending on this gets the data file. |
| 150 'conditions': [ | 150 'conditions': [ |
| 151 ['OS != "ios"', { | 151 ['OS != "ios"', { |
| 152 'dependencies': [ | 152 'dependencies': [ |
| 153 'copy_icudtl_dat#host', | 153 'copy_icudtl_dat#host', |
| 154 ], | 154 ], |
| 155 } , { # else: OS=="ios" | 155 } , { # else: OS=="ios" |
| 156 'link_settings': { | 156 'link_settings': { |
| 157 'mac_bundle_resources': [ | 157 'mac_bundle_resources': [ |
| 158 'source/data/in/icudtl.dat', | 158 'common/icudtl.dat', |
| 159 ], | 159 ], |
| 160 }, | 160 }, |
| 161 }], # OS!=ios | 161 }], # OS!=ios |
| 162 ], # conditions | 162 ], # conditions |
| 163 }], # icu_use_data_file_flag | 163 }], # icu_use_data_file_flag |
| 164 ], # conditions | 164 ], # conditions |
| 165 'target_conditions': [ | 165 'target_conditions': [ |
| 166 [ 'OS == "win" or OS == "mac" or OS == "ios" or ' | 166 [ 'OS == "win" or OS == "mac" or OS == "ios" or ' |
| 167 '(OS == "android" and (_toolset != "host" or host_os != "linux"))
or ' | 167 '(OS == "android" and (_toolset != "host" or host_os != "linux"))
or ' |
| 168 '(OS == "qnx" and (_toolset == "host" and host_os != "linux"))', { | 168 '(OS == "qnx" and (_toolset == "host" and host_os != "linux"))', { |
| (...skipping 433 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 602 }, | 602 }, |
| 603 'includes': [ | 603 'includes': [ |
| 604 '../../build/shim_headers.gypi', | 604 '../../build/shim_headers.gypi', |
| 605 ], | 605 ], |
| 606 'toolsets': ['target'], | 606 'toolsets': ['target'], |
| 607 }, | 607 }, |
| 608 ], # targets | 608 ], # targets |
| 609 }], | 609 }], |
| 610 ], # conditions | 610 ], # conditions |
| 611 } | 611 } |
| OLD | NEW |