mirror of
https://github.com/Evolution-X/external_piex
synced 2026-02-01 07:35:29 +00:00
This is required for building a version of layoutlib using skia as its renderer. Test: sdk build Change-Id: Iaf504f8f5889c3612a11d514a428b080a89a7b04
58 lines
1.3 KiB
Plaintext
58 lines
1.3 KiB
Plaintext
cc_defaults {
|
|
name: "piex_default_cflags",
|
|
cflags: ["-Wall", "-Werror", "-Wsign-compare"],
|
|
}
|
|
|
|
cc_library_static {
|
|
name: "libbinary_parse",
|
|
host_supported: true,
|
|
defaults: ["piex_default_cflags"],
|
|
vendor_available: true,
|
|
srcs: [
|
|
"src/binary_parse/cached_paged_byte_array.cc",
|
|
"src/binary_parse/range_checked_byte_ptr.cc",
|
|
],
|
|
}
|
|
|
|
cc_library_static {
|
|
name: "libimage_type_recognition",
|
|
host_supported: true,
|
|
defaults: ["piex_default_cflags"],
|
|
vendor_available: true,
|
|
srcs: [
|
|
"src/image_type_recognition/image_type_recognition_lite.cc",
|
|
],
|
|
static_libs: ["libbinary_parse"],
|
|
}
|
|
|
|
cc_library_static {
|
|
name: "libtiff_directory",
|
|
host_supported: true,
|
|
defaults: ["piex_default_cflags"],
|
|
vendor_available: true,
|
|
srcs: [
|
|
"src/tiff_directory/tiff_directory.cc",
|
|
],
|
|
static_libs: ["libbinary_parse"],
|
|
}
|
|
|
|
cc_library_shared {
|
|
name: "libpiex",
|
|
host_supported: true,
|
|
defaults: ["piex_default_cflags"],
|
|
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",
|
|
],
|
|
}
|