diff options
author | Neil Fuller <nfuller@google.com> | 2018-09-25 13:24:22 +0100 |
---|---|---|
committer | Neil Fuller <nfuller@google.com> | 2018-09-25 13:24:22 +0100 |
commit | f78c7816cdcfdb54dc43ffdd5f90589a7b150ff0 (patch) | |
tree | c2059c17ecad6859b8e2f9c376984d3f4cc92f77 | |
parent | 02588d3537372c990f6b3b0ddce9997827187ca9 (diff) | |
download | junit-params-f78c7816cdcfdb54dc43ffdd5f90589a7b150ff0.tar.gz |
Compile against core public SDK APIs onlyandroid-o-mr1-iot-release-smart-display-r3android-o-mr1-iot-release-1.0.5oreo-mr1-1.2-iot-releasemaster-cuttlefish-testing-release
Explicitly compile using core_current, which are the
public SDK APIs provided by the core libraries.
Bug: 113148576
Test: build / treehugger
Change-Id: I9412425e2aec33dd7a6d23ab18362e7f22234efa
-rw-r--r-- | Android.bp | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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", |