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

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: Rebase. 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
« no previous file with comments | « base/debug/stack_trace_android.cc ('k') | build/common.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/envsetup_functions.sh
diff --git a/build/android/envsetup_functions.sh b/build/android/envsetup_functions.sh
index 5ab0bb096b662296eca51fce0cb065e6d7c0abab..adfbb9682c577179c358c705c47d98d972ed53f5 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"
+ ;;
*)
echo "TARGET_ARCH: ${TARGET_ARCH} is not supported." >& 2
print_usage
@@ -118,6 +122,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
« no previous file with comments | « base/debug/stack_trace_android.cc ('k') | build/common.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698