summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Android.bp16
-rw-r--r--C/Android.bp14
-rw-r--r--METADATA3
3 files changed, 31 insertions, 2 deletions
diff --git a/Android.bp b/Android.bp
index 4a68eda..b1ffe6c 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,3 +1,19 @@
+package {
+ default_applicable_licenses: ["external_lzma_license"],
+}
+
+// Added automatically by a large-scale-change
+license {
+ name: "external_lzma_license",
+ visibility: [":__subpackages__"],
+ license_kinds: [
+ "legacy_unencumbered",
+ ],
+ license_text: [
+ "NOTICE",
+ ],
+}
+
subdirs = [
"C",
]
diff --git a/C/Android.bp b/C/Android.bp
index 16f72b7..e3f796c 100644
--- a/C/Android.bp
+++ b/C/Android.bp
@@ -1,10 +1,19 @@
// Copyright 2015 The Android Open Source Project
+package {
+ // A large-scale-change added 'default_applicable_licenses' to import
+ // the below license kinds from "external_lzma_license":
+ // legacy_unencumbered
+ default_applicable_licenses: ["external_lzma_license"],
+}
+
cc_library {
name: "liblzma",
host_supported: true,
vendor_available: true,
+ product_available: true,
recovery_available: true,
+ vendor_ramdisk_available: true,
native_bridge_supported: true,
vndk: {
enabled: true,
@@ -85,7 +94,8 @@ cc_library {
apex_available: [
"//apex_available:platform",
- "com.android.art.debug", // from libartbase
- "com.android.art.release",
+ "com.android.art", // from libartbase
+ "com.android.art.debug",
],
+ min_sdk_version: "apex_inherit",
}
diff --git a/METADATA b/METADATA
new file mode 100644
index 0000000..313792c
--- /dev/null
+++ b/METADATA
@@ -0,0 +1,3 @@
+third_party {
+ license_type: UNENCUMBERED
+}