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

Side by Side Diff: BUILD.gn

Issue 1004113003: Clarify arm gn configuration (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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
« no previous file with comments | « no previous file | 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 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/mips.gni") 7 import("//build/config/mips.gni")
8 8
9 # Because standalone V8 builds are not supported, assume this is part of a 9 # Because standalone V8 builds are not supported, assume this is part of a
10 # Chromium build. 10 # Chromium build.
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 # TODO(jochen): Add support for arm subarchs, mips, mipsel. 117 # TODO(jochen): Add support for arm subarchs, mips, mipsel.
118 118
119 if (v8_target_arch == "arm") { 119 if (v8_target_arch == "arm") {
120 defines += [ "V8_TARGET_ARCH_ARM" ] 120 defines += [ "V8_TARGET_ARCH_ARM" ]
121 if (current_cpu == "arm") { 121 if (current_cpu == "arm") {
122 if (arm_version == 7) { 122 if (arm_version == 7) {
123 defines += [ "CAN_USE_ARMV7_INSTRUCTIONS" ] 123 defines += [ "CAN_USE_ARMV7_INSTRUCTIONS" ]
124 } 124 }
125 if (arm_fpu == "vfpv3-d16") { 125 if (arm_fpu == "vfpv3-d16") {
126 defines += [ "CAN_USE_VFP3_INSTRUCTIONS" ] 126 defines += [ "CAN_USE_VFP3_INSTRUCTIONS" ]
127 } 127 } else if (arm_fpu == "vfpv3") {
128 if (arm_fpu == "vfpv3") {
129 defines += [ 128 defines += [
130 "CAN_USE_VFP3_INSTRUCTIONS", 129 "CAN_USE_VFP3_INSTRUCTIONS",
131 "CAN_USE_VFP32DREGS", 130 "CAN_USE_VFP32DREGS",
132 ] 131 ]
133 } 132 } else if (arm_fpu == "neon") {
134 if (arm_fpu == "neon") {
135 defines += [ 133 defines += [
136 "CAN_USE_VFP3_INSTRUCTIONS", 134 "CAN_USE_VFP3_INSTRUCTIONS",
137 "CAN_USE_VFP32DREGS", 135 "CAN_USE_VFP32DREGS",
138 "CAN_USE_NEON", 136 "CAN_USE_NEON",
139 ] 137 ]
140 } 138 }
141 } else { 139 } else {
140 # These defines ares used for the ARM simulator.
jochen (gone - plz use gerrit) 2015/03/13 07:42:51 it's not just for the snapshot toolchain - we coul
Dirk Pranke 2015/03/13 20:47:17 Um, okay ... I guess I don't understand what this
142 defines += [ 141 defines += [
143 "CAN_USE_ARMV7_INSTRUCTIONS", 142 "CAN_USE_ARMV7_INSTRUCTIONS",
144 "CAN_USE_VFP3_INSTRUCTIONS", 143 "CAN_USE_VFP3_INSTRUCTIONS",
145 "CAN_USE_VFP32DREGS", 144 "CAN_USE_VFP32DREGS",
146 "USE_EABI_HARDFLOAT=0", 145 "USE_EABI_HARDFLOAT=0",
147 ] 146 ]
148 } 147 }
149 148
150 # TODO(jochen): Add support for arm_test_noprobe. 149 # TODO(jochen): Add support for arm_test_noprobe.
151 } 150 }
(...skipping 1430 matching lines...) Expand 10 before | Expand all | Expand 10 after
1582 sources += [ 1581 sources += [
1583 "src/d8-debug.cc", 1582 "src/d8-debug.cc",
1584 "$target_gen_dir/d8-js.cc", 1583 "$target_gen_dir/d8-js.cc",
1585 ] 1584 ]
1586 } 1585 }
1587 if (v8_enable_i18n_support) { 1586 if (v8_enable_i18n_support) {
1588 deps += [ "//third_party/icu" ] 1587 deps += [ "//third_party/icu" ]
1589 } 1588 }
1590 } 1589 }
1591 } 1590 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698