| OLD | NEW |
| 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 # Because standalone V8 builds are not supported, assume this is part of a | 5 # Because standalone V8 builds are not supported, assume this is part of a |
| 6 # Chromium build. | 6 # Chromium build. |
| 7 import("//build/module_args/v8.gni") | 7 import("//build/module_args/v8.gni") |
| 8 | 8 |
| 9 # TODO(jochen): These will need to be user-settable to support standalone V8 | 9 # TODO(jochen): These will need to be user-settable to support standalone V8 |
| 10 # builds. | 10 # builds. |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 config("toolchain") { | 93 config("toolchain") { |
| 94 visibility = [ ":*" ] # Only targets in this file can depend on this. | 94 visibility = [ ":*" ] # Only targets in this file can depend on this. |
| 95 | 95 |
| 96 defines = [] | 96 defines = [] |
| 97 cflags = [] | 97 cflags = [] |
| 98 | 98 |
| 99 # TODO(jochen): Add support for arm subarchs, mips, mipsel. | 99 # TODO(jochen): Add support for arm subarchs, mips, mipsel. |
| 100 | 100 |
| 101 if (v8_target_arch == "arm") { | 101 if (v8_target_arch == "arm") { |
| 102 defines += [ "V8_TARGET_ARCH_ARM" ] | 102 defines += [ "V8_TARGET_ARCH_ARM" ] |
| 103 if (arm_verson == 7) { | 103 if (arm_version == 7) { |
| 104 defines += [ "CAN_USE_ARMV7_INSTRUCTIONS" ] | 104 defines += [ "CAN_USE_ARMV7_INSTRUCTIONS" ] |
| 105 } | 105 } |
| 106 if (arm_fpu == "vfpv3-d16") { | 106 if (arm_fpu == "vfpv3-d16") { |
| 107 defines += [ "CAN_USE_VFP3_INSTRUCTIONS" ] | 107 defines += [ "CAN_USE_VFP3_INSTRUCTIONS" ] |
| 108 } | 108 } |
| 109 if (arm_fpu == "vfpv3") { | 109 if (arm_fpu == "vfpv3") { |
| 110 defines += [ | 110 defines += [ |
| 111 "CAN_USE_VFP3_INSTRUCTIONS", | 111 "CAN_USE_VFP3_INSTRUCTIONS", |
| 112 "CAN_USE_VFP32DREGS", | 112 "CAN_USE_VFP32DREGS", |
| 113 ] | 113 ] |
| (...skipping 1441 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1555 sources += [ | 1555 sources += [ |
| 1556 "src/d8-debug.cc", | 1556 "src/d8-debug.cc", |
| 1557 "$target_gen_dir/d8-js.cc", | 1557 "$target_gen_dir/d8-js.cc", |
| 1558 ] | 1558 ] |
| 1559 } | 1559 } |
| 1560 if (v8_enable_i18n_support) { | 1560 if (v8_enable_i18n_support) { |
| 1561 deps += [ "//third_party/icu" ] | 1561 deps += [ "//third_party/icu" ] |
| 1562 } | 1562 } |
| 1563 } | 1563 } |
| 1564 } | 1564 } |
| OLD | NEW |