aboutsummaryrefslogtreecommitdiff
path: root/Android.bp
diff options
context:
space:
mode:
authorJustin Yun <justinyun@google.com>2020-11-11 18:22:26 +0900
committerJustin Yun <justinyun@google.com>2020-11-11 18:22:26 +0900
commit12084de6fb1438acb6cffd75d7eeea7d6c974c5d (patch)
tree1921b237adb755c8773c9b891b1e5e5cb901afc7 /Android.bp
parentf80bdaa14a36b97793bca6042b9a2fa345cfe770 (diff)
downloadpiex-12084de6fb1438acb6cffd75d7eeea7d6c974c5d.tar.gz
Add product_available to product available modules
vendor_available modules were available to product modules. However, not all vendor_available modules are required to be available to product modules. Some modules want to be available only to product modules but not vendor modules. To cover the requirement, we separate product_available from vendor_available. vendor_available will not provide product available module. Bug: 150902910 Test: build Change-Id: Iee663ffd1666985bccd92ef68f051c5b6f3f8204
Diffstat (limited to 'Android.bp')
-rw-r--r--Android.bp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 57045cf..16d2f22 100644
--- a/Android.bp
+++ b/Android.bp
@@ -8,6 +8,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 +25,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 +42,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 +59,7 @@ cc_library {
host_supported: true,
defaults: ["piex_default_cflags"],
vendor_available: true,
+ product_available: true,
vndk: {
enabled: true,
},