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.

72 lines
1.8 KiB

package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "hardware_interfaces_license"
// to get the below license kinds:
// SPDX-license-identifier-Apache-2.0
default_applicable_licenses: ["hardware_interfaces_license"],
}
// HUANGLONG begin
// cc_library_shared {
// name: "android.hardware.sensors@1.0-impl",
// defaults: ["hidl_defaults"],
// proprietary: true,
// relative_install_path: "hw",
// srcs: ["Sensors.cpp"],
// shared_libs: [
// "liblog",
// "libcutils",
// "libhardware",
// "libbase",
// "libutils",
// "libhidlbase",
// "android.hardware.sensors@1.0",
// ],
// static_libs: [
// "android.hardware.sensors@1.0-convert",
// "multihal",
// ],
// local_include_dirs: ["include/sensors"],
// }
// HUANGLONG end
cc_library_static {
name: "android.hardware.sensors@1.0-convert",
vendor_available: true,
defaults: ["hidl_defaults"],
srcs: ["convert.cpp"],
export_include_dirs: ["include"],
shared_libs: [
"liblog",
"libcutils",
"libhardware",
"libbase",
"libutils",
"libhidlbase",
"android.hardware.sensors@1.0",
],
local_include_dirs: ["include/sensors"],
export_shared_lib_headers: [
"libhardware",
],
}
cc_binary {
name: "android.hardware.sensors@1.0-service",
relative_install_path: "hw",
vendor: true,
init_rc: ["android.hardware.sensors@1.0-service.rc"],
srcs: ["service.cpp"],
shared_libs: [
"liblog",
"libcutils",
"libdl",
"libbase",
"libutils",
"libhidlbase",
"android.hardware.sensors@1.0",
],
}