summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirk Pranke <dpranke@chromium.org>2015-02-20 13:46:34 -0800
committerDirk Pranke <dpranke@chromium.org>2015-02-20 13:46:34 -0800
commit94dd28ebcdf66c53dfd11f05c61e84e3ae301371 (patch)
treea2ebccbecfcdbe190ec3a22824f894e19cee17b2
parentdce5730e8335749734a3195d16e247c40d6fef3e (diff)
downloadpdfium-94dd28ebcdf66c53dfd11f05c61e84e3ae301371.tar.xz
Update GN build files w/ cpu_arch -> current_cpu changes.
R=jam@chromium.org BUG=344767 Review URL: https://codereview.chromium.org/945723004
-rw-r--r--BUILD.gn4
1 files changed, 2 insertions, 2 deletions
diff --git a/BUILD.gn b/BUILD.gn
index 93a6c06567..8409da35ab 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_" ]
}
}