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

Unified Diff: BUILD.gn

Issue 945723004: Update GN build files w/ cpu_arch -> current_cpu changes. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: BUILD.gn
diff --git a/BUILD.gn b/BUILD.gn
index 93a6c065678d31db6e287cafc2adaf2c59111702..8409da35abb85f2a26330f6a60a69453209ea5c8 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -26,10 +26,10 @@ config("pdfium_config") {
}
if (is_linux) {
- if (cpu_arch == "x64") {
+ if (current_cpu == "x64") {
defines += [ "_FX_CPU_=_FX_X64_" ]
cflags += [ "-fPIC" ]
- } else if (cpu_arch == "x86") {
+ } else if (current_cpu == "x86") {
defines += [ "_FX_CPU_=_FX_X86_" ]
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698