diff options
author | android-build-prod (mdb) <android-build-team-robot@google.com> | 2021-03-04 00:38:10 +0000 |
---|---|---|
committer | android-build-prod (mdb) <android-build-team-robot@google.com> | 2021-03-04 00:38:10 +0000 |
commit | db29a30b4accb7fa452eac43a46f18e4058af9df (patch) | |
tree | ebc79d81a0ca3240686c38c15599036ab6c11fe0 | |
parent | ce202cfc682410c2e79886903751cee9a477485b (diff) | |
parent | d876368f00bc79dd0b047caf2785671498dc2f2c (diff) | |
download | junit-params-db29a30b4accb7fa452eac43a46f18e4058af9df.tar.gz |
Snap for 7183507 from d876368f00bc79dd0b047caf2785671498dc2f2c to sdk-releaseplatform-tools-31.0.3platform-tools-31.0.2platform-tools-31.0.1
Change-Id: I38c1ebeb2384fa3e9b9af56d3ae315f6dfa8a024
-rw-r--r-- | Android.bp | 23 |
1 files changed, 22 insertions, 1 deletions
@@ -17,6 +17,23 @@ //------------------------------- // build a target jar +package { + default_applicable_licenses: ["external_junit-params_license"], +} + +// Added automatically by a large-scale-change +// See: http://go/android-license-faq +license { + name: "external_junit-params_license", + visibility: [":__subpackages__"], + license_kinds: [ + "SPDX-license-identifier-Apache-2.0", + ], + license_text: [ + "LICENSE.txt", + ], +} + java_library { name: "junit-params", host_supported: true, @@ -43,6 +60,11 @@ java_library_host { java_test { name: "junit-params-test", host_supported: true, + // Don't consider those unit tests, they would be hard to maintain since they are + // from external, and have dependencies on the junit version. + test_options: { + unit_test: false, + }, srcs: ["src/test/java/**/*.java"], java_resource_dirs: ["src/test/resources"], sdk_version: "core_current", @@ -60,4 +82,3 @@ java_import { jars: ["lib/assertj-core-1.7.1.jar"], host_supported: true, } - |