aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Android.bp31
-rw-r--r--dump/Android.bp9
-rw-r--r--fsck/Android.bp9
-rw-r--r--label/Android.bp9
-rw-r--r--lib/Android.bp9
-rw-r--r--mkfs/Android.bp9
-rw-r--r--tune/Android.bp9
7 files changed, 85 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index b25d7f4..e4f801b 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,5 +1,36 @@
// Copyright 2020 The Android Open Source Project
+package {
+ default_applicable_licenses: ["external_exfatprogs_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.
+// See: http://go/android-license-faq
+license {
+ name: "external_exfatprogs_license",
+ visibility: [":__subpackages__"],
+ license_kinds: [
+ "SPDX-license-identifier-GPL",
+ "SPDX-license-identifier-GPL-2.0",
+ "SPDX-license-identifier-LGPL",
+ ],
+ license_text: [
+ "COPYING",
+ ],
+}
+
cc_library_headers {
name: "libexfatprogs-headers",
export_include_dirs: [
diff --git a/dump/Android.bp b/dump/Android.bp
index a39b245..fad2bf6 100644
--- a/dump/Android.bp
+++ b/dump/Android.bp
@@ -1,5 +1,14 @@
// Copyright 2021 The Android Open Source Project
+package {
+ // See: http://go/android-license-faq
+ // A large-scale-change added 'default_applicable_licenses' to import
+ // all of the 'license_kinds' from "external_exfatprogs_license"
+ // to get the below license kinds:
+ // SPDX-license-identifier-GPL-2.0
+ default_applicable_licenses: ["external_exfatprogs_license"],
+}
+
cc_binary {
name: "dump.exfat",
diff --git a/fsck/Android.bp b/fsck/Android.bp
index f267ad4..208fc34 100644
--- a/fsck/Android.bp
+++ b/fsck/Android.bp
@@ -1,5 +1,14 @@
// Copyright 2020 The Android Open Source Project
+package {
+ // See: http://go/android-license-faq
+ // A large-scale-change added 'default_applicable_licenses' to import
+ // all of the 'license_kinds' from "external_exfatprogs_license"
+ // to get the below license kinds:
+ // SPDX-license-identifier-GPL-2.0
+ default_applicable_licenses: ["external_exfatprogs_license"],
+}
+
cc_binary {
name: "fsck.exfat",
diff --git a/label/Android.bp b/label/Android.bp
index 05bed67..e7300a8 100644
--- a/label/Android.bp
+++ b/label/Android.bp
@@ -1,5 +1,14 @@
// Copyright 2020 The Android Open Source Project
+package {
+ // See: http://go/android-license-faq
+ // A large-scale-change added 'default_applicable_licenses' to import
+ // all of the 'license_kinds' from "external_exfatprogs_license"
+ // to get the below license kinds:
+ // SPDX-license-identifier-GPL-2.0
+ default_applicable_licenses: ["external_exfatprogs_license"],
+}
+
cc_binary {
name: "exfatlabel",
diff --git a/lib/Android.bp b/lib/Android.bp
index 0ccf6aa..b90a741 100644
--- a/lib/Android.bp
+++ b/lib/Android.bp
@@ -1,5 +1,14 @@
// Copyright 2020 The Android Open Source Project
+package {
+ // See: http://go/android-license-faq
+ // A large-scale-change added 'default_applicable_licenses' to import
+ // all of the 'license_kinds' from "external_exfatprogs_license"
+ // to get the below license kinds:
+ // SPDX-license-identifier-GPL-2.0
+ default_applicable_licenses: ["external_exfatprogs_license"],
+}
+
cc_library_static {
name: "libexfat",
diff --git a/mkfs/Android.bp b/mkfs/Android.bp
index 90e2e7f..6833d24 100644
--- a/mkfs/Android.bp
+++ b/mkfs/Android.bp
@@ -1,5 +1,14 @@
// Copyright 2020 The Android Open Source Project
+package {
+ // See: http://go/android-license-faq
+ // A large-scale-change added 'default_applicable_licenses' to import
+ // all of the 'license_kinds' from "external_exfatprogs_license"
+ // to get the below license kinds:
+ // SPDX-license-identifier-GPL-2.0
+ default_applicable_licenses: ["external_exfatprogs_license"],
+}
+
cc_binary {
name: "mkfs.exfat",
diff --git a/tune/Android.bp b/tune/Android.bp
index 6f88e33..0e82d10 100644
--- a/tune/Android.bp
+++ b/tune/Android.bp
@@ -1,5 +1,14 @@
// Copyright 2020 The Android Open Source Project
+package {
+ // See: http://go/android-license-faq
+ // A large-scale-change added 'default_applicable_licenses' to import
+ // all of the 'license_kinds' from "external_exfatprogs_license"
+ // to get the below license kinds:
+ // SPDX-license-identifier-GPL-2.0
+ default_applicable_licenses: ["external_exfatprogs_license"],
+}
+
cc_binary {
name: "tune.exfat",