aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeil Fuller <nfuller@google.com>2018-09-25 08:22:58 -0700
committerandroid-build-merger <android-build-merger@google.com>2018-09-25 08:22:58 -0700
commitc5e60baa72d4b5118c13cb7f7a73f7e969e85157 (patch)
treec2059c17ecad6859b8e2f9c376984d3f4cc92f77
parent7ba476aa1568b2e9cb9fe17964ef20cd79855f7a (diff)
parent1ca4444fe14735b9fcfd366caa81f6e2a0ec9200 (diff)
downloadjunit-params-c5e60baa72d4b5118c13cb7f7a73f7e969e85157.tar.gz
Compile against core public SDK APIs only am: f78c7816cd am: d4c2ffb2d9
am: 1ca4444fe1 Change-Id: Ib0e8c38a8931ea93aa36aeefa2876cfacad1f3be
-rw-r--r--Android.bp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Android.bp b/Android.bp
index ffc0621..fdc1eb4 100644
--- a/Android.bp
+++ b/Android.bp
@@ -17,12 +17,12 @@
//-------------------------------
// build a target jar
-java_library_static {
+java_library {
name: "junit-params",
host_supported: true,
hostdex: true,
srcs: ["src/main/java/**/*.java"],
- no_framework_libs: true,
+ sdk_version: "core_current",
static_libs: ["junit"],
}
@@ -45,7 +45,7 @@ java_test {
host_supported: true,
srcs: ["src/test/java/**/*.java"],
java_resource_dirs: ["src/test/resources"],
- no_framework_libs: true,
+ sdk_version: "core_current",
static_libs: [
"junit-params",
"junit-params-assertj-core",