| 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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 'type': 'none', | 82 'type': 'none', |
| 83 'copies': [ | 83 'copies': [ |
| 84 { | 84 { |
| 85 'destination': '<(PRODUCT_DIR)', | 85 'destination': '<(PRODUCT_DIR)', |
| 86 'files': [ | 86 'files': [ |
| 87 'windows/icudt.dll', | 87 'windows/icudt.dll', |
| 88 ], | 88 ], |
| 89 }, | 89 }, |
| 90 ], | 90 ], |
| 91 }], | 91 }], |
| 92 [ 'icu_use_data_file_flag', { | 92 [ 'icu_use_data_file_flag==1', { |
| 93 # Remove any assembly data file. | 93 # Remove any assembly data file. |
| 94 'sources/': [['exclude', 'icudt46l_dat']], | 94 'sources/': [['exclude', 'icudt46l_dat']], |
| 95 # Compile in the stub data symbol. | 95 # Compile in the stub data symbol. |
| 96 'sources': ['source/stubdata/stubdata.c'], | 96 'sources': ['source/stubdata/stubdata.c'], |
| 97 | 97 |
| 98 # Make sure any binary depending on this gets the data file. | 98 # Make sure any binary depending on this gets the data file. |
| 99 'conditions': [ | 99 'conditions': [ |
| 100 ['OS != "ios"', { | 100 ['OS != "ios"', { |
| 101 'copies': [{ | 101 'copies': [{ |
| 102 'destination': '<(PRODUCT_DIR)', | 102 'destination': '<(PRODUCT_DIR)', |
| 103 'files': [ | 103 'conditions': [ |
| 104 'source/data/in/icudtl.dat', | 104 ['OS == "android"', { |
| 105 'files': [ |
| 106 'android/icudtl.dat', |
| 107 ], |
| 108 } , { # else: OS != android |
| 109 'files': [ |
| 110 'source/data/in/icudtl.dat', |
| 111 ], |
| 112 }], |
| 105 ], | 113 ], |
| 106 }], | 114 }], |
| 107 } , { # else: OS=="ios" | 115 } , { # else: OS=="ios" |
| 108 'link_settings': { | 116 'link_settings': { |
| 109 'mac_bundle_resources': [ | 117 'mac_bundle_resources': [ |
| 110 'source/data/in/icudtl.dat', | 118 'source/data/in/icudtl.dat', |
| 111 ], | 119 ], |
| 112 }, | 120 }, |
| 113 }], # OS!=ios | 121 }], # OS!=ios |
| 114 ], # conditions | 122 ], # conditions |
| (...skipping 446 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 561 }, | 569 }, |
| 562 'includes': [ | 570 'includes': [ |
| 563 '../../build/shim_headers.gypi', | 571 '../../build/shim_headers.gypi', |
| 564 ], | 572 ], |
| 565 'toolsets': ['target'], | 573 'toolsets': ['target'], |
| 566 }, | 574 }, |
| 567 ], # targets | 575 ], # targets |
| 568 }], | 576 }], |
| 569 ], # conditions | 577 ], # conditions |
| 570 } | 578 } |
| OLD | NEW |