aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Badour <bbadour@google.com>2022-01-27 14:00:45 -0800
committerBob Badour <bbadour@google.com>2022-01-27 14:00:45 -0800
commit5190f27c34ad44664c395bbc8e01489dbe3abb39 (patch)
tree1b62748224b3aafd5552d1144d84478edb02bcdd
parente5aed2f3e7cafdafb42d0cb382b323b1716905a0 (diff)
downloadjazzer-api-5190f27c34ad44664c395bbc8e01489dbe3abb39.tar.gz
[LSC] Add LOCAL_LICENSE_KINDS to external/jazzer-api
Added SPDX-license-identifier-Apache-2.0 legacy_unencumbered to: Android.bp Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Change-Id: If2e60369e2f8690ffb3d9f8e95f2058a8457b24e
-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: [