[Android WebViewShell] Make WebViewLayoutTest runnable with test_runner.py
commit139cb05fe71b72e67776c85b9d0743fd61904ebe
authortimvolodine <timvolodine@chromium.org>
Wed, 1 Jul 2015 16:39:43 +0000 (1 09:39 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 1 Jul 2015 16:40:18 +0000 (1 16:40 +0000)
tree1d56c3156e0c22dfb5278e73afb98b795371888f
parent4feae97e0717e402bcb52c966dc0bd9039f52692
[Android WebViewShell] Make WebViewLayoutTest runnable with test_runner.py

Make it possible to run the instrumentation tests in WebViewLayoutTest using
build/android/test_runner.py.

This patch adds an .isolate file, modifies the gyp target settings and uses
the standard paths for testing on the device. Also the apk now performs any
necessary copying (of js-test.js) itself, making it possible to run the
tests both locally and on the bots using the .isolate file.

BUG=497861

Review URL: https://codereview.chromium.org/1215733002

Cr-Commit-Position: refs/heads/master@{#337040}
android_webview/android_webview_shell.gyp
android_webview/android_webview_shell_test_apk.isolate [new file with mode: 0644]
android_webview/tools/WebViewShell/src/org/chromium/webview_shell/WebViewLayoutTest.java