aboutsummaryrefslogtreecommitdiff
path: root/Android.bp
diff options
context:
space:
mode:
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,
},