15 Commits

Author SHA1 Message Date
Kiyoung Kim
54fd8fb0de Remove VNDK definition(s)
As of VNDK deprecation, any libraries that defines vndk is no longer
valid anymore. This change removes all VNDK definition(s) from modules
which was VNDK.

Bug: 328994089
Test: AOSP CF build succeeded
Change-Id: Ie13b26cb67459ab6453fac09ca7a8bab5746f0af
2024-03-11 13:04:32 +09:00
Nick Chusid
af84d1d7f0 Update Android.bp
Change-Id: I52356f11d7f9181a7bbe6d58756ab0070d9d9f6e
2021-06-08 14:23:18 -04:00
Bob Badour
aacf8941ed [LSC] Add LOCAL_LICENSE_KINDS to external/piex
Added SPDX-license-identifier-Apache-2.0 to:
  Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all

Exempt-From-Owner-Approval: janitorial work
Change-Id: Idb404d88f2f74aa2c84877417f5414ae08d6502f
2021-02-12 15:34:51 -08:00
Justin Yun
12084de6fb 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
2020-11-11 18:22:26 +09:00
Jerome Gaillard
fe0cffa94e Enable static builds of libpiex
Test: m libpiex
Change-Id: I91b7fbd0babf2f2f17fc927c1f561913361b32c0
2019-06-27 19:31:37 +01:00
Jooyung Han
d054e8a2e6 Revert "Mark libpiex as double_loadable"
This reverts commit c64563c916.

Reason for revert: libpiex is no longer used by libmediandk(aosp/915075).
Exempt-From-Owner-Approval: revert
Change-Id: I858a16f7d40613b9c433997bbd7308dcf521427b
2019-03-12 22:21:31 +00:00
Jooyung Han
c64563c916 Mark libpiex as double_loadable
libpiex is a VNDK lib and also used by LLNDK(libmediandk) which means
this lib can be double-loaded.
(deps: libmediandk -> libmedia_jni -> libpiex)

Bug: 121280180
Test: m -j
Change-Id: Ie83ebd7e974ebc28a84855065544c10d3b81cb12
2019-02-07 17:43:33 +09:00
Jerome Gaillard
1ef9d0c0f4 Enable libpiex for Windows
This is needed to use skia in Android Studio for Windows.

Test: sdk build
Change-Id: Iaf219ff802dd367a5b9679306319049590885fad
2018-11-29 14:50:11 +00:00
Jerome Gaillard
b33dd7d029 Create a host target for libpiex
This is required for building a version of layoutlib using skia as its
renderer.

Test: sdk build
Change-Id: Iaf504f8f5889c3612a11d514a428b080a89a7b04
2018-10-18 18:11:43 +01:00
Chih-Hung Hsieh
1ee57811ec Use -Werror in external/piex
Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: Ib4d60122a7cd072d03206f53eb89e4f686f45c1f
2017-09-29 10:35:08 -07:00
Justin Yun
878bf5c875 Mark the module as VNDK or VNDK-SP in Android.bp
As a VNDK/VNDK-SP module, Android.bp must have 'vndk' tag as well
as 'vendor_available: true'.

For a VNDK module, the 'vndk' tag has 'enabled: true'.
It will be installed system/lib(64)/vndk as a vendor variant.

For a VNDK-SP module, the 'vndk' tag has
'support_system_process: true' as well as 'enabled: true'.
It will be installed system/lib(64)/vndk-sp as a vendor variant.

Bug: 63866913
Test: build and boot with BOARD_VNDK_VERSION=current
Merged-In: I63923fcb6c11a2c331606f5b0b71e9f4c4cd7322
Change-Id: I63923fcb6c11a2c331606f5b0b71e9f4c4cd7322
(cherry picked from commit 062f53fc73)
2017-09-08 01:37:57 +00:00
Jiyong Park
ac5a3090cb Mark dependencies of libpiex as vendor_available
libpiex is already vendor_available but its dependencies are not.
Marking them as vendor_available since a vendor_available lib cannot
link against to non vendor_available libs.

Bug: 33241851
Test: BOARD_VNDK_VERSION=current m -j libpiex.vendor
Change-Id: I9c33eb95023519f3df6cbe15df68ac864d213ae9
2017-06-14 19:03:15 +09:00
Jayant Chowdhary
6660354225 Mark libpiex vendor_available.
libpiex belongs to vndk-cap. Mark it vendor_available to enable vndk abi
stability checks on it.

Details: https://android-review.googlesource.com/368372

Test: mm -j64

Bug: 38244611

Change-Id: I33f9c4bf15a33d5792cbe617420a1c48baf492e6
2017-05-24 14:52:44 -07:00
Colin Cross
b57a64fc86 Export headers from libpiex
Test: mmma -j external/skia
Change-Id: I5b36fd1136aeb82237c4aee6723c51b8a9405838
2016-12-05 13:52:47 -08:00
Colin Cross
cdd77ccc7b Convert libpiex to Android.bp
See build/soong/README.md for more information.

Also converts the tiny libbinary_parse, libimage_type_recognition, and
libtiff_directory shared libraries to static libraries.  They are only
used by libpiex, and linking them statically reduces the total size by
90kB (263kB to 170kB).

Test: mma -j
Change-Id: I3f6a822e4497cf3cedecd30d4e11565e5da71b07
2016-12-01 17:38:57 -08:00