mirror of
https://github.com/Evolution-X/external_piex
synced 2026-01-30 15:22:28 +00:00
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 Change-Id: I63923fcb6c11a2c331606f5b0b71e9f4c4cd7322
49 lines
1.1 KiB
Plaintext
49 lines
1.1 KiB
Plaintext
cc_library_static {
|
|
name: "libbinary_parse",
|
|
vendor_available: true,
|
|
srcs: [
|
|
"src/binary_parse/cached_paged_byte_array.cc",
|
|
"src/binary_parse/range_checked_byte_ptr.cc",
|
|
],
|
|
cppflags: ["-Wsign-compare"],
|
|
}
|
|
|
|
cc_library_static {
|
|
name: "libimage_type_recognition",
|
|
vendor_available: true,
|
|
srcs: [
|
|
"src/image_type_recognition/image_type_recognition_lite.cc",
|
|
],
|
|
static_libs: ["libbinary_parse"],
|
|
cppflags: ["-Wsign-compare"],
|
|
}
|
|
|
|
cc_library_static {
|
|
name: "libtiff_directory",
|
|
vendor_available: true,
|
|
srcs: [
|
|
"src/tiff_directory/tiff_directory.cc",
|
|
],
|
|
static_libs: ["libbinary_parse"],
|
|
cppflags: ["-Wsign-compare"],
|
|
}
|
|
|
|
cc_library_shared {
|
|
name: "libpiex",
|
|
vendor_available: true,
|
|
vndk: {
|
|
enabled: true,
|
|
},
|
|
srcs: [
|
|
"src/tiff_parser.cc",
|
|
"src/piex.cc",
|
|
],
|
|
export_include_dirs: ["."],
|
|
static_libs: [
|
|
"libbinary_parse",
|
|
"libimage_type_recognition",
|
|
"libtiff_directory",
|
|
],
|
|
cppflags: ["-Wsign-compare"],
|
|
}
|