summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authortorne@chromium.org <torne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-19 11:09:26 +0000
committertorne@chromium.org <torne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-19 11:09:26 +0000
commited8a4e627bf08c67ea5a5e4299e33b4afbc2a511 (patch)
tree64c327565d62915b4428471f773e132d7d5fdecc /Android.mk
parent9ea20f85bdd40356296c6e966aa65a75bd734698 (diff)
downloadchromium_src-ed8a4e627bf08c67ea5a5e4299e33b4afbc2a511.zip
chromium_src-ed8a4e627bf08c67ea5a5e4299e33b4afbc2a511.tar.gz
chromium_src-ed8a4e627bf08c67ea5a5e4299e33b4afbc2a511.tar.bz2
Android WebView: allow for multiple target architectures.
The WebView will eventually need to be built for multiple target architectures. Prepare for this by passing --suffix .arm to gyp when generating the makefiles, and including an architecture-specific makefile at the top level. Also, remove the hardcoding of arm as the target architecture in envsetup.sh. The previous change I made to .gitignore to only ignore *.host.mk and *.target.mk instead of *.mk has been reverted in favour of just specifically un-ignoring files called Android.mk (which are handwritten). BUG= Review URL: https://codereview.chromium.org/11416036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@168506 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/Android.mk b/Android.mk
index 6cf1fd5..1e5390e 100644
--- a/Android.mk
+++ b/Android.mk
@@ -12,7 +12,7 @@ CHROMIUM_DIR := $(call my-dir)
# Assume that if the gyp autogenerated makefile exists, we are doing the
# WebView build using the Android build system.
-ifneq (,$(wildcard $(CHROMIUM_DIR)/GypAndroid.mk))
-include $(CHROMIUM_DIR)/GypAndroid.mk
+ifneq (,$(wildcard $(CHROMIUM_DIR)/GypAndroid.$(TARGET_ARCH).mk))
+include $(CHROMIUM_DIR)/GypAndroid.$(TARGET_ARCH).mk
include $(CHROMIUM_DIR)/android_webview/Android.mk
endif