Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(504)

Side by Side Diff: icu.gyp

Issue 7725002: Remove a separate ICU data file for CrOS. (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/icu46/
Patch Set: '' Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « cros/data/locales/te.txt ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_flag%': 0, 8 'icu_use_data_file_flag%': 0,
9 }, 9 },
10 'target_defaults': { 10 'target_defaults': {
(...skipping 30 matching lines...) Expand all
41 }, 41 },
42 'targets': [ 42 'targets': [
43 { 43 {
44 'target_name': 'icudata', 44 'target_name': 'icudata',
45 'type': '<(library)', 45 'type': '<(library)',
46 'sources': [ 46 'sources': [
47 # These are hand-generated, but will do for now. The linux 47 # These are hand-generated, but will do for now. The linux
48 # version is an identical copy of the (mac) icudt46l_dat.S file, 48 # version is an identical copy of the (mac) icudt46l_dat.S file,
49 # modulo removal of the .private_extern and .const directives and 49 # modulo removal of the .private_extern and .const directives and
50 # with no leading underscore on the icudt46_dat symbol. 50 # with no leading underscore on the icudt46_dat symbol.
51 # The ChromiumOS version is slightly smaller because it doesn't
52 # have locale data for locales Chrome is localized to but ChromeOS
53 # is not localized to.
54 'linux/icudt46l_dat.S', 51 'linux/icudt46l_dat.S',
55 'mac/icudt46l_dat.S', 52 'mac/icudt46l_dat.S',
56 'cros/icudt46l_dat.S',
57 ], 53 ],
58 'conditions': [ 54 'conditions': [
59 [ 'OS == "win"', { 55 [ 'OS == "win"', {
60 'type': 'none', 56 'type': 'none',
61 'copies': [ 57 'copies': [
62 { 58 {
63 'destination': '<(PRODUCT_DIR)', 59 'destination': '<(PRODUCT_DIR)',
64 'files': [ 60 'files': [
65 'windows/icudt.dll', 61 'windows/icudt.dll',
66 ], 62 ],
67 }, 63 },
68 ], 64 ],
69 }], 65 }],
70 [ 'OS == "win" or OS == "mac" or chromeos == 1', { 66 [ 'OS == "win" or OS == "mac"', {
71 'sources!': ['linux/icudt46l_dat.S'], 67 'sources!': ['linux/icudt46l_dat.S'],
72 }], 68 }],
73 [ 'OS != "mac"', { 69 [ 'OS != "mac"', {
74 'sources!': ['mac/icudt46l_dat.S'], 70 'sources!': ['mac/icudt46l_dat.S'],
75 }], 71 }],
76 [ 'chromeos != 1', {
77 'sources!': ['cros/icudt46l_dat.S'],
78 }],
79 [ 'OS != "win" and icu_use_data_file_flag', { 72 [ 'OS != "win" and icu_use_data_file_flag', {
80 # Remove any assembly data file. 73 # Remove any assembly data file.
81 'sources/': [['exclude', 'icudt46l_dat']], 74 'sources/': [['exclude', 'icudt46l_dat']],
82 # Compile in the stub data symbol. 75 # Compile in the stub data symbol.
83 'sources': ['source/stubdata/stubdata.c'], 76 'sources': ['source/stubdata/stubdata.c'],
84 # Make sure any binary depending on this gets the data file. 77 # Make sure any binary depending on this gets the data file.
85 'link_settings': { 78 'link_settings': {
86 'target_conditions': [ 79 'target_conditions': [
87 ['OS == "mac" and _mac_bundle', { 80 ['OS == "mac" and _mac_bundle', {
88 'mac_bundle_resources': [ 81 'mac_bundle_resources': [
(...skipping 460 matching lines...) Expand 10 before | Expand all | Expand 10 after
549 { 542 {
550 'target_name': 'icuuc', 543 'target_name': 'icuuc',
551 'type': 'none', 544 'type': 'none',
552 'dependencies': ['system_icu'], 545 'dependencies': ['system_icu'],
553 'export_dependent_settings': ['system_icu'], 546 'export_dependent_settings': ['system_icu'],
554 }, 547 },
555 ], 548 ],
556 }], 549 }],
557 ], 550 ],
558 } 551 }
OLDNEW
« no previous file with comments | « cros/data/locales/te.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698