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.

67 lines
1.6 KiB

cc_library_headers {
name: "libdol_dtvrender_headers",
export_include_dirs: ["."],
}
cc_library_shared {
name: "libdol_dtvrender",
srcs: [
"caption_osd.cpp",
"osd_manager.cpp",
],
include_dirs: [
"vendor/platform/secure_c/include",
"system/core/include/utils",
"system/core/base/include",
"system/libhidl/transport/token/1.0/utils/include",
"hardware/libhardware/include/hardware",
"external/freetype/include",
"external/freetype/include/freetype",
],
header_libs: [
"libdol_dtvrender_headers",
"libvendor_dtv_headers",
],
export_header_lib_headers: [
"libdol_dtvrender_headers",
],
shared_libs: [
"libhidlmemory",
"android.hidl.memory@1.0",
"android.hidl.allocator@1.0",
"vendor.huanglong.hardware.hwdtv@1.0",
"android.hardware.graphics.common@1.1",
"android.hardware.graphics.bufferqueue@1.0",
"libuapi_securec",
"android.hardware.graphics.common@1.2",
"android.hardware.graphics.bufferqueue@2.0",
"libutils",
"libdolgles",
"libhidlbase",
"liblog",
],
cflags: [
"-DANDROID_VERSION",
"-DPRODUCT_FULL_TREBLE",
"-Wno-visibility",
"-fno-common",
"-Wformat",
"-Wlong-long",
"-Wpointer-arith",
"-fstack-protector-all",
"-fPIC",
"-Werror",
"-Wall",
],
host_ldlibs: [
"-llog",
],
compile_multilib: "both",
clang: true,
}