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

Unified Diff: test/unittests/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
« snapshot_toolchain.gni ('K') | « test/cctest/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/unittests/BUILD.gn
diff --git a/test/unittests/BUILD.gn b/test/unittests/BUILD.gn
index 32112adbc4136387e1d843d150d4a1f47bd6a041..7193afb9668b1c2caaee6e4ba76ea7c8f1199f0a 100644
--- a/test/unittests/BUILD.gn
+++ b/test/unittests/BUILD.gn
@@ -16,21 +16,21 @@ v8_executable("unittests") {
sources = gypi_values.unittests_sources
- if (v8_target_cpu == "arm") {
+ if (v8_current_cpu == "arm") {
sources += gypi_values.unittests_sources_arm
- } else if (v8_target_cpu == "arm64") {
+ } else if (v8_current_cpu == "arm64") {
sources += gypi_values.unittests_sources_arm64
- } else if (v8_target_cpu == "x86") {
+ } else if (v8_current_cpu == "x86") {
sources += gypi_values.unittests_sources_ia32
- } else if (v8_target_cpu == "mips" || v8_target_cpu == "mipsel") {
+ } else if (v8_current_cpu == "mips" || v8_current_cpu == "mipsel") {
sources += gypi_values.unittests_sources_mips
- } else if (v8_target_cpu == "mips64" || v8_target_cpu == "mips64el") {
+ } else if (v8_current_cpu == "mips64" || v8_current_cpu == "mips64el") {
sources += gypi_values.unittests_sources_mips64
- } else if (v8_target_cpu == "x64") {
+ } else if (v8_current_cpu == "x64") {
sources += gypi_values.unittests_sources_x64
- } else if (v8_target_cpu == "ppc" || v8_target_cpu == "ppc64") {
+ } else if (v8_current_cpu == "ppc" || v8_current_cpu == "ppc64") {
sources += gypi_values.unittests_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.unittests_sources_s390
}
« snapshot_toolchain.gni ('K') | « test/cctest/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698