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.

96 lines
2.3 KiB

bootstrap_go_package {
name: "soong-nxmediaplayermanager",
pkgPath: "android/soong/nxmediaplayermanager",
deps: [
"blueprint",
"blueprint-pathtools",
"soong",
"soong-android",
"soong-cc",
"soong-genrule",
],
srcs: [
"nxmediaplayermanager.go",
],
pluginFor: ["soong_build"],
}
nxmediaplayermanager_defaults {
name: "nxmediaplayermanager_defaults",
}
cc_library_shared {
defaults: [
"nxmediaplayermanager_defaults",
],
srcs: [
"NxMediaPlayerFactory.cpp",
"NxMediaPlayerManage.cpp",
"NxMetadataRetriever.cpp",
"NxLooper.cpp",
"NxMediaMsg.cpp",
],
include_dirs: [
"frameworks/native/libs/nativewindow/include",
"frameworks/native/libs/binder/include/binder",
"frameworks/av/services/mediaresourcemanager",
"system/libhidl/base/include/hidl",
"system/libhidl/transport/token/1.0/utils/include",
],
shared_libs: [
"libbase",
"libbinder",
"libcutils",
"libdl",
"libhidlbase",
"liblog",
"libutils",
"libuapi_securec",
"vendor.hardware.hwnxmediaplayerhal@1.0",
"vendor.hardware.hwnxmediaplayerhal@1.1",
"libtinyxml2",
"libhwbinder",
"libhidltransport",
"libhidlmemory",
"android.hardware.graphics.bufferqueue@1.0",
"android.hardware.graphics.bufferqueue@2.0",
"android.hidl.token@1.0-utils",
"android.hardware.graphics.mapper@2.0",
"android.hardware.graphics.mapper@3.0",
"libnativewindow",
"libui",
"libresourcemanagerservice",
"libgui",
],
product_variables: {
platform_sdk_version: {
cflags: ["-DPLATFORM_SDK_VERSION=%d"],
},
},
cflags: [
"-Werror",
"-Wno-error=deprecated-declarations",
"-Wall",
"-DNXMEDIAPLAYER_ENABLE",
"-DANDROIDP_BP_BUILD",
"-Wno-overloaded-virtual",
"-Wno-unused-parameter",
"-fno-common",
"-pipe",
"-Wno-inconsistent-missing-override",
"-Wno-float-equal",
],
name: "libnx_mediaplayer_manager",
compile_multilib: "32",
sanitize: {
cfi: true,
},
}