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

Unified Diff: icu.gyp

Issue 111723007: Add support for icu_use_data_file=1 to icu.gyp on Windows (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/icu46/
Patch Set: Created 7 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « android/icudtl.dat ('k') | source/data/in/icudt46l.dat » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: icu.gyp
===================================================================
--- icu.gyp (revision 228516)
+++ icu.gyp (working copy)
@@ -71,7 +71,7 @@
}, {
'toolsets': ['host', 'target'],
}],
- [ 'OS == "win"', {
+ [ 'OS == "win" and icu_use_data_file_flag==0', {
'type': 'none',
'copies': [
{
@@ -82,28 +82,27 @@
},
],
}],
- [ 'OS != "win" and icu_use_data_file_flag', {
+ [ 'icu_use_data_file_flag', {
# Remove any assembly data file.
'sources/': [['exclude', 'icudt46l_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) or OS=="ios"', {
- 'mac_bundle_resources': [
- 'source/data/in/icudt46l.dat',
+ 'conditions': [
+ ['OS=="ios"', {
+ 'mac_bundle_resources': [
Mark Mentovai 2013/12/18 21:58:28 This is a static_library, but a static_library can
jungshik at Google 2013/12/18 22:06:13 Hmm.. Then, I wonder how iOS could have worked so
+ 'source/data/in/icudtl.dat',
+ ],
+ }, {
jungshik at Google 2013/12/18 21:33:36 Trybot failed for a CL at https://codereview.chrom
+ 'copies': [{
+ 'destination': '<(PRODUCT_DIR)',
+ 'files': [
+ 'source/data/in/icudtl.dat',
],
- }, {
- 'copies': [{
- 'destination': '<(PRODUCT_DIR)',
- 'files': [
- 'source/data/in/icudt46l.dat',
- ],
- }],
}],
- ], # target_conditions
- }, # link_settings
+ }],
+ ], # target_conditions
}],
],
'target_conditions': [
« no previous file with comments | « android/icudtl.dat ('k') | source/data/in/icudt46l.dat » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698