Update GN build files w/ cpu_arch -> current_cpu changes.
authorDirk Pranke <dpranke@chromium.org>
Fri, 20 Feb 2015 21:46:34 +0000 (13:46 -0800)
committerDirk Pranke <dpranke@chromium.org>
Fri, 20 Feb 2015 21:46:34 +0000 (13:46 -0800)
R=jam@chromium.org
BUG=344767

Review URL: https://codereview.chromium.org/945723004

BUILD.gn

index 93a6c06..8409da3 100644 (file)
--- 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_" ]
     }
   }