summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBob Badour <bbadour@google.com>2021-02-12 18:23:40 -0800
committerBob Badour <bbadour@google.com>2021-02-12 18:23:40 -0800
commit647c0b6564e6f2da4671f6272c19637a99dd44cd (patch)
tree08044139117d5238b1c3c02438104e9136fe6fd0
parentd7c61e8ee96599eb512761f579b1d29b1c98a023 (diff)
downloadplatform_system_incremental_delivery-647c0b6564e6f2da4671f6272c19637a99dd44cd.tar.gz
platform_system_incremental_delivery-647c0b6564e6f2da4671f6272c19637a99dd44cd.tar.bz2
platform_system_incremental_delivery-647c0b6564e6f2da4671f6272c19637a99dd44cd.zip
[LSC] Add LOCAL_LICENSE_KINDS to system/incremental_deliveryandroid-s-preview-1
Added SPDX-license-identifier-Apache-2.0 to: libdataloader/Android.bp sysprop/Android.bp Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-GPL-2.0 to: incfs/Android.bp Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Exempt-From-Owner-Approval: janitorial work Change-Id: Ic8b89cb44ed26ad3d2f55309dd30803f8365ebff
-rw-r--r--incfs/Android.bp30
-rw-r--r--libdataloader/Android.bp19
-rw-r--r--sysprop/Android.bp4
3 files changed, 53 insertions, 0 deletions
diff --git a/incfs/Android.bp b/incfs/Android.bp
index 1b97719..cb4cb1e 100644
--- a/incfs/Android.bp
+++ b/incfs/Android.bp
@@ -12,6 +12,36 @@
// See the License for the specific language governing permissions and
// limitations under the License.
+package {
+ default_applicable_licenses: ["system_incremental_delivery_incfs_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: "system_incremental_delivery_incfs_license",
+ visibility: [":__subpackages__"],
+ license_kinds: [
+ "SPDX-license-identifier-Apache-2.0",
+ "SPDX-license-identifier-GPL-2.0",
+ ],
+ license_text: [
+ "NOTICE",
+ ],
+}
+
cc_defaults {
name: "libincfs_defaults_common",
cpp_std: "c++2a",
diff --git a/libdataloader/Android.bp b/libdataloader/Android.bp
index 142a409..c02aac4 100644
--- a/libdataloader/Android.bp
+++ b/libdataloader/Android.bp
@@ -12,6 +12,25 @@
// See the License for the specific language governing permissions and
// limitations under the License.
+package {
+ default_applicable_licenses: [
+ "system_incremental_delivery_libdataloader_license",
+ ],
+}
+
+// Added automatically by a large-scale-change
+// See: http://go/android-license-faq
+license {
+ name: "system_incremental_delivery_libdataloader_license",
+ visibility: [":__subpackages__"],
+ license_kinds: [
+ "SPDX-license-identifier-Apache-2.0",
+ ],
+ license_text: [
+ "NOTICE",
+ ],
+}
+
cc_defaults {
name: "libdataloader_defaults",
cpp_std: "c++2a",
diff --git a/sysprop/Android.bp b/sysprop/Android.bp
index 5d7c86b..59ba604 100644
--- a/sysprop/Android.bp
+++ b/sysprop/Android.bp
@@ -1,3 +1,7 @@
+package {
+ default_applicable_licenses: ["Android-Apache-2.0"],
+}
+
sysprop_library {
name: "com.android.sysprop.incremental",
srcs: ["IncrementalProperties.sysprop"],