Index: build/gyp_chromium |
diff --git a/build/gyp_chromium b/build/gyp_chromium |
index e4cafc756134c35dc51c7ec3ea111bfef5157653..ae1d4c2f66242d7c883b990078479bfd92f86836 100755 |
--- a/build/gyp_chromium |
+++ b/build/gyp_chromium |
@@ -177,6 +177,11 @@ def GetArgsStringForGN(supplemental_files): |
supplemental_files += [include_gypi] |
vars_dict = GetGypVarsForGN(supplemental_files) |
+ # It's not possible to let set a default value for cpu_arch in GN, so do it |
+ # here for now (http://crbug.com/344767). |
+ if vars_dict.get('OS') == 'android' and not 'target_arch' in vars_dict: |
+ vars_dict['target_arch'] = 'arm' |
+ |
gn_args = '' |
# Note: These are the additional flags passed to various builds by builders |