aboutsummaryrefslogtreecommitdiff
path: root/Android.bp
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2021-06-21 14:28:33 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2021-06-21 14:28:33 +0000
commitfe075d1c5c4cdb4ca8d44a0d2990f3e98a37046b (patch)
treecdcad40f946cee5c4e7c28d76947ec0bac0d78aa /Android.bp
parent6ff91ae0acacf741dd12b217460ea843b738eb1a (diff)
parent64e36cd3d86f39393ca0180eb52671acd6fa50fa (diff)
downloadpiex-fe075d1c5c4cdb4ca8d44a0d2990f3e98a37046b.tar.gz
Change-Id: I1e840ca0187e076c04c9942210174cf56779fc17
Diffstat (limited to 'Android.bp')
-rw-r--r--Android.bp21
1 files changed, 21 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 57045cf..8486648 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,3 +1,20 @@
+package {
+ default_applicable_licenses: ["external_piex_license"],
+}
+
+// Added automatically by a large-scale-change
+// See: http://go/android-license-faq
+license {
+ name: "external_piex_license",
+ visibility: [":__subpackages__"],
+ license_kinds: [
+ "SPDX-license-identifier-Apache-2.0",
+ ],
+ license_text: [
+ "LICENSE",
+ ],
+}
+
cc_defaults {
name: "piex_default_cflags",
cflags: ["-Wall", "-Werror", "-Wsign-compare"],
@@ -8,6 +25,7 @@ cc_library_static {
host_supported: true,
defaults: ["piex_default_cflags"],
vendor_available: true,
+ product_available: true,
srcs: [
"src/binary_parse/cached_paged_byte_array.cc",
"src/binary_parse/range_checked_byte_ptr.cc",
@@ -24,6 +42,7 @@ cc_library_static {
host_supported: true,
defaults: ["piex_default_cflags"],
vendor_available: true,
+ product_available: true,
srcs: [
"src/image_type_recognition/image_type_recognition_lite.cc",
],
@@ -40,6 +59,7 @@ cc_library_static {
host_supported: true,
defaults: ["piex_default_cflags"],
vendor_available: true,
+ product_available: true,
srcs: [
"src/tiff_directory/tiff_directory.cc",
],
@@ -56,6 +76,7 @@ cc_library {
host_supported: true,
defaults: ["piex_default_cflags"],
vendor_available: true,
+ product_available: true,
vndk: {
enabled: true,
},