blob: 62784ed1a9d09f0d6eb5291279abaf3754131a30 [file] [log] [blame]
aidl_interface {
name: "shared-file-region-aidl",
unstable: true,
host_supported: true,
vendor_available: true,
double_loadable: true,
local_include_dir: "aidl",
srcs: [
"aidl/android/media/SharedFileRegion.aidl",
],
}
cc_library {
name: "libshmemcompat",
export_include_dirs: ["include"],
srcs: ["ShmemCompat.cpp"],
host_supported: true,
vendor_available: true,
double_loadable: true,
shared_libs: [
"libbinder",
"libshmemutil",
"libutils",
"shared-file-region-aidl-unstable-cpp",
],
export_shared_lib_headers: [
"libbinder",
"libutils",
"shared-file-region-aidl-unstable-cpp",
],
target: {
darwin: {
enabled: false,
},
},
}
cc_library {
name: "libshmemutil",
export_include_dirs: ["include"],
srcs: ["ShmemUtil.cpp"],
host_supported: true,
vendor_available: true,
double_loadable: true,
shared_libs: [
"shared-file-region-aidl-unstable-cpp",
],
export_shared_lib_headers: [
"shared-file-region-aidl-unstable-cpp",
],
target: {
darwin: {
enabled: false,
},
},
}
cc_test {
name: "shmemTest",
srcs: ["ShmemTest.cpp"],
shared_libs: [
"libbinder",
"libcutils",
"libshmemcompat",
"libshmemutil",
"libutils",
"shared-file-region-aidl-unstable-cpp",
],
test_suites: ["device-tests"],
}