Chromium Android tools for test execution.

The md5sum and forwarder2 binaries from Chromium's
src/tools/android are needed to be able to run tests using the
test framework launched by build/android/run_tests.py.
Since they depend on Chromium's base, we're using a precompiled
copy for WebRTC's purposes.

Linux works out of the box if Chromium's Android build instructions
at https://code.google.com/p/chromium/wiki/AndroidBuildInstructions
are used. Mac runs into problems earlier in the build toolchain,
but as Mac is not a supported Android development platform in Chrome,
the files will have to be copied manually on that platform for now.

TEST=Synced, built and ran a test APK using run_tests.py.
BUG=1882
R=andrew@webrtc.org, henrike@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/1679005

git-svn-id: http://webrtc.googlecode.com/svn/trunk@4241 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
kjellander@webrtc.org 2013-06-18 07:14:33 +00:00
parent a20eb91154
commit 6cfe178af2
3 changed files with 11 additions and 0 deletions

1
.gitignore vendored
View File

@ -66,6 +66,7 @@
/third_party/winsdk_samples/src
/third_party/yasm
/third_party/WebKit/Tools/Scripts
/tools/android
/tools/clang
/tools/grit
/tools/gritsettings

5
DEPS
View File

@ -113,6 +113,11 @@ deps_os = {
From("chromium_deps", "src/third_party/gold"),
},
"android": {
# Precompiled tools needed for Android test execution. Needed since we can't
# compile them from source in WebRTC since they depend on Chromium's base.
"tools/android":
(Var("googlecode_url") % "webrtc") + "/deps/tools/android@4235",
"third_party/android_tools":
From("chromium_deps", "src/third_party/android_tools"),

View File

@ -36,6 +36,11 @@
'tools/e2e_quality/e2e_quality.gyp:*',
],
}],
['OS=="android"', {
'dependencies': [
'tools/android/android_tools_precompiled.gyp:*',
],
}],
],
},
],