|
apk-based test runner work for android. 2 unit test bundles converted over (ipc, base).
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=
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=133053
Total comments: 51
Total comments: 16
Total comments: 8
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+976 lines, -32 lines) |
Patch |
|
M |
base/android/java/base.xml
|
View
|
1
2
3
4
|
3 chunks |
+17 lines, -7 lines |
0 comments
|
Download
|
|
M |
base/android/jni_android.h
|
View
|
1
2
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
base/base.gyp
|
View
|
1
2
3
4
|
3 chunks |
+55 lines, -1 line |
0 comments
|
Download
|
|
M |
build/all_android.gyp
|
View
|
1
2
3
4
|
1 chunk |
+14 lines, -0 lines |
0 comments
|
Download
|
|
M |
build/android/buildbot_functions.sh
|
View
|
1
2
3
|
1 chunk |
+22 lines, -0 lines |
0 comments
|
Download
|
|
M |
build/android/buildbot_fyi.sh
|
View
|
1
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
|
M |
build/android/buildbot_try_compile_test.sh
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
build/android/envsetup.sh
|
View
|
1
|
1 chunk |
+7 lines, -2 lines |
0 comments
|
Download
|
|
M |
build/android/run_tests.py
|
View
|
1
2
3
4
|
8 chunks |
+28 lines, -8 lines |
0 comments
|
Download
|
|
M |
build/android/single_test_runner.py
|
View
|
1
2
3
4
|
3 chunks |
+13 lines, -4 lines |
0 comments
|
Download
|
|
M |
build/android/test_package.py
|
View
|
1
2
3
|
3 chunks |
+11 lines, -2 lines |
0 comments
|
Download
|
|
A |
build/android/test_package_apk.py
|
View
|
1
2
3
|
1 chunk |
+91 lines, -0 lines |
0 comments
|
Download
|
|
M |
build/android/test_result.py
|
View
|
1
2
|
2 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
|
M |
build/common.gypi
|
View
|
1
2
3
4
|
2 chunks |
+9 lines, -3 lines |
0 comments
|
Download
|
|
M |
ipc/ipc.gyp
|
View
|
1
2
|
3 chunks |
+50 lines, -1 line |
0 comments
|
Download
|
|
A |
media/base/android/OWNERS
|
View
|
1
2
3
4
5
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
media/base/android/java/java.gyp
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
A |
testing/android/AndroidManifest.xml
|
View
|
1
2
3
|
1 chunk |
+30 lines, -0 lines |
0 comments
|
Download
|
|
A |
testing/android/OWNERS
|
View
|
1
2
3
4
5
6
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
A |
testing/android/generate_native_test.py
|
View
|
1
2
3
|
1 chunk |
+194 lines, -0 lines |
0 comments
|
Download
|
|
A |
testing/android/java/src/org/chromium/native_test/ChromeNativeTestActivity.java
|
View
|
1
2
3
|
1 chunk |
+66 lines, -0 lines |
0 comments
|
Download
|
|
A |
testing/android/native_test.gyp
|
View
|
1
2
3
|
1 chunk |
+96 lines, -0 lines |
0 comments
|
Download
|
|
A |
testing/android/native_test_apk.xml
|
View
|
1
2
3
|
1 chunk |
+55 lines, -0 lines |
0 comments
|
Download
|
|
A |
testing/android/native_test_launcher.cc
|
View
|
1
2
|
1 chunk |
+190 lines, -0 lines |
0 comments
|
Download
|
|
A |
testing/android/res/values/strings.xml
|
View
|
|
1 chunk |
+11 lines, -0 lines |
0 comments
|
Download
|
Total messages: 20 (0 generated)
|