Custom output directory support with NDK_OUT
This patch allows the use of the NDK_OUT environment variable
to specify a custom output directory for all intermediate
generated files (i.e. instead of $PROJECT_PATH/obj).
ndk-gdb will pick up the right location if the variable is
defined too. Note that final binaries are still placed under
$PROJECT_PATH/libs by default since the packaging scripts
expect them to be here.
This fixes http://code.google.com/p/android/issues/detail?id=25470
Change-Id: I50618df619c13f5208200f8d0902b8e4fe201de8
7 files changed