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: gypfiles/toolchain.gypi

Issue 2121123002: Broaden the condition under which gold is used as linker. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 5 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 | « gypfiles/standalone.gypi ('k') | 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 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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 }], 100 }],
101 ['OS=="linux" and host_arch=="ia32"', { 101 ['OS=="linux" and host_arch=="ia32"', {
102 'binutils_dir%': 'third_party/binutils/Linux_ia32/Release/bin', 102 'binutils_dir%': 'third_party/binutils/Linux_ia32/Release/bin',
103 }], 103 }],
104 104
105 # linux_use_bundled_gold: whether to use the gold linker binary checked 105 # linux_use_bundled_gold: whether to use the gold linker binary checked
106 # into third_party/binutils. Force this off via GYP_DEFINES when you 106 # into third_party/binutils. Force this off via GYP_DEFINES when you
107 # are using a custom toolchain and need to control -B in ldflags. 107 # are using a custom toolchain and need to control -B in ldflags.
108 # Do not use 32-bit gold on 32-bit hosts as it runs out address space 108 # Do not use 32-bit gold on 32-bit hosts as it runs out address space
109 # for component=static_library builds. 109 # for component=static_library builds.
110 ['OS=="linux" and (target_arch=="x64" or target_arch=="arm")', { 110 ['((OS=="linux" or OS=="android") and (target_arch=="x64" or target_arch== "arm" or (target_arch=="ia32" and host_arch=="x64"))) or (OS=="linux" and target _arch=="mipsel")', {
111 'linux_use_bundled_gold%': 1, 111 'linux_use_bundled_gold%': 1,
112 }, { 112 }, {
113 'linux_use_bundled_gold%': 0, 113 'linux_use_bundled_gold%': 0,
114 }], 114 }],
115 # linux_use_bundled_binutils: whether to use the binary binutils 115 # linux_use_bundled_binutils: whether to use the binary binutils
116 # checked into third_party/binutils. These are not multi-arch so cannot 116 # checked into third_party/binutils. These are not multi-arch so cannot
117 # be used except on x86 and x86-64 (the only two architectures which 117 # be used except on x86 and x86-64 (the only two architectures which
118 # are currently checke in). Force this off via GYP_DEFINES when you 118 # are currently checke in). Force this off via GYP_DEFINES when you
119 # are using a custom toolchain and need to control -B in cflags. 119 # are using a custom toolchain and need to control -B in cflags.
120 ['OS=="linux" and (target_arch=="ia32" or target_arch=="x64")', { 120 ['OS=="linux" and (target_arch=="ia32" or target_arch=="x64")', {
(...skipping 1270 matching lines...) Expand 10 before | Expand all | Expand 10 after
1391 ], 1391 ],
1392 }, 1392 },
1393 'Release_x64': { 1393 'Release_x64': {
1394 'inherit_from': ['ReleaseBase'], 1394 'inherit_from': ['ReleaseBase'],
1395 }, 1395 },
1396 }], 1396 }],
1397 ], 1397 ],
1398 }, # configurations 1398 }, # configurations
1399 }, # target_defaults 1399 }, # target_defaults
1400 } 1400 }
OLDNEW
« no previous file with comments | « gypfiles/standalone.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698