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

Side by Side Diff: BUILD.gn

Issue 2116913002: Land v8-side changes to switch to v8_current_cpu in the GN build. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rework to use custom_toolchain, not buildconfig 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 | « no previous file | build_overrides/v8.gni » ('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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 import("//build/config/android/config.gni") 5 import("//build/config/android/config.gni")
6 import("//build/config/arm.gni") 6 import("//build/config/arm.gni")
7 import("//build/config/dcheck_always_on.gni") 7 import("//build/config/dcheck_always_on.gni")
8 import("//build/config/mips.gni") 8 import("//build/config/mips.gni")
9 import("//build/config/sanitizers/sanitizers.gni") 9 import("//build/config/sanitizers/sanitizers.gni")
10 10
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 } 165 }
166 } 166 }
167 167
168 config("toolchain") { 168 config("toolchain") {
169 visibility = [ ":*" ] # Only targets in this file can depend on this. 169 visibility = [ ":*" ] # Only targets in this file can depend on this.
170 170
171 defines = [] 171 defines = []
172 cflags = [] 172 cflags = []
173 ldflags = [] 173 ldflags = []
174 174
175 if (v8_target_cpu == "arm") { 175 if (v8_current_cpu == "arm") {
176 defines += [ "V8_TARGET_ARCH_ARM" ] 176 defines += [ "V8_TARGET_ARCH_ARM" ]
177 if (arm_version == 7) { 177 if (arm_version == 7) {
178 defines += [ "CAN_USE_ARMV7_INSTRUCTIONS" ] 178 defines += [ "CAN_USE_ARMV7_INSTRUCTIONS" ]
179 } 179 }
180 if (arm_fpu == "vfpv3-d16") { 180 if (arm_fpu == "vfpv3-d16") {
181 defines += [ "CAN_USE_VFP3_INSTRUCTIONS" ] 181 defines += [ "CAN_USE_VFP3_INSTRUCTIONS" ]
182 } else if (arm_fpu == "vfpv3") { 182 } else if (arm_fpu == "vfpv3") {
183 defines += [ 183 defines += [
184 "CAN_USE_VFP3_INSTRUCTIONS", 184 "CAN_USE_VFP3_INSTRUCTIONS",
185 "CAN_USE_VFP32DREGS", 185 "CAN_USE_VFP32DREGS",
(...skipping 10 matching lines...) Expand all
196 196
197 if (current_cpu != "arm") { 197 if (current_cpu != "arm") {
198 # These defines ares used for the ARM simulator. 198 # These defines ares used for the ARM simulator.
199 if (arm_float_abi == "hard") { 199 if (arm_float_abi == "hard") {
200 defines += [ "USE_EABI_HARDFLOAT=1" ] 200 defines += [ "USE_EABI_HARDFLOAT=1" ]
201 } else if (arm_float_abi == "softfp") { 201 } else if (arm_float_abi == "softfp") {
202 defines += [ "USE_EABI_HARDFLOAT=0" ] 202 defines += [ "USE_EABI_HARDFLOAT=0" ]
203 } 203 }
204 } 204 }
205 } 205 }
206 if (v8_target_cpu == "arm64") { 206 if (v8_current_cpu == "arm64") {
207 defines += [ "V8_TARGET_ARCH_ARM64" ] 207 defines += [ "V8_TARGET_ARCH_ARM64" ]
208 } 208 }
209 209
210 # TODO(jochen): Add support for mips. 210 # TODO(jochen): Add support for mips.
211 if (v8_target_cpu == "mipsel") { 211 if (v8_current_cpu == "mipsel") {
212 defines += [ "V8_TARGET_ARCH_MIPS" ] 212 defines += [ "V8_TARGET_ARCH_MIPS" ]
213 if (v8_can_use_fpu_instructions) { 213 if (v8_can_use_fpu_instructions) {
214 defines += [ "CAN_USE_FPU_INSTRUCTIONS" ] 214 defines += [ "CAN_USE_FPU_INSTRUCTIONS" ]
215 } 215 }
216 if (v8_use_mips_abi_hardfloat) { 216 if (v8_use_mips_abi_hardfloat) {
217 defines += [ 217 defines += [
218 "__mips_hard_float=1", 218 "__mips_hard_float=1",
219 "CAN_USE_FPU_INSTRUCTIONS", 219 "CAN_USE_FPU_INSTRUCTIONS",
220 ] 220 ]
221 } else { 221 } else {
(...skipping 14 matching lines...) Expand all
236 defines += [ "FPU_MODE_FP32" ] 236 defines += [ "FPU_MODE_FP32" ]
237 } 237 }
238 } else if (mips_arch_variant == "r1") { 238 } else if (mips_arch_variant == "r1") {
239 defines += [ "FPU_MODE_FP32" ] 239 defines += [ "FPU_MODE_FP32" ]
240 } 240 }
241 241
242 # TODO(jochen): Add support for mips_arch_variant rx and loongson. 242 # TODO(jochen): Add support for mips_arch_variant rx and loongson.
243 } 243 }
244 244
245 # TODO(jochen): Add support for mips64. 245 # TODO(jochen): Add support for mips64.
246 if (v8_target_cpu == "mips64el") { 246 if (v8_current_cpu == "mips64el") {
247 defines += [ "V8_TARGET_ARCH_MIPS64" ] 247 defines += [ "V8_TARGET_ARCH_MIPS64" ]
248 if (v8_can_use_fpu_instructions) { 248 if (v8_can_use_fpu_instructions) {
249 defines += [ "CAN_USE_FPU_INSTRUCTIONS" ] 249 defines += [ "CAN_USE_FPU_INSTRUCTIONS" ]
250 } 250 }
251 251
252 # TODO(jochen): Add support for big endian host byteorder. 252 # TODO(jochen): Add support for big endian host byteorder.
253 defines += [ "V8_TARGET_ARCH_MIPS64_LE" ] 253 defines += [ "V8_TARGET_ARCH_MIPS64_LE" ]
254 if (v8_use_mips_abi_hardfloat) { 254 if (v8_use_mips_abi_hardfloat) {
255 defines += [ 255 defines += [
256 "__mips_hard_float=1", 256 "__mips_hard_float=1",
257 "CAN_USE_FPU_INSTRUCTIONS", 257 "CAN_USE_FPU_INSTRUCTIONS",
258 ] 258 ]
259 } else { 259 } else {
260 defines += [ "__mips_soft_float=1" ] 260 defines += [ "__mips_soft_float=1" ]
261 } 261 }
262 if (mips_arch_variant == "r6") { 262 if (mips_arch_variant == "r6") {
263 defines += [ "_MIPS_ARCH_MIPS64R6" ] 263 defines += [ "_MIPS_ARCH_MIPS64R6" ]
264 } else if (mips_arch_variant == "r2") { 264 } else if (mips_arch_variant == "r2") {
265 defines += [ "_MIPS_ARCH_MIPS64R2" ] 265 defines += [ "_MIPS_ARCH_MIPS64R2" ]
266 } 266 }
267 } 267 }
268 if (v8_target_cpu == "s390" || v8_target_cpu == "s390x") { 268 if (v8_current_cpu == "s390" || v8_current_cpu == "s390x") {
269 defines += [ "V8_TARGET_ARCH_S390" ] 269 defines += [ "V8_TARGET_ARCH_S390" ]
270 if (v8_target_cpu == "s390x") { 270 if (v8_current_cpu == "s390x") {
271 defines += [ "V8_TARGET_ARCH_S390X" ] 271 defines += [ "V8_TARGET_ARCH_S390X" ]
272 } 272 }
273 if (host_cpu == "x64" || host_cpu == "x86") { 273 if (host_cpu == "x64" || host_cpu == "x86") {
274 defines += [ "V8_TARGET_ARCH_S390_LE_SIM" ] 274 defines += [ "V8_TARGET_ARCH_S390_LE_SIM" ]
275 } 275 }
276 } 276 }
277 if (v8_target_cpu == "x86") { 277 if (v8_current_cpu == "x86") {
278 defines += [ "V8_TARGET_ARCH_IA32" ] 278 defines += [ "V8_TARGET_ARCH_IA32" ]
279 if (is_win) { 279 if (is_win) {
280 # Ensure no surprising artifacts from 80bit double math with x86. 280 # Ensure no surprising artifacts from 80bit double math with x86.
281 cflags += [ "/arch:SSE2" ] 281 cflags += [ "/arch:SSE2" ]
282 } 282 }
283 } 283 }
284 if (v8_target_cpu == "x64") { 284 if (v8_current_cpu == "x64") {
285 defines += [ "V8_TARGET_ARCH_X64" ] 285 defines += [ "V8_TARGET_ARCH_X64" ]
286 if (is_win) { 286 if (is_win) {
287 # Increase the initial stack size. The default is 1MB, this is 2MB. This 287 # Increase the initial stack size. The default is 1MB, this is 2MB. This
288 # applies only to executables and shared libraries produced by V8 since 288 # applies only to executables and shared libraries produced by V8 since
289 # ldflags are not pushed to dependants. 289 # ldflags are not pushed to dependants.
290 ldflags += [ "/STACK:2097152" ] 290 ldflags += [ "/STACK:2097152" ]
291 } 291 }
292 } 292 }
293 293
294 # TODO(jochen): Support v8_enable_prof on Windows. 294 # TODO(jochen): Support v8_enable_prof on Windows.
(...skipping 1260 matching lines...) Expand 10 before | Expand all | Expand 10 after
1555 "src/wasm/wasm-opcodes.cc", 1555 "src/wasm/wasm-opcodes.cc",
1556 "src/wasm/wasm-opcodes.h", 1556 "src/wasm/wasm-opcodes.h",
1557 "src/wasm/wasm-result.cc", 1557 "src/wasm/wasm-result.cc",
1558 "src/wasm/wasm-result.h", 1558 "src/wasm/wasm-result.h",
1559 "src/zone-allocator.h", 1559 "src/zone-allocator.h",
1560 "src/zone-containers.h", 1560 "src/zone-containers.h",
1561 "src/zone.cc", 1561 "src/zone.cc",
1562 "src/zone.h", 1562 "src/zone.h",
1563 ] 1563 ]
1564 1564
1565 if (v8_target_cpu == "x86") { 1565 if (v8_current_cpu == "x86") {
1566 sources += [ 1566 sources += [
1567 "src/compiler/ia32/code-generator-ia32.cc", 1567 "src/compiler/ia32/code-generator-ia32.cc",
1568 "src/compiler/ia32/instruction-codes-ia32.h", 1568 "src/compiler/ia32/instruction-codes-ia32.h",
1569 "src/compiler/ia32/instruction-scheduler-ia32.cc", 1569 "src/compiler/ia32/instruction-scheduler-ia32.cc",
1570 "src/compiler/ia32/instruction-selector-ia32.cc", 1570 "src/compiler/ia32/instruction-selector-ia32.cc",
1571 "src/crankshaft/ia32/lithium-codegen-ia32.cc", 1571 "src/crankshaft/ia32/lithium-codegen-ia32.cc",
1572 "src/crankshaft/ia32/lithium-codegen-ia32.h", 1572 "src/crankshaft/ia32/lithium-codegen-ia32.h",
1573 "src/crankshaft/ia32/lithium-gap-resolver-ia32.cc", 1573 "src/crankshaft/ia32/lithium-gap-resolver-ia32.cc",
1574 "src/crankshaft/ia32/lithium-gap-resolver-ia32.h", 1574 "src/crankshaft/ia32/lithium-gap-resolver-ia32.h",
1575 "src/crankshaft/ia32/lithium-ia32.cc", 1575 "src/crankshaft/ia32/lithium-ia32.cc",
(...skipping 17 matching lines...) Expand all
1593 "src/ia32/macro-assembler-ia32.cc", 1593 "src/ia32/macro-assembler-ia32.cc",
1594 "src/ia32/macro-assembler-ia32.h", 1594 "src/ia32/macro-assembler-ia32.h",
1595 "src/ic/ia32/access-compiler-ia32.cc", 1595 "src/ic/ia32/access-compiler-ia32.cc",
1596 "src/ic/ia32/handler-compiler-ia32.cc", 1596 "src/ic/ia32/handler-compiler-ia32.cc",
1597 "src/ic/ia32/ic-compiler-ia32.cc", 1597 "src/ic/ia32/ic-compiler-ia32.cc",
1598 "src/ic/ia32/ic-ia32.cc", 1598 "src/ic/ia32/ic-ia32.cc",
1599 "src/ic/ia32/stub-cache-ia32.cc", 1599 "src/ic/ia32/stub-cache-ia32.cc",
1600 "src/regexp/ia32/regexp-macro-assembler-ia32.cc", 1600 "src/regexp/ia32/regexp-macro-assembler-ia32.cc",
1601 "src/regexp/ia32/regexp-macro-assembler-ia32.h", 1601 "src/regexp/ia32/regexp-macro-assembler-ia32.h",
1602 ] 1602 ]
1603 } else if (v8_target_cpu == "x64") { 1603 } else if (v8_current_cpu == "x64") {
1604 sources += [ 1604 sources += [
1605 "src/compiler/x64/code-generator-x64.cc", 1605 "src/compiler/x64/code-generator-x64.cc",
1606 "src/compiler/x64/instruction-codes-x64.h", 1606 "src/compiler/x64/instruction-codes-x64.h",
1607 "src/compiler/x64/instruction-scheduler-x64.cc", 1607 "src/compiler/x64/instruction-scheduler-x64.cc",
1608 "src/compiler/x64/instruction-selector-x64.cc", 1608 "src/compiler/x64/instruction-selector-x64.cc",
1609 "src/crankshaft/x64/lithium-codegen-x64.cc", 1609 "src/crankshaft/x64/lithium-codegen-x64.cc",
1610 "src/crankshaft/x64/lithium-codegen-x64.h", 1610 "src/crankshaft/x64/lithium-codegen-x64.h",
1611 "src/crankshaft/x64/lithium-gap-resolver-x64.cc", 1611 "src/crankshaft/x64/lithium-gap-resolver-x64.cc",
1612 "src/crankshaft/x64/lithium-gap-resolver-x64.h", 1612 "src/crankshaft/x64/lithium-gap-resolver-x64.h",
1613 "src/crankshaft/x64/lithium-x64.cc", 1613 "src/crankshaft/x64/lithium-x64.cc",
(...skipping 17 matching lines...) Expand all
1631 "src/x64/codegen-x64.h", 1631 "src/x64/codegen-x64.h",
1632 "src/x64/cpu-x64.cc", 1632 "src/x64/cpu-x64.cc",
1633 "src/x64/deoptimizer-x64.cc", 1633 "src/x64/deoptimizer-x64.cc",
1634 "src/x64/disasm-x64.cc", 1634 "src/x64/disasm-x64.cc",
1635 "src/x64/frames-x64.cc", 1635 "src/x64/frames-x64.cc",
1636 "src/x64/frames-x64.h", 1636 "src/x64/frames-x64.h",
1637 "src/x64/interface-descriptors-x64.cc", 1637 "src/x64/interface-descriptors-x64.cc",
1638 "src/x64/macro-assembler-x64.cc", 1638 "src/x64/macro-assembler-x64.cc",
1639 "src/x64/macro-assembler-x64.h", 1639 "src/x64/macro-assembler-x64.h",
1640 ] 1640 ]
1641 } else if (v8_target_cpu == "arm") { 1641 } else if (v8_current_cpu == "arm") {
1642 sources += [ 1642 sources += [
1643 "src/arm/assembler-arm-inl.h", 1643 "src/arm/assembler-arm-inl.h",
1644 "src/arm/assembler-arm.cc", 1644 "src/arm/assembler-arm.cc",
1645 "src/arm/assembler-arm.h", 1645 "src/arm/assembler-arm.h",
1646 "src/arm/builtins-arm.cc", 1646 "src/arm/builtins-arm.cc",
1647 "src/arm/code-stubs-arm.cc", 1647 "src/arm/code-stubs-arm.cc",
1648 "src/arm/code-stubs-arm.h", 1648 "src/arm/code-stubs-arm.h",
1649 "src/arm/codegen-arm.cc", 1649 "src/arm/codegen-arm.cc",
1650 "src/arm/codegen-arm.h", 1650 "src/arm/codegen-arm.h",
1651 "src/arm/constants-arm.cc", 1651 "src/arm/constants-arm.cc",
(...skipping 22 matching lines...) Expand all
1674 "src/debug/arm/debug-arm.cc", 1674 "src/debug/arm/debug-arm.cc",
1675 "src/full-codegen/arm/full-codegen-arm.cc", 1675 "src/full-codegen/arm/full-codegen-arm.cc",
1676 "src/ic/arm/access-compiler-arm.cc", 1676 "src/ic/arm/access-compiler-arm.cc",
1677 "src/ic/arm/handler-compiler-arm.cc", 1677 "src/ic/arm/handler-compiler-arm.cc",
1678 "src/ic/arm/ic-arm.cc", 1678 "src/ic/arm/ic-arm.cc",
1679 "src/ic/arm/ic-compiler-arm.cc", 1679 "src/ic/arm/ic-compiler-arm.cc",
1680 "src/ic/arm/stub-cache-arm.cc", 1680 "src/ic/arm/stub-cache-arm.cc",
1681 "src/regexp/arm/regexp-macro-assembler-arm.cc", 1681 "src/regexp/arm/regexp-macro-assembler-arm.cc",
1682 "src/regexp/arm/regexp-macro-assembler-arm.h", 1682 "src/regexp/arm/regexp-macro-assembler-arm.h",
1683 ] 1683 ]
1684 } else if (v8_target_cpu == "arm64") { 1684 } else if (v8_current_cpu == "arm64") {
1685 sources += [ 1685 sources += [
1686 "src/arm64/assembler-arm64-inl.h", 1686 "src/arm64/assembler-arm64-inl.h",
1687 "src/arm64/assembler-arm64.cc", 1687 "src/arm64/assembler-arm64.cc",
1688 "src/arm64/assembler-arm64.h", 1688 "src/arm64/assembler-arm64.h",
1689 "src/arm64/builtins-arm64.cc", 1689 "src/arm64/builtins-arm64.cc",
1690 "src/arm64/code-stubs-arm64.cc", 1690 "src/arm64/code-stubs-arm64.cc",
1691 "src/arm64/code-stubs-arm64.h", 1691 "src/arm64/code-stubs-arm64.h",
1692 "src/arm64/codegen-arm64.cc", 1692 "src/arm64/codegen-arm64.cc",
1693 "src/arm64/codegen-arm64.h", 1693 "src/arm64/codegen-arm64.h",
1694 "src/arm64/constants-arm64.h", 1694 "src/arm64/constants-arm64.h",
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
1730 "src/debug/arm64/debug-arm64.cc", 1730 "src/debug/arm64/debug-arm64.cc",
1731 "src/full-codegen/arm64/full-codegen-arm64.cc", 1731 "src/full-codegen/arm64/full-codegen-arm64.cc",
1732 "src/ic/arm64/access-compiler-arm64.cc", 1732 "src/ic/arm64/access-compiler-arm64.cc",
1733 "src/ic/arm64/handler-compiler-arm64.cc", 1733 "src/ic/arm64/handler-compiler-arm64.cc",
1734 "src/ic/arm64/ic-arm64.cc", 1734 "src/ic/arm64/ic-arm64.cc",
1735 "src/ic/arm64/ic-compiler-arm64.cc", 1735 "src/ic/arm64/ic-compiler-arm64.cc",
1736 "src/ic/arm64/stub-cache-arm64.cc", 1736 "src/ic/arm64/stub-cache-arm64.cc",
1737 "src/regexp/arm64/regexp-macro-assembler-arm64.cc", 1737 "src/regexp/arm64/regexp-macro-assembler-arm64.cc",
1738 "src/regexp/arm64/regexp-macro-assembler-arm64.h", 1738 "src/regexp/arm64/regexp-macro-assembler-arm64.h",
1739 ] 1739 ]
1740 } else if (v8_target_cpu == "mipsel") { 1740 } else if (v8_current_cpu == "mipsel") {
1741 sources += [ 1741 sources += [
1742 "src/compiler/mips/code-generator-mips.cc", 1742 "src/compiler/mips/code-generator-mips.cc",
1743 "src/compiler/mips/instruction-codes-mips.h", 1743 "src/compiler/mips/instruction-codes-mips.h",
1744 "src/compiler/mips/instruction-scheduler-mips.cc", 1744 "src/compiler/mips/instruction-scheduler-mips.cc",
1745 "src/compiler/mips/instruction-selector-mips.cc", 1745 "src/compiler/mips/instruction-selector-mips.cc",
1746 "src/crankshaft/mips/lithium-codegen-mips.cc", 1746 "src/crankshaft/mips/lithium-codegen-mips.cc",
1747 "src/crankshaft/mips/lithium-codegen-mips.h", 1747 "src/crankshaft/mips/lithium-codegen-mips.h",
1748 "src/crankshaft/mips/lithium-gap-resolver-mips.cc", 1748 "src/crankshaft/mips/lithium-gap-resolver-mips.cc",
1749 "src/crankshaft/mips/lithium-gap-resolver-mips.h", 1749 "src/crankshaft/mips/lithium-gap-resolver-mips.h",
1750 "src/crankshaft/mips/lithium-mips.cc", 1750 "src/crankshaft/mips/lithium-mips.cc",
(...skipping 21 matching lines...) Expand all
1772 "src/mips/frames-mips.cc", 1772 "src/mips/frames-mips.cc",
1773 "src/mips/frames-mips.h", 1773 "src/mips/frames-mips.h",
1774 "src/mips/interface-descriptors-mips.cc", 1774 "src/mips/interface-descriptors-mips.cc",
1775 "src/mips/macro-assembler-mips.cc", 1775 "src/mips/macro-assembler-mips.cc",
1776 "src/mips/macro-assembler-mips.h", 1776 "src/mips/macro-assembler-mips.h",
1777 "src/mips/simulator-mips.cc", 1777 "src/mips/simulator-mips.cc",
1778 "src/mips/simulator-mips.h", 1778 "src/mips/simulator-mips.h",
1779 "src/regexp/mips/regexp-macro-assembler-mips.cc", 1779 "src/regexp/mips/regexp-macro-assembler-mips.cc",
1780 "src/regexp/mips/regexp-macro-assembler-mips.h", 1780 "src/regexp/mips/regexp-macro-assembler-mips.h",
1781 ] 1781 ]
1782 } else if (v8_target_cpu == "mips64el") { 1782 } else if (v8_current_cpu == "mips64el") {
1783 sources += [ 1783 sources += [
1784 "src/compiler/mips64/code-generator-mips64.cc", 1784 "src/compiler/mips64/code-generator-mips64.cc",
1785 "src/compiler/mips64/instruction-codes-mips64.h", 1785 "src/compiler/mips64/instruction-codes-mips64.h",
1786 "src/compiler/mips64/instruction-scheduler-mips64.cc", 1786 "src/compiler/mips64/instruction-scheduler-mips64.cc",
1787 "src/compiler/mips64/instruction-selector-mips64.cc", 1787 "src/compiler/mips64/instruction-selector-mips64.cc",
1788 "src/crankshaft/mips64/lithium-codegen-mips64.cc", 1788 "src/crankshaft/mips64/lithium-codegen-mips64.cc",
1789 "src/crankshaft/mips64/lithium-codegen-mips64.h", 1789 "src/crankshaft/mips64/lithium-codegen-mips64.h",
1790 "src/crankshaft/mips64/lithium-gap-resolver-mips64.cc", 1790 "src/crankshaft/mips64/lithium-gap-resolver-mips64.cc",
1791 "src/crankshaft/mips64/lithium-gap-resolver-mips64.h", 1791 "src/crankshaft/mips64/lithium-gap-resolver-mips64.h",
1792 "src/crankshaft/mips64/lithium-mips64.cc", 1792 "src/crankshaft/mips64/lithium-mips64.cc",
(...skipping 21 matching lines...) Expand all
1814 "src/mips64/frames-mips64.cc", 1814 "src/mips64/frames-mips64.cc",
1815 "src/mips64/frames-mips64.h", 1815 "src/mips64/frames-mips64.h",
1816 "src/mips64/interface-descriptors-mips64.cc", 1816 "src/mips64/interface-descriptors-mips64.cc",
1817 "src/mips64/macro-assembler-mips64.cc", 1817 "src/mips64/macro-assembler-mips64.cc",
1818 "src/mips64/macro-assembler-mips64.h", 1818 "src/mips64/macro-assembler-mips64.h",
1819 "src/mips64/simulator-mips64.cc", 1819 "src/mips64/simulator-mips64.cc",
1820 "src/mips64/simulator-mips64.h", 1820 "src/mips64/simulator-mips64.h",
1821 "src/regexp/mips64/regexp-macro-assembler-mips64.cc", 1821 "src/regexp/mips64/regexp-macro-assembler-mips64.cc",
1822 "src/regexp/mips64/regexp-macro-assembler-mips64.h", 1822 "src/regexp/mips64/regexp-macro-assembler-mips64.h",
1823 ] 1823 ]
1824 } else if (v8_target_cpu == "s390" || v8_target_cpu == "s390x") { 1824 } else if (v8_current_cpu == "s390" || v8_current_cpu == "s390x") {
1825 sources += [ 1825 sources += [
1826 "src/compiler/s390/code-generator-s390.cc", 1826 "src/compiler/s390/code-generator-s390.cc",
1827 "src/compiler/s390/instruction-codes-s390.h", 1827 "src/compiler/s390/instruction-codes-s390.h",
1828 "src/compiler/s390/instruction-scheduler-s390.cc", 1828 "src/compiler/s390/instruction-scheduler-s390.cc",
1829 "src/compiler/s390/instruction-selector-s390.cc", 1829 "src/compiler/s390/instruction-selector-s390.cc",
1830 "src/crankshaft/s390/lithium-codegen-s390.cc", 1830 "src/crankshaft/s390/lithium-codegen-s390.cc",
1831 "src/crankshaft/s390/lithium-codegen-s390.h", 1831 "src/crankshaft/s390/lithium-codegen-s390.h",
1832 "src/crankshaft/s390/lithium-gap-resolver-s390.cc", 1832 "src/crankshaft/s390/lithium-gap-resolver-s390.cc",
1833 "src/crankshaft/s390/lithium-gap-resolver-s390.h", 1833 "src/crankshaft/s390/lithium-gap-resolver-s390.h",
1834 "src/crankshaft/s390/lithium-s390.cc", 1834 "src/crankshaft/s390/lithium-s390.cc",
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
2071 2071
2072 configs = [ ":internal_config_base" ] 2072 configs = [ ":internal_config_base" ]
2073 } 2073 }
2074 2074
2075 ############################################################################### 2075 ###############################################################################
2076 # Executables 2076 # Executables
2077 # 2077 #
2078 2078
2079 if (current_toolchain == v8_snapshot_toolchain) { 2079 if (current_toolchain == v8_snapshot_toolchain) {
2080 v8_executable("mksnapshot") { 2080 v8_executable("mksnapshot") {
2081 print(v8_current_cpu)
2082 print(current_toolchain)
michaelbai 2016/07/12 01:23:58 Remove them?
Dirk Pranke 2016/07/12 01:39:35 Whoops, yes, will do.
2081 visibility = [ ":*" ] # Only targets in this file can depend on this. 2083 visibility = [ ":*" ] # Only targets in this file can depend on this.
2082 2084
2083 sources = [ 2085 sources = [
2084 "src/snapshot/mksnapshot.cc", 2086 "src/snapshot/mksnapshot.cc",
2085 ] 2087 ]
2086 2088
2087 configs = [ ":internal_config" ] 2089 configs = [ ":internal_config" ]
2088 2090
2089 deps = [ 2091 deps = [
2090 ":v8_base", 2092 ":v8_base",
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after
2395 2397
2396 deps = [ 2398 deps = [
2397 ":fuzzer_support", 2399 ":fuzzer_support",
2398 ] 2400 ]
2399 2401
2400 configs = [ ":internal_config" ] 2402 configs = [ ":internal_config" ]
2401 } 2403 }
2402 2404
2403 v8_fuzzer("wasm_asmjs_fuzzer") { 2405 v8_fuzzer("wasm_asmjs_fuzzer") {
2404 } 2406 }
OLDNEW
« no previous file with comments | « no previous file | build_overrides/v8.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698