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

Side by Side Diff: build/toolchain.gypi

Issue 207793002: Prepare switch from a64 to arm64 (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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 | « build/standalone.gypi ('k') | test/cctest/cctest.gyp » ('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 2013 the V8 project authors. All rights reserved. 1 # Copyright 2013 the V8 project authors. All rights reserved.
2 # Redistribution and use in source and binary forms, with or without 2 # Redistribution and use in source and binary forms, with or without
3 # modification, are permitted provided that the following conditions are 3 # modification, are permitted provided that the following conditions are
4 # met: 4 # met:
5 # 5 #
6 # * Redistributions of source code must retain the above copyright 6 # * Redistributions of source code must retain the above copyright
7 # notice, this list of conditions and the following disclaimer. 7 # notice, this list of conditions and the following disclaimer.
8 # * Redistributions in binary form must reproduce the above 8 # * Redistributions in binary form must reproduce the above
9 # copyright notice, this list of conditions and the following 9 # copyright notice, this list of conditions and the following
10 # disclaimer in the documentation and/or other materials provided 10 # disclaimer in the documentation and/or other materials provided
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 }], 261 }],
262 ], 262 ],
263 'defines': [ 263 'defines': [
264 'ARM_TEST', 264 'ARM_TEST',
265 ], 265 ],
266 }], 266 }],
267 ], 267 ],
268 }], # _toolset=="target" 268 }], # _toolset=="target"
269 ], 269 ],
270 }], # v8_target_arch=="arm" 270 }], # v8_target_arch=="arm"
271 ['v8_target_arch=="a64"', { 271 ['v8_target_arch=="a64" or v8_target_arch=="arm64"', {
272 'defines': [ 272 'defines': [
273 'V8_TARGET_ARCH_A64', 273 'V8_TARGET_ARCH_A64',
274 ], 274 ],
275 }], 275 }],
276 ['v8_target_arch=="ia32"', { 276 ['v8_target_arch=="ia32"', {
277 'defines': [ 277 'defines': [
278 'V8_TARGET_ARCH_IA32', 278 'V8_TARGET_ARCH_IA32',
279 ], 279 ],
280 }], # v8_target_arch=="ia32" 280 }], # v8_target_arch=="ia32"
281 ['v8_target_arch=="mipsel"', { 281 ['v8_target_arch=="mipsel"', {
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
406 'ldflags': [ '<(m32flag)' ], 406 'ldflags': [ '<(m32flag)' ],
407 }], 407 }],
408 ], 408 ],
409 'xcode_settings': { 409 'xcode_settings': {
410 'ARCHS': [ 'i386' ], 410 'ARCHS': [ 'i386' ],
411 }, 411 },
412 }], 412 }],
413 ], 413 ],
414 }], 414 }],
415 ['(OS=="linux" or OS=="android") and \ 415 ['(OS=="linux" or OS=="android") and \
416 (v8_target_arch=="x64" or v8_target_arch=="a64")', { 416 (v8_target_arch=="x64" or v8_target_arch=="a64" or \
417 v8_target_arch=="arm64")', {
417 # Check whether the host compiler and target compiler support the 418 # Check whether the host compiler and target compiler support the
418 # '-m64' option and set it if so. 419 # '-m64' option and set it if so.
419 'target_conditions': [ 420 'target_conditions': [
420 ['_toolset=="host"', { 421 ['_toolset=="host"', {
421 'variables': { 422 'variables': {
422 'm64flag': '<!(($(echo ${CXX_host:-$(which g++)}) -m64 -E - > /dev /null 2>&1 < /dev/null) && echo "-m64" || true)', 423 'm64flag': '<!(($(echo ${CXX_host:-$(which g++)}) -m64 -E - > /dev /null 2>&1 < /dev/null) && echo "-m64" || true)',
423 }, 424 },
424 'cflags': [ '<(m64flag)' ], 425 'cflags': [ '<(m64flag)' ],
425 'ldflags': [ '<(m64flag)' ], 426 'ldflags': [ '<(m64flag)' ],
426 }], 427 }],
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
695 'OptimizeReferences': '2', 696 'OptimizeReferences': '2',
696 'EnableCOMDATFolding': '2', 697 'EnableCOMDATFolding': '2',
697 }, 698 },
698 }, 699 },
699 }], # OS=="win" 700 }], # OS=="win"
700 ], # conditions 701 ], # conditions
701 }, # Release 702 }, # Release
702 }, # configurations 703 }, # configurations
703 }, # target_defaults 704 }, # target_defaults
704 } 705 }
OLDNEW
« no previous file with comments | « build/standalone.gypi ('k') | test/cctest/cctest.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698