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

Side by Side Diff: icu.gyp

Issue 212593002: Enable x64 build of host toolset (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/icu46@master
Patch Set: Add arm64 and mipsel64 Created 6 years, 8 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
« 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 'includes': [ 6 'includes': [
7 'icu.gypi', 7 'icu.gypi',
8 ], 8 ],
9 'variables': { 9 'variables': {
10 'use_system_icu%': 0, 10 'use_system_icu%': 0,
(...skipping 25 matching lines...) Expand all
36 ['_toolset=="host"', { 36 ['_toolset=="host"', {
37 'cflags': [ '-m32' ], 37 'cflags': [ '-m32' ],
38 'ldflags': [ '-m32' ], 38 'ldflags': [ '-m32' ],
39 'asflags': [ '-32' ], 39 'asflags': [ '-32' ],
40 'xcode_settings': { 40 'xcode_settings': {
41 'ARCHS': [ 'i386' ], 41 'ARCHS': [ 'i386' ],
42 }, 42 },
43 }], 43 }],
44 ], 44 ],
45 }], 45 }],
46 ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \
47 or OS=="netbsd" or OS=="mac" or OS=="android" or OS=="qnx") and \
48 (target_arch=="arm64" or target_arch=="x64" or \
49 target_arch=="mipsel64")', {
50 'target_conditions': [
51 ['_toolset=="host"', {
52 'cflags': [ '-m64' ],
53 'ldflags': [ '-m64' ],
54 'asflags': [ '-64' ],
55 'xcode_settings': {
56 'ARCHS': [ 'x86_64' ],
57 },
58 }],
59 ],
60 }],
46 ], 61 ],
47 'include_dirs': [ 62 'include_dirs': [
48 'source/common', 63 'source/common',
49 'source/i18n', 64 'source/i18n',
50 ], 65 ],
51 'msvs_disabled_warnings': [4005, 4068, 4355, 4996, 4267], 66 'msvs_disabled_warnings': [4005, 4068, 4355, 4996, 4267],
52 }, 67 },
53 'conditions': [ 68 'conditions': [
54 ['use_system_icu==0 or want_separate_host_toolset==1', { 69 ['use_system_icu==0 or want_separate_host_toolset==1', {
55 'targets': [ 70 'targets': [
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 'windows/icudt.dll', 102 'windows/icudt.dll',
88 ], 103 ],
89 }, 104 },
90 ], 105 ],
91 }], 106 }],
92 [ 'icu_use_data_file_flag==1', { 107 [ 'icu_use_data_file_flag==1', {
93 # Remove any assembly data file. 108 # Remove any assembly data file.
94 'sources/': [['exclude', 'icudt46l_dat']], 109 'sources/': [['exclude', 'icudt46l_dat']],
95 # Compile in the stub data symbol. 110 # Compile in the stub data symbol.
96 'sources': ['source/stubdata/stubdata.c'], 111 'sources': ['source/stubdata/stubdata.c'],
97 112
98 # Make sure any binary depending on this gets the data file. 113 # Make sure any binary depending on this gets the data file.
99 'conditions': [ 114 'conditions': [
100 ['OS != "ios"', { 115 ['OS != "ios"', {
101 'copies': [{ 116 'copies': [{
102 'destination': '<(PRODUCT_DIR)', 117 'destination': '<(PRODUCT_DIR)',
103 'conditions': [ 118 'conditions': [
104 ['OS == "android"', { 119 ['OS == "android"', {
105 'files': [ 120 'files': [
106 'android/icudtl.dat', 121 'android/icudtl.dat',
107 ], 122 ],
108 } , { # else: OS != android 123 } , { # else: OS != android
109 'files': [ 124 'files': [
110 'source/data/in/icudtl.dat', 125 'source/data/in/icudtl.dat',
111 ], 126 ],
112 }], 127 }],
113 ], 128 ],
114 }], 129 }],
115 } , { # else: OS=="ios" 130 } , { # else: OS=="ios"
116 'link_settings': { 131 'link_settings': {
117 'mac_bundle_resources': [ 132 'mac_bundle_resources': [
118 'source/data/in/icudtl.dat', 133 'source/data/in/icudtl.dat',
119 ], 134 ],
120 }, 135 },
121 }], # OS!=ios 136 }], # OS!=ios
122 ], # conditions 137 ], # conditions
123 }], # icu_use_data_file_flag 138 }], # icu_use_data_file_flag
124 ], # conditions 139 ], # conditions
125 'target_conditions': [ 140 'target_conditions': [
126 [ 'OS == "win" or OS == "mac" or OS == "ios" or ' 141 [ 'OS == "win" or OS == "mac" or OS == "ios" or '
127 '(OS == "android" and (_toolset != "host" or host_os != "linux")) or ' 142 '(OS == "android" and (_toolset != "host" or host_os != "linux")) or '
128 '(OS == "qnx" and (_toolset == "host" and host_os != "linux"))', { 143 '(OS == "qnx" and (_toolset == "host" and host_os != "linux"))', {
129 'sources!': ['linux/icudt46l_dat.S'], 144 'sources!': ['linux/icudt46l_dat.S'],
130 }], 145 }],
131 [ 'OS != "android" or _toolset == "host"', { 146 [ 'OS != "android" or _toolset == "host"', {
132 'sources!': ['android/icudt46l_dat.S'], 147 'sources!': ['android/icudt46l_dat.S'],
133 }], 148 }],
(...skipping 446 matching lines...) Expand 10 before | Expand all | Expand 10 after
580 }, 595 },
581 'includes': [ 596 'includes': [
582 '../../build/shim_headers.gypi', 597 '../../build/shim_headers.gypi',
583 ], 598 ],
584 'toolsets': ['target'], 599 'toolsets': ['target'],
585 }, 600 },
586 ], # targets 601 ], # targets
587 }], 602 }],
588 ], # conditions 603 ], # conditions
589 } 604 }
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