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

Side by Side Diff: icu.gyp

Issue 6648016: Changing icu to use gyp 'copies', rather than use a rules file.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/icu46/
Patch Set: Created 9 years, 9 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 | « 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) 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 'conditions': [ 10 'conditions': [
(...skipping 17 matching lines...) Expand all
28 'source/common', 28 'source/common',
29 'source/i18n', 29 'source/i18n',
30 ], 30 ],
31 'msvs_disabled_warnings': [4005], 31 'msvs_disabled_warnings': [4005],
32 }, 32 },
33 'targets': [ 33 'targets': [
34 { 34 {
35 'target_name': 'icudata', 35 'target_name': 'icudata',
36 'type': '<(library)', 36 'type': '<(library)',
37 'sources': [ 37 'sources': [
38 'windows/icudt46.dll',
39 # These are hand-generated, but will do for now. The linux 38 # These are hand-generated, but will do for now. The linux
40 # version is an identical copy of the (mac) icudt46l_dat.S file, 39 # version is an identical copy of the (mac) icudt46l_dat.S file,
41 # modulo removal of the .private_extern and .const directives and 40 # modulo removal of the .private_extern and .const directives and
42 # with no leading underscore on the icudt46_dat symbol. 41 # with no leading underscore on the icudt46_dat symbol.
43 # The ChromiumOS version is slightly smaller because it doesn't 42 # The ChromiumOS version is slightly smaller because it doesn't
44 # have locale data for locales Chrome is localized to but ChromeOS 43 # have locale data for locales Chrome is localized to but ChromeOS
45 # is not localized to. 44 # is not localized to.
46 'linux/icudt46l_dat.S', 45 'linux/icudt46l_dat.S',
47 'mac/icudt46l_dat.S', 46 'mac/icudt46l_dat.S',
48 'cros/icudt46l_dat.S', 47 'cros/icudt46l_dat.S',
49 ], 48 ],
50 'conditions': [ 49 'conditions': [
51 [ 'OS == "win"', { 50 [ 'OS == "win"', {
52 'type': 'none', 51 'type': 'none',
53 'msvs_tool_files': ['../../build/output_dll_copy.rules'], 52 'copies': [
jeanluc1 2011/03/09 01:31:00 Should we delete the output_dll_copy.rules file to
54 }, { # else: OS != "win" 53 {
55 'sources!': ['windows/icudt46.dll'], 54 'destination': '<(PRODUCT_DIR)',
55 'files': [
56 'windows/icudt46.dll',
57 ],
58 },
59 ],
56 }], 60 }],
57 [ 'OS != "linux" or chromeos == 1', { 61 [ 'OS != "linux" or chromeos == 1', {
58 'sources!': ['linux/icudt46l_dat.S'], 62 'sources!': ['linux/icudt46l_dat.S'],
59 }], 63 }],
60 [ 'OS != "mac"', { 64 [ 'OS != "mac"', {
61 'sources!': ['mac/icudt46l_dat.S'], 65 'sources!': ['mac/icudt46l_dat.S'],
62 }], 66 }],
63 [ 'chromeos != 1', { 67 [ 'chromeos != 1', {
64 'sources!': ['cros/icudt46l_dat.S'], 68 'sources!': ['cros/icudt46l_dat.S'],
65 }], 69 }],
(...skipping 473 matching lines...) Expand 10 before | Expand all | Expand 10 after
539 { 543 {
540 'target_name': 'icuuc', 544 'target_name': 'icuuc',
541 'type': 'none', 545 'type': 'none',
542 'dependencies': ['system_icu'], 546 'dependencies': ['system_icu'],
543 'export_dependent_settings': ['system_icu'], 547 'export_dependent_settings': ['system_icu'],
544 }, 548 },
545 ], 549 ],
546 }], 550 }],
547 ], 551 ],
548 } 552 }
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