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.

105 lines
2.3 KiB

cc_defaults {
name: "common_defaults",
compile_multilib: "32",
init_rc: ["bootvideo.rc"],
host_ldlibs: [
"-lm",
"-landroid",
],
include_dirs: [
"system/core/include/utils",
"system/core/libutils/include/utils",
"bionic/libc/include/android",
"frameworks/av/media/libstagefright/include",
"frameworks/native/include/media/openmax",
"external/freetype/include",
"external/freetype/include/freetype",
"external/tinyxml2",
"vendor/platform/secure_c/include",
],
shared_libs: [
"libcutils",
"liblog",
"libbinder",
"libutils",
"libbase",
"libtinyxml2",
"libmedia",
"libpng",
"libui",
"libgui",
"libnativewindow",
"libdolgles",
"libdftevent",
"libuapi_securec",
"libimtvclient",
"android.hardware.graphics.common@1.1",
"android.hardware.graphics.common@1.2",
"android.hardware.graphics.bufferqueue@1.0",
"android.hardware.graphics.bufferqueue@2.0",
],
cflags: [
"-pipe",
"-Wno-shadow",
"-Wno-float-equal",
"-fvisibility=hidden",
"-Wno-inconsistent-missing-override",
],
product_variables: {
platform_sdk_version: {
cflags :["-DPLATFORM_SDK_VERSION=%d"],
},
}
}
cc_library_shared {
name: "lib_bootvideo",
vendor_available: false,
defaults: [
"common_defaults",
],
srcs: [
"BootvideoConfiger.cpp",
"BootvideoManager.cpp",
"BootvideoInput.cpp",
"BootvideoUI.cpp",
"BootvideoPlayer.cpp",
"BootvideoApi.cpp",
"SurfaceUI.cpp",
"BootvideoDftevent.cpp",
],
}
cc_binary {
name: "bootvideo",
vendor_available: false,
defaults: [
"common_defaults",
],
srcs: [
"BootvideoConfiger.cpp",
"BootvideoManager.cpp",
"BootvideoInput.cpp",
"BootvideoUI.cpp",
"BootvideoPlayer.cpp",
"BootvideoMain.cpp",
"SurfaceUI.cpp",
"BootvideoDftevent.cpp",
],
}
cc_binary {
name: "bootvideo_demo",
vendor_available: false,
defaults: [
"common_defaults",
],
srcs: [
"lib_demo/LibBootvideoDemo.cpp",
],
}