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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | 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) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 'want_separate_host_toolset%': 1, 9 'want_separate_host_toolset%': 1,
10 }, 10 },
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 'android/icudt46l_dat.S', 64 'android/icudt46l_dat.S',
65 'linux/icudt46l_dat.S', 65 'linux/icudt46l_dat.S',
66 'mac/icudt46l_dat.S', 66 'mac/icudt46l_dat.S',
67 ], 67 ],
68 'conditions': [ 68 'conditions': [
69 [ 'use_system_icu==1', { 69 [ 'use_system_icu==1', {
70 'toolsets': ['host'], 70 'toolsets': ['host'],
71 }, { 71 }, {
72 'toolsets': ['host', 'target'], 72 'toolsets': ['host', 'target'],
73 }], 73 }],
74 [ 'OS == "win"', { 74 [ 'OS == "win" and icu_use_data_file_flag==0', {
75 'type': 'none', 75 'type': 'none',
76 'copies': [ 76 'copies': [
77 { 77 {
78 'destination': '<(PRODUCT_DIR)', 78 'destination': '<(PRODUCT_DIR)',
79 'files': [ 79 'files': [
80 'windows/icudt.dll', 80 'windows/icudt.dll',
81 ], 81 ],
82 }, 82 },
83 ], 83 ],
84 }], 84 }],
85 [ 'OS != "win" and icu_use_data_file_flag', { 85 [ 'icu_use_data_file_flag', {
86 # Remove any assembly data file. 86 # Remove any assembly data file.
87 'sources/': [['exclude', 'icudt46l_dat']], 87 'sources/': [['exclude', 'icudt46l_dat']],
88 # Compile in the stub data symbol. 88 # Compile in the stub data symbol.
89 'sources': ['source/stubdata/stubdata.c'], 89 'sources': ['source/stubdata/stubdata.c'],
90 # Make sure any binary depending on this gets the data file. 90 # Make sure any binary depending on this gets the data file.
91 'link_settings': { 91 'link_settings': {
92 'target_conditions': [ 92 'target_conditions': [
93 ['(OS == "mac" and _mac_bundle) or OS=="ios"', { 93 ['(OS == "mac" and _mac_bundle) or OS=="ios"', {
94 'mac_bundle_resources': [ 94 'mac_bundle_resources': [
95 'source/data/in/icudt46l.dat', 95 'source/data/in/icudt46l.dat',
96 ], 96 ],
97 }, { 97 }, {
98 'copies': [{ 98 'copies': [{
scottmg 2013/12/16 19:23:31 I don't understand why this 'copies' is inside of
99 'destination': '<(PRODUCT_DIR)', 99 'destination': '<(PRODUCT_DIR)',
100 'files': [ 100 'files': [
101 'source/data/in/icudt46l.dat', 101 'source/data/in/icudt46l.dat',
102 ], 102 ],
103 }], 103 }],
104 }], 104 }],
105 ], # target_conditions 105 ], # target_conditions
106 }, # link_settings 106 }, # link_settings
107 }], 107 }],
108 ], 108 ],
(...skipping 758 matching lines...) Expand 10 before | Expand all | Expand 10 after
867 'toolsets': ['target'], 867 'toolsets': ['target'],
868 }, { 868 }, {
869 'toolsets': ['host', 'target'], 869 'toolsets': ['host', 'target'],
870 }], 870 }],
871 ], 871 ],
872 }, 872 },
873 ], 873 ],
874 }], 874 }],
875 ], 875 ],
876 } 876 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698