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

Unified Diff: chrome_elf/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_elf/BUILD.gn
diff --git a/chrome_elf/BUILD.gn b/chrome_elf/BUILD.gn
index b58c82918a0ecdff4a4a4fc5beae1d25562adcb3..74a217f276dd21cdfac03445aec83624bfa8b7cb 100644
--- a/chrome_elf/BUILD.gn
+++ b/chrome_elf/BUILD.gn
@@ -32,7 +32,7 @@ shared_library("chrome_elf") {
"/NODEFAULTLIB:user32.lib",
"/DEF:" + rebase_path("chrome_elf.def"),
]
- if (cpu_arch == "x86") {
+ if (current_cpu == "x86") {
# Don"t set an x64 base address (to avoid breaking HE-ASLR).
ldflags += [ "/BASE:0x01c20000" ]
}
@@ -96,7 +96,7 @@ if (is_component_build) {
configs += [ "//build/config/win:windowed" ]
ldflags = [ "/DEF:" + rebase_path("chrome_redirects.def") ]
- if (cpu_arch == "x86") {
+ if (current_cpu == "x86") {
# Don't set an x64 base address (to avoid breaking HE-ASLR).
ldflags += [ "/BASE:0x01c20000" ]
}

Powered by Google App Engine
This is Rietveld 408576698