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

Side by Side Diff: tools/gyp/configurations.gypi

Issue 303443010: Prepares for arm64 cross-build. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 7 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 | « tools/build.py ('k') | tools/gyp/configurations_make.gypi » ('j') | 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 Dart project authors. Please see the AUTHORS file 1 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 # for details. All rights reserved. Use of this source code is governed by a 2 # for details. All rights reserved. Use of this source code is governed by a
3 # BSD-style license that can be found in the LICENSE file. 3 # BSD-style license that can be found in the LICENSE file.
4 4
5 { 5 {
6 'variables': { 6 'variables': {
7 'common_gcc_warning_flags': [ 7 'common_gcc_warning_flags': [
8 '-Wall', 8 '-Wall',
9 '-Wextra', # Also known as -W. 9 '-Wextra', # Also known as -W.
10 '-Wno-unused-parameter', 10 '-Wno-unused-parameter',
11 ], 11 ],
12 12
13 # Default value. This may be overridden in a containing project gyp. 13 # Default value. This may be overridden in a containing project gyp.
14 'target_arch%': 'ia32', 14 'target_arch%': 'ia32',
15 15
16 'conditions': [ 16 'conditions': [
17 ['"<(target_arch)"=="ia32"', { 'dart_target_arch': 'IA32', }], 17 ['"<(target_arch)"=="ia32"', { 'dart_target_arch': 'IA32', }],
18 ['"<(target_arch)"=="x64"', { 'dart_target_arch': 'X64', }], 18 ['"<(target_arch)"=="x64"', { 'dart_target_arch': 'X64', }],
19 ['"<(target_arch)"=="arm"', { 'dart_target_arch': 'ARM', }], 19 ['"<(target_arch)"=="arm"', { 'dart_target_arch': 'ARM', }],
20 ['"<(target_arch)"=="arm64"', { 'dart_target_arch': 'ARM64', }],
20 ['"<(target_arch)"=="simarm"', { 'dart_target_arch': 'SIMARM', }], 21 ['"<(target_arch)"=="simarm"', { 'dart_target_arch': 'SIMARM', }],
21 ['"<(target_arch)"=="simarm64"', { 'dart_target_arch': 'SIMARM64', }], 22 ['"<(target_arch)"=="simarm64"', { 'dart_target_arch': 'SIMARM64', }],
22 ['"<(target_arch)"=="mips"', { 'dart_target_arch': 'MIPS', }], 23 ['"<(target_arch)"=="mips"', { 'dart_target_arch': 'MIPS', }],
23 ['"<(target_arch)"=="simmips"', { 'dart_target_arch': 'SIMMIPS', }], 24 ['"<(target_arch)"=="simmips"', { 'dart_target_arch': 'SIMMIPS', }],
24 [ 'OS=="linux"', { 'dart_target_os': 'Linux', } ], 25 [ 'OS=="linux"', { 'dart_target_os': 'Linux', } ],
25 [ 'OS=="mac"', { 'dart_target_os': 'Macos', } ], 26 [ 'OS=="mac"', { 'dart_target_os': 'Macos', } ],
26 [ 'OS=="win"', { 'dart_target_os': 'Win', } ], 27 [ 'OS=="win"', { 'dart_target_os': 'Win', } ],
27 # The OS is set to "android" only when we are building Dartium+Clank. We 28 # The OS is set to "android" only when we are building Dartium+Clank. We
28 # use 'chrome_target_os' so that Release and Debug configurations inherit 29 # use 'chrome_target_os' so that Release and Debug configurations inherit
29 # from Android configurations when OS=="android". If OS is not set to 30 # from Android configurations when OS=="android". If OS is not set to
(...skipping 23 matching lines...) Expand all
53 'abstract': 1, 54 'abstract': 1,
54 }, 55 },
55 56
56 'Dart_simarm_Base': { 57 'Dart_simarm_Base': {
57 'abstract': 1, 58 'abstract': 1,
58 'defines': [ 59 'defines': [
59 'TARGET_ARCH_ARM', 60 'TARGET_ARCH_ARM',
60 ] 61 ]
61 }, 62 },
62 63
64 'Dart_arm_Base': {
65 'abstract': 1,
66 'defines': [
67 'TARGET_ARCH_ARM',
68 ],
69 },
70
63 'Dart_simarm64_Base': { 71 'Dart_simarm64_Base': {
64 'abstract': 1, 72 'abstract': 1,
65 'defines': [ 73 'defines': [
66 'TARGET_ARCH_ARM64', 74 'TARGET_ARCH_ARM64',
67 ] 75 ]
68 }, 76 },
69 77
70 'Dart_arm_Base': { 78 'Dart_arm64_Base': {
71 'abstract': 1, 79 'abstract': 1,
72 'defines': [ 80 'defines': [
73 'TARGET_ARCH_ARM', 81 'TARGET_ARCH_ARM64',
74 ], 82 ],
75 }, 83 },
76 84
77 'Dart_simmips_Base': { 85 'Dart_simmips_Base': {
78 'abstract': 1, 86 'abstract': 1,
79 'defines': [ 87 'defines': [
80 'TARGET_ARCH_MIPS', 88 'TARGET_ARCH_MIPS',
81 ] 89 ]
82 }, 90 },
83 91
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 239
232 'ReleaseARM': { 240 'ReleaseARM': {
233 'inherit_from': [ 241 'inherit_from': [
234 'Dart_Base', 'Dart_arm_Base', 'Dart_Release', 242 'Dart_Base', 'Dart_arm_Base', 'Dart_Release',
235 'Dart_Linux_Base', 243 'Dart_Linux_Base',
236 'Dart_Linux_arm_Base', 244 'Dart_Linux_arm_Base',
237 'Dart_Linux_Release', 245 'Dart_Linux_Release',
238 ], 246 ],
239 }, 247 },
240 248
249 'DebugXARM64': {
250 'inherit_from': [
251 'Dart_Base', 'Dart_arm64_Base', 'Dart_Debug',
252 'Dart_Linux_Base',
253 'Dart_Linux_xarm64_Base',
254 'Dart_Linux_Debug',
255 ],
256 },
257
258 'ReleaseXARM64': {
259 'inherit_from': [
260 'Dart_Base', 'Dart_arm64_Base', 'Dart_Release',
261 'Dart_Linux_Base',
262 'Dart_Linux_xarm64_Base',
263 'Dart_Linux_Release',
264 ],
265 },
266
267 'DebugARM64': {
268 'inherit_from': [
269 'Dart_Base', 'Dart_arm64_Base', 'Dart_Debug',
270 'Dart_Linux_Base',
271 'Dart_Linux_arm64_Base',
272 'Dart_Linux_Debug',
273 ],
274 },
275
276 'ReleaseARM64': {
277 'inherit_from': [
278 'Dart_Base', 'Dart_arm64_Base', 'Dart_Release',
279 'Dart_Linux_Base',
280 'Dart_Linux_arm64_Base',
281 'Dart_Linux_Release',
282 ],
283 },
284
241 'DebugXMIPS': { 285 'DebugXMIPS': {
242 'inherit_from': [ 286 'inherit_from': [
243 'Dart_Base', 'Dart_mips_Base', 'Dart_Debug', 287 'Dart_Base', 'Dart_mips_Base', 'Dart_Debug',
244 'Dart_Linux_Base', 288 'Dart_Linux_Base',
245 'Dart_Linux_xmips_Base', 289 'Dart_Linux_xmips_Base',
246 'Dart_Linux_Debug', 290 'Dart_Linux_Debug',
247 ], 291 ],
248 }, 292 },
249 293
250 'ReleaseXMIPS': { 294 'ReleaseXMIPS': {
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
320 'Debug': { 364 'Debug': {
321 'inherit_from': ['Debug<(chrome_target_os)<(dart_target_arch)'] 365 'inherit_from': ['Debug<(chrome_target_os)<(dart_target_arch)']
322 }, 366 },
323 367
324 'Release': { 368 'Release': {
325 'inherit_from': ['Release<(chrome_target_os)<(dart_target_arch)'] 369 'inherit_from': ['Release<(chrome_target_os)<(dart_target_arch)']
326 }, 370 },
327 }, 371 },
328 }, 372 },
329 } 373 }
OLDNEW
« no previous file with comments | « tools/build.py ('k') | tools/gyp/configurations_make.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698