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

Unified Diff: chrome/test/BUILD.gn

Issue 913373002: Update Chomium's build files to work w/ latest GN binaries. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn_cpu_arch_changes
Patch Set: merge to #317214 Created 5 years, 10 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: 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) {
« no previous file with comments | « chrome/BUILD.gn ('k') | chrome_elf/BUILD.gn » ('j') | third_party/widevine/cdm/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698