Index: chrome/test/BUILD.gn |
diff --git a/chrome/test/BUILD.gn b/chrome/test/BUILD.gn |
index 49909a8f227c4b98d16b94d5da5bf3854a0988a1..b7444116b514310b291027a55a072a039a1244f5 100644 |
--- a/chrome/test/BUILD.gn |
+++ b/chrome/test/BUILD.gn |
@@ -1513,7 +1513,7 @@ if (!is_android && (!is_win || link_chrome_on_windows)) { |
# static for simplicity. |
deps += [ "//third_party/cld_2:cld2_static" ] |
} |
- if (is_desktop_linux && cpu_arch == "x64") { |
+ if (is_desktop_linux && current_cpu == "x64") { |
# Only add this test for 64 bit builds because otherwise we need the 32 |
# bit library on 64 bit systems when running this test. |
sources += |
@@ -1534,7 +1534,7 @@ if (!is_android && (!is_win || link_chrome_on_windows)) { |
"//ui/aura:test_support", |
] |
} |
- if (is_linux && is_chrome_branded && cpu_arch == "x86") { |
+ if (is_linux && is_chrome_branded && current_cpu == "x86") { |
ldflags = [ "-Wl,--strip-debug" ] |
} |
if (is_mac) { |