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.
101 lines
2.0 KiB
101 lines
2.0 KiB
cc_library_shared {
|
|
name: "vendor.huanglong.hardware.hwdtv@1.0-impl",
|
|
proprietary: true,
|
|
compile_multilib: "32",
|
|
relative_install_path: "hw",
|
|
srcs: ["Hwdtv.cpp"],
|
|
|
|
include_dirs: [
|
|
"vendor/platform/secure_c/include",
|
|
],
|
|
|
|
local_include_dirs: [
|
|
".",
|
|
],
|
|
|
|
header_libs: [
|
|
"libvendor_dtv_headers",
|
|
],
|
|
|
|
shared_libs: [
|
|
"libuapi_securec",
|
|
"libcutils",
|
|
"libhidlbase",
|
|
"libhidltransport",
|
|
"libutils",
|
|
"liblog",
|
|
"libhardware",
|
|
"libhwbinder",
|
|
"libbinder",
|
|
"android.hidl.memory@1.0",
|
|
"android.hidl.allocator@1.0",
|
|
"vendor.huanglong.hardware.hwdtv@1.0",
|
|
],
|
|
|
|
product_variables: {
|
|
platform_sdk_version: {
|
|
cflags :["-DPLATFORM_SDK_VERSION=%d"],
|
|
},
|
|
},
|
|
|
|
cflags: [
|
|
"-DPRODUCT_FULL_TREBLE",
|
|
"-Wno-visibility",
|
|
"-fno-common",
|
|
"-Wformat",
|
|
"-Wlong-long",
|
|
"-Wpointer-arith",
|
|
"-fstack-protector-all",
|
|
"-fPIC",
|
|
"-Werror",
|
|
"-Wall",
|
|
],
|
|
}
|
|
|
|
cc_binary {
|
|
name: "vendor.huanglong.hardware.hwdtv@1.0-service",
|
|
init_rc: ["vendor.huanglong.hardware.hwdtv@1.0-service.rc"],
|
|
proprietary: true,
|
|
compile_multilib: "32",
|
|
relative_install_path: "hw",
|
|
srcs: ["service.cpp"],
|
|
|
|
include_dirs: [
|
|
"vendor/platform/secure_c/include",
|
|
],
|
|
|
|
local_include_dirs: [
|
|
".",
|
|
],
|
|
|
|
header_libs: [
|
|
"libvendor_dtv_headers",
|
|
],
|
|
|
|
shared_libs: [
|
|
"libcutils",
|
|
"libhidlbase",
|
|
"libhidltransport",
|
|
"liblog",
|
|
"libbinder",
|
|
"libhwbinder",
|
|
"libutils",
|
|
"libhardware",
|
|
"android.hidl.memory@1.0",
|
|
"android.hidl.allocator@1.0",
|
|
"vendor.huanglong.hardware.hwdtv@1.0",
|
|
],
|
|
|
|
cflags: [
|
|
"-O2",
|
|
"-fno-common",
|
|
"-Wformat",
|
|
"-Wlong-long",
|
|
"-Wpointer-arith",
|
|
"-fstack-protector-all",
|
|
"-fPIC",
|
|
"-Werror",
|
|
"-Wall",
|
|
],
|
|
}
|