DescriptionPass target architecture to build/android/envsetup.sh
TARGET_PRODUCT and other parameters generated by lunch command is not
necessary any more since the build got switched to being based on
SDK/NDK. This CL lets the target architecture be passed from envsetup.sh.
Currently two arch's values are accepted: arm(default), x86.
TEST=Built successfully with both target architecture values - arm and x86
using following commands:
. build/android/envsetup.sh -> arm
. build/android/envsetup.sh -t arm -> arm
. build/android/envsetup.sh -t x86 -> x86
Other commands tested:
. build/android/envsetup.sh -h -> prints help
. build/android/envsetup.sh -t bogus -> prints help and stops
BUG=
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=165185
Patch Set 1 #
Total comments: 6
Patch Set 2 : addresses the comments #Patch Set 3 : addresses the comments #
Total comments: 3
Patch Set 4 : add contribution tag for non-commiter #Patch Set 5 : Revised option parsing #Patch Set 6 : update test cases #Patch Set 7 : changed the comment in the code #Messages
Total messages: 15 (0 generated)
|