OFF by default; enable with a gyp var. E.g.
GYP_DEFINES="$GYP_DEFINES gtest_target_type=shared_library" android_gyp
Some useful commands:
adb uninstall org.chromium.native_test
adb install -r out/Release/base_unittests_apk/ChromeNativeTests-debug.apk
adb shell am start -n org.chromium.native_test/org.chromium.native_test.ChromeNativeTestActivity
For the moment, all apks can be built simultaneously but use the same
activity name. Thus you cannot have more than one installed at the
same time.
BUG=None
TEST=
Review URL: http://codereview.chromium.org/10051021
git-svn-id: http://src.chromium.org/svn/trunk/src/build@133053 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This patch removes the need of exporting / setting
CROSS_C* variables when calling make for android.
Instead, set them at Makefile generation time so that gyp will
set the right compilers when calling android_gyp.
This also allows goma builds.
BUG=
TEST=builds for android.
Review URL: http://codereview.chromium.org/9693042
git-svn-id: http://src.chromium.org/svn/trunk/src/build@127667 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
As we upstream Java source code, the upstream bots and developers need to hava
java and ant. Ant is used to build the java source code. Installing ant/java
requires sudo privileges which installation of sdk/ndk does not require. The
patch moves the install script for sdk/ndk to install-build-deps-android-sdk.sh.
The new install script for ant/java is called install-ubild-deps-android.sh and
will prompt the user for sudo password.
BUG=http://code.google.com/p/chromium/issues/detail?id=117023
TEST=
Review URL: http://codereview.chromium.org/9605020
git-svn-id: http://src.chromium.org/svn/trunk/src/build@125297 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Right now Android's envsetup.sh requires the chdir to be in Chromium's
src directory, whereas this will be different for WebKit. Furthermore,
disabling build_ffmpegsumo will resolve a gyp error in ffmpeg.gyp.
BUG=
TEST=
Review URL: http://codereview.chromium.org/8523029
git-svn-id: http://src.chromium.org/svn/trunk/src/build@110697 4ff67af0-8c30-449e-8e8b-ad334ec8d88c