Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright (c) 2009 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_datafile%': 0, | |
|
Mark Mentovai
2011/02/10 16:08:11
data_file
| |
| 8 }, | 9 }, |
| 9 'conditions': [ | 10 'conditions': [ |
| 10 ['use_system_icu==0', { | 11 ['use_system_icu==0', { |
| 11 'target_defaults': { | 12 'target_defaults': { |
| 12 'defines': [ | 13 'defines': [ |
| 13 'U_USING_ICU_NAMESPACE=0', | 14 'U_USING_ICU_NAMESPACE=0', |
| 14 ], | 15 ], |
| 15 'conditions': [ | 16 'conditions': [ |
| 16 ['OS!="win" or component=="static_library"', { | 17 ['OS!="win" or component=="static_library"', { |
| 17 'defines': [ | 18 'defines': [ |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 56 }], | 57 }], |
| 57 [ 'OS != "linux" or chromeos == 1', { | 58 [ 'OS != "linux" or chromeos == 1', { |
| 58 'sources!': ['linux/icudt42l_dat.S'], | 59 'sources!': ['linux/icudt42l_dat.S'], |
| 59 }], | 60 }], |
| 60 [ 'OS != "mac"', { | 61 [ 'OS != "mac"', { |
| 61 'sources!': ['mac/icudt42l_dat.s'], | 62 'sources!': ['mac/icudt42l_dat.s'], |
| 62 }], | 63 }], |
| 63 [ 'chromeos != 1', { | 64 [ 'chromeos != 1', { |
| 64 'sources!': ['cros/icudt42l_dat.s'], | 65 'sources!': ['cros/icudt42l_dat.s'], |
| 65 }], | 66 }], |
| 67 [ 'OS != "win" and icu_use_datafile', { | |
| 68 # Remove any assembly data file. | |
| 69 'sources/': [['exclude', 'icudt42l_dat']], | |
| 70 # Compile in the stub data symbol. | |
| 71 'sources': ['source/stubdata/stubdata.c'], | |
| 72 # Make sure any binary depending on this gets the datafile. | |
|
Mark Mentovai
2011/02/10 16:08:11
data file
| |
| 73 'link_settings': { | |
| 74 'target_conditions': [ | |
| 75 ['OS == "mac" and _mac_bundle', { | |
| 76 'mac_bundle_resources': [ | |
| 77 'source/data/in/icudt42l.dat', | |
| 78 ], | |
| 79 }, { | |
| 80 'copies': [{ | |
| 81 'destination': '<(PRODUCT_DIR)', | |
| 82 'files': [ | |
| 83 'source/data/in/icudt42l.dat', | |
| 84 ], | |
| 85 }], | |
| 86 }], | |
| 87 ], # target_conditions | |
| 88 }, # link_settings | |
| 89 }], | |
| 66 [ 'library == "shared_library"', { | 90 [ 'library == "shared_library"', { |
| 67 'defines': [ | 91 'defines': [ |
| 68 'PUBLIC_SYMBOL', | 92 'PUBLIC_SYMBOL', |
| 69 ], | 93 ], |
| 70 }], | 94 }], |
| 71 ], | 95 ], |
| 72 }, | 96 }, |
| 73 { | 97 { |
| 74 'target_name': 'icui18n', | 98 'target_name': 'icui18n', |
| 75 'type': '<(component)', | 99 'type': '<(component)', |
| (...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 466 { | 490 { |
| 467 'target_name': 'icuuc', | 491 'target_name': 'icuuc', |
| 468 'type': 'none', | 492 'type': 'none', |
| 469 'dependencies': ['system_icu'], | 493 'dependencies': ['system_icu'], |
| 470 'export_dependent_settings': ['system_icu'], | 494 'export_dependent_settings': ['system_icu'], |
| 471 }, | 495 }, |
| 472 ], | 496 ], |
| 473 }], | 497 }], |
| 474 ], | 498 ], |
| 475 } | 499 } |
| OLD | NEW |