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

Unified Diff: test/cctest/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: remove incorrect assert 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 side-by-side diff with in-line comments
Download patch
Index: test/cctest/BUILD.gn
diff --git a/test/cctest/BUILD.gn b/test/cctest/BUILD.gn
index 233ce6e0eb9a47609efd9793b966683ea27fdc38..71e9eb0d2c0296a68f3a22a1b416efea04cb9f18 100644
--- a/test/cctest/BUILD.gn
+++ b/test/cctest/BUILD.gn
@@ -18,27 +18,27 @@ v8_executable("cctest") {
"$target_gen_dir/resources.cc",
] + gypi_values.cctest_sources
- if (v8_target_cpu == "arm") {
+ if (v8_current_cpu == "arm") {
sources += gypi_values.cctest_sources_arm
- } else if (v8_target_cpu == "arm64") {
+ } else if (v8_current_cpu == "arm64") {
sources += gypi_values.cctest_sources_arm64
- } else if (v8_target_cpu == "x86") {
+ } else if (v8_current_cpu == "x86") {
sources += gypi_values.cctest_sources_ia32
- } else if (v8_target_cpu == "mips") {
+ } else if (v8_current_cpu == "mips") {
sources += gypi_values.cctest_sources_mips
- } else if (v8_target_cpu == "mipsel") {
+ } else if (v8_current_cpu == "mipsel") {
sources += gypi_values.cctest_sources_mipsel
- } else if (v8_target_cpu == "mips64") {
+ } else if (v8_current_cpu == "mips64") {
sources += gypi_values.cctest_sources_mips64
- } else if (v8_target_cpu == "mips64el") {
+ } else if (v8_current_cpu == "mips64el") {
sources += gypi_values.cctest_sources_mips64el
- } else if (v8_target_cpu == "x64") {
+ } else if (v8_current_cpu == "x64") {
sources += gypi_values.cctest_sources_x64
- } else if (v8_target_cpu == "x87") {
+ } else if (v8_current_cpu == "x87") {
sources += gypi_values.cctest_sources_x87
- } else if (v8_target_cpu == "ppc" || v8_target_cpu == "ppc64") {
+ } else if (v8_current_cpu == "ppc" || v8_current_cpu == "ppc64") {
sources += gypi_values.cctest_sources_ppc
- } else if (v8_target_cpu == "s390" || v8_target_cpu == "s390x") {
+ } else if (v8_current_cpu == "s390" || v8_current_cpu == "s390x") {
sources += gypi_values.cctest_sources_s390
}
@@ -62,9 +62,9 @@ v8_executable("cctest") {
]
# TODO(machenbach): Translate from gyp.
- #['v8_target_cpu=="ppc" or v8_target_cpu=="ppc64" \
- # or v8_target_cpu=="arm" or v8_target_cpu=="arm64" \
- # or v8_target_cpu=="s390" or v8_target_cpu=="s390x"', {
+ #['v8_current_cpu=="ppc" or v8_current_cpu=="ppc64" \
+ # or v8_current_cpu=="arm" or v8_current_cpu=="arm64" \
+ # or v8_current_cpu=="s390" or v8_current_cpu=="s390x"', {
# # disable fmadd/fmsub so that expected results match generated code in
# # RunFloat64MulAndFloat64Add1 and friends.
# 'cflags': ['-ffp-contract=off'],
« snapshot_toolchain.gni ('K') | « snapshot_toolchain.gni ('k') | test/unittests/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698