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

Unified Diff: build/android/envsetup_functions.sh

Issue 14241008: [MIPS] Support to build libchromeview for MIPS-Android (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 8 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
Index: build/android/envsetup_functions.sh
diff --git a/build/android/envsetup_functions.sh b/build/android/envsetup_functions.sh
index 3c7e58f6def5b4483f677bf1a3139fb45a5c7630..4e422a8f490071518baaf2d24b14e59248180bf8 100755
--- a/build/android/envsetup_functions.sh
+++ b/build/android/envsetup_functions.sh
@@ -33,6 +33,10 @@ common_vars_defines() {
"x86")
toolchain_arch="x86"
;;
+ "mips")
+ toolchain_arch="mipsel-linux-android"
+ toolchain_dir="linux-x86"
cjhopman 2013/04/19 18:02:10 For arm/x86 toolchain_dir is set based on host_arc
petarj 2013/04/21 01:17:14 When host_arch is "x86_64", it expects to find fol
Yaron 2013/04/22 22:06:07 Does this actually build when not using a 64-bit t
+ ;;
*)
echo "TARGET_ARCH: ${TARGET_ARCH} is not supported." >& 2
print_usage
@@ -120,6 +124,9 @@ common_vars_defines() {
DEFINES+=" host_arch=${host_arch}"
DEFINES+=" target_arch=ia32"
;;
+ "mips")
+ DEFINES+=" target_arch=mipsel"
+ ;;
*)
echo "TARGET_ARCH: ${TARGET_ARCH} is not supported." >& 2
print_usage

Powered by Google App Engine
This is Rietveld 408576698