aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
authorJean-Marie Henaff <jmhenaff@google.com>2017-10-04 10:39:27 +0200
committerJean-Marie Henaff <jmhenaff@google.com>2017-10-04 10:39:27 +0200
commitce162f3ba18765eb525026f349692d4229acc7f8 (patch)
tree4e3394a3c04f4df7bed7c7d7ab9af54b699ab565 /build.gradle
parentccafacdda126fdd00e62e98b0d96e4495e608cd7 (diff)
downloadr8-ce162f3ba18765eb525026f349692d4229acc7f8.tar.gz
Enable run of tests on devices and emulators
This CL updates the DexVm enum to add add an information about the kind of runtime used to run the tests, whether it's a host version of the runtime or a target one (device or emulator). It adds also the DeviceRunner class which drives the target device for the tests. Change-Id: I10666951f083a4f1da2efe3e9d368803a223a1b2 Bug:
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle2
1 files changed, 2 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle
index e10d9e0e4..1ad9b98e6 100644
--- a/build.gradle
+++ b/build.gradle
@@ -140,6 +140,7 @@ dependencies {
testCompile group: 'org.smali', name: 'smali', version: '2.2b4'
testCompile files('third_party/jasmin/jasmin-2.4.jar')
testCompile files('third_party/jdwp-tests/apache-harmony-jdwp-tests-host.jar')
+ testCompile files('third_party/ddmlib/ddmlib.jar')
jctfCommonCompile 'junit:junit:4.12'
jctfTestsCompile 'junit:junit:4.12'
jctfTestsCompile sourceSets.jctfCommon.output
@@ -202,6 +203,7 @@ def cloudDependencies = [
"kotlin",
"android_cts_baseline",
"shadow",
+ "ddmlib",
],
// All dex-vms have a fixed OS of Linux, as they are only supported on Linux, and will be run in a Docker
// container on other platforms where supported.