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

Unified Diff: BUILD.gn

Issue 1915913002: Version 5.1.281.15 (cherry-pick) (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@5.1
Patch Set: Created 4 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | include/v8-version.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: BUILD.gn
diff --git a/BUILD.gn b/BUILD.gn
index 9e0872200459e81233a6dcf3d055061a67956333..a46db2d7fd4b077ab49c6eb4e97e1d2919dceb07 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -143,6 +143,7 @@ config("toolchain") {
cflags = []
# TODO(jochen): Add support for arm subarchs, mips, mipsel, mips64el.
+
if (v8_target_arch == "arm") {
defines += [ "V8_TARGET_ARCH_ARM" ]
if (current_cpu == "arm") {
@@ -169,13 +170,8 @@ config("toolchain") {
"CAN_USE_ARMV7_INSTRUCTIONS",
"CAN_USE_VFP3_INSTRUCTIONS",
"CAN_USE_VFP32DREGS",
+ "USE_EABI_HARDFLOAT=0",
]
-
- if (arm_float_abi == "hard") {
- defines += [ "USE_EABI_HARDFLOAT=1" ]
- } else if (arm_float_abi == "softfp") {
- defines += [ "USE_EABI_HARDFLOAT=0" ]
- }
}
# TODO(jochen): Add support for arm_test_noprobe.
@@ -191,7 +187,7 @@ config("toolchain") {
}
if (v8_target_arch == "s390") {
defines += [ "V8_TARGET_ARCH_S390" ]
- }
+ }
if (v8_target_arch == "s390x") {
defines += [
"V8_TARGET_ARCH_S390",
@@ -204,7 +200,7 @@ config("toolchain") {
if (v8_target_arch == "x64") {
defines += [ "V8_TARGET_ARCH_X64" ]
}
-
+
if (is_win) {
defines += [ "WIN32" ]
# TODO(jochen): Support v8_enable_prof.
« no previous file with comments | « no previous file | include/v8-version.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698