| Index: third_party/icu/icu.gyp
|
| ===================================================================
|
| --- third_party/icu/icu.gyp (revision 69864)
|
| +++ third_party/icu/icu.gyp (working copy)
|
| @@ -1,10 +1,11 @@
|
| -# Copyright (c) 2009 The Chromium Authors. All rights reserved.
|
| +# Copyright (c) 2011 The Chromium Authors. All rights reserved.
|
| # Use of this source code is governed by a BSD-style license that can be
|
| # found in the LICENSE file.
|
|
|
| {
|
| 'variables': {
|
| 'use_system_icu%': 0,
|
| + 'icu_use_data_file%': 0,
|
| },
|
| 'conditions': [
|
| ['use_system_icu==0', {
|
| @@ -63,6 +64,29 @@
|
| [ 'chromeos != 1', {
|
| 'sources!': ['cros/icudt42l_dat.s'],
|
| }],
|
| + [ 'OS != "win" and icu_use_data_file', {
|
| + # Remove any assembly data file.
|
| + 'sources/': [['exclude', 'icudt42l_dat']],
|
| + # Compile in the stub data symbol.
|
| + 'sources': ['source/stubdata/stubdata.c'],
|
| + # Make sure any binary depending on this gets the data file.
|
| + 'link_settings': {
|
| + 'target_conditions': [
|
| + ['OS == "mac" and _mac_bundle', {
|
| + 'mac_bundle_resources': [
|
| + 'source/data/in/icudt42l.dat',
|
| + ],
|
| + }, {
|
| + 'copies': [{
|
| + 'destination': '<(PRODUCT_DIR)',
|
| + 'files': [
|
| + 'source/data/in/icudt42l.dat',
|
| + ],
|
| + }],
|
| + }],
|
| + ], # target_conditions
|
| + }, # link_settings
|
| + }],
|
| [ 'library == "shared_library"', {
|
| 'defines': [
|
| 'PUBLIC_SYMBOL',
|
|
|