You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

63 lines
1.3 KiB

package {
// http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// the below license kinds from "system_media_license":
// SPDX-license-identifier-Apache-2.0
default_applicable_licenses: ["system_media_license"],
}
subdirs = ["tests"]
cc_library_shared {
name: "libcamera_metadata",
vendor_available: true,
product_available: true,
// TODO(b/153609531): remove when no longer needed.
native_bridge_supported: true,
host_supported: true,
vndk: {
enabled: true,
},
double_loadable: true,
srcs: ["src/camera_metadata.c"],
include_dirs: ["system/media/private/camera/include"],
local_include_dirs: ["include"],
export_include_dirs: ["include"],
header_libs: [
"libcutils_headers",
],
export_header_lib_headers: [
"libcutils_headers",
],
shared_libs: [
"liblog",
],
cflags: [
"-Wall",
"-Wextra",
"-Werror",
"-fvisibility=hidden",
"-std=c11",
],
product_variables: {
eng: {
// Enable assert()
cflags: [
"-UNDEBUG",
"-DLOG_NDEBUG=1",
],
},
},
}
filegroup {
name: "libcamera_metadata_tags_file",
srcs: ["include/system/camera_metadata_tags.h"],
}