OLD | NEW |
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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%': 0, | 8 'icu_use_data_file_flag%': 0, |
9 }, | 9 }, |
10 'conditions': [ | 10 'conditions': [ |
11 ['use_system_icu==0', { | 11 ['use_system_icu==0', { |
12 'target_defaults': { | 12 'target_defaults': { |
13 'defines': [ | 13 'defines': [ |
14 'U_USING_ICU_NAMESPACE=0', | 14 'U_USING_ICU_NAMESPACE=0', |
15 ], | 15 ], |
16 'conditions': [ | 16 'conditions': [ |
17 ['OS!="win" or component=="static_library"', { | 17 ['OS!="win" or component=="static_library"', { |
18 'defines': [ | 18 'defines': [ |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 }], | 56 }], |
57 [ 'OS != "linux" or chromeos == 1', { | 57 [ 'OS != "linux" or chromeos == 1', { |
58 'sources!': ['linux/icudt46l_dat.S'], | 58 'sources!': ['linux/icudt46l_dat.S'], |
59 }], | 59 }], |
60 [ 'OS != "mac"', { | 60 [ 'OS != "mac"', { |
61 'sources!': ['mac/icudt46l_dat.S'], | 61 'sources!': ['mac/icudt46l_dat.S'], |
62 }], | 62 }], |
63 [ 'chromeos != 1', { | 63 [ 'chromeos != 1', { |
64 'sources!': ['cros/icudt46l_dat.S'], | 64 'sources!': ['cros/icudt46l_dat.S'], |
65 }], | 65 }], |
66 [ 'OS != "win" and icu_use_data_file', { | 66 [ 'OS != "win" and icu_use_data_file_flag', { |
67 # Remove any assembly data file. | 67 # Remove any assembly data file. |
68 'sources/': [['exclude', 'icudt46l_dat']], | 68 'sources/': [['exclude', 'icudt46l_dat']], |
69 # Compile in the stub data symbol. | 69 # Compile in the stub data symbol. |
70 'sources': ['source/stubdata/stubdata.c'], | 70 'sources': ['source/stubdata/stubdata.c'], |
71 # Make sure any binary depending on this gets the data file. | 71 # Make sure any binary depending on this gets the data file. |
72 'link_settings': { | 72 'link_settings': { |
73 'target_conditions': [ | 73 'target_conditions': [ |
74 ['OS == "mac" and _mac_bundle', { | 74 ['OS == "mac" and _mac_bundle', { |
75 'mac_bundle_resources': [ | 75 'mac_bundle_resources': [ |
76 'source/data/in/icudt46l.dat', | 76 'source/data/in/icudt46l.dat', |
(...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
509 { | 509 { |
510 'target_name': 'icuuc', | 510 'target_name': 'icuuc', |
511 'type': 'none', | 511 'type': 'none', |
512 'dependencies': ['system_icu'], | 512 'dependencies': ['system_icu'], |
513 'export_dependent_settings': ['system_icu'], | 513 'export_dependent_settings': ['system_icu'], |
514 }, | 514 }, |
515 ], | 515 ], |
516 }], | 516 }], |
517 ], | 517 ], |
518 } | 518 } |
OLD | NEW |