aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Badour <bbadour@google.com>2022-01-27 23:36:59 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2022-01-27 23:36:59 +0000
commitc2b7d5c71d2b55c33893cc78f5ecf1c77d56145f (patch)
tree1b62748224b3aafd5552d1144d84478edb02bcdd
parent59528388a20e862574b657ea9f88ec63bebe4da4 (diff)
parent5190f27c34ad44664c395bbc8e01489dbe3abb39 (diff)
downloadjazzer-api-c2b7d5c71d2b55c33893cc78f5ecf1c77d56145f.tar.gz
[LSC] Add LOCAL_LICENSE_KINDS to external/jazzer-api am: 5190f27c34
Original change: https://android-review.googlesource.com/c/platform/external/jazzer-api/+/1964100 Change-Id: Id0047d292f717646bd9d238144fec9db41c2704c
-rw-r--r--Android.bp33
1 files changed, 33 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 69d454c2..8f0b5ba9 100644
--- a/Android.bp
+++ b/Android.bp
@@ -12,6 +12,39 @@
// See the License for the specific language governing permissions and
// limitations under the License.
+package {
+ default_applicable_licenses: ["external_jazzer-api_license"],
+}
+
+// Added automatically by a large-scale-change that took the approach of
+// 'apply every license found to every target'. While this makes sure we respect
+// every license restriction, it may not be entirely correct.
+//
+// e.g. GPL in an MIT project might only apply to the contrib/ directory.
+//
+// Please consider splitting the single license below into multiple licenses,
+// taking care not to lose any license_kind information, and overriding the
+// default license using the 'licenses: [...]' property on targets as needed.
+//
+// For unused files, consider creating a 'fileGroup' with "//visibility:private"
+// to attach the license to, and including a comment whether the files may be
+// used in the current project.
+//
+// large-scale-change filtered out the below license kinds as false-positives:
+// SPDX-license-identifier-EPL
+// See: http://go/android-license-faq
+license {
+ name: "external_jazzer-api_license",
+ visibility: [":__subpackages__"],
+ license_kinds: [
+ "SPDX-license-identifier-Apache-2.0",
+ "legacy_unencumbered",
+ ],
+ license_text: [
+ "LICENSE",
+ ],
+}
+
java_library_host {
name: "jazzer",
srcs: [