mirror of
https://github.com/Evolution-X/external_piex
synced 2026-01-27 16:24:09 +00:00
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
99 lines
2.0 KiB
Plaintext
99 lines
2.0 KiB
Plaintext
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"],
|
|
}
|
|
|
|
cc_library_static {
|
|
name: "libbinary_parse",
|
|
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",
|
|
],
|
|
target: {
|
|
windows: {
|
|
enabled: true,
|
|
},
|
|
},
|
|
}
|
|
|
|
cc_library_static {
|
|
name: "libimage_type_recognition",
|
|
host_supported: true,
|
|
defaults: ["piex_default_cflags"],
|
|
vendor_available: true,
|
|
product_available: true,
|
|
srcs: [
|
|
"src/image_type_recognition/image_type_recognition_lite.cc",
|
|
],
|
|
static_libs: ["libbinary_parse"],
|
|
target: {
|
|
windows: {
|
|
enabled: true,
|
|
},
|
|
},
|
|
}
|
|
|
|
cc_library_static {
|
|
name: "libtiff_directory",
|
|
host_supported: true,
|
|
defaults: ["piex_default_cflags"],
|
|
vendor_available: true,
|
|
product_available: true,
|
|
srcs: [
|
|
"src/tiff_directory/tiff_directory.cc",
|
|
],
|
|
static_libs: ["libbinary_parse"],
|
|
target: {
|
|
windows: {
|
|
enabled: true,
|
|
},
|
|
},
|
|
}
|
|
|
|
cc_library {
|
|
name: "libpiex",
|
|
host_supported: true,
|
|
defaults: ["piex_default_cflags"],
|
|
vendor_available: true,
|
|
product_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",
|
|
],
|
|
target: {
|
|
windows: {
|
|
enabled: true,
|
|
},
|
|
},
|
|
}
|