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.
80 lines
1.7 KiB
80 lines
1.7 KiB
bootstrap_go_package {
|
|
name: "soong-nxmediaplayerwrapper",
|
|
pkgPath: "android/soong/nxmediaplayerwrapper",
|
|
deps: [
|
|
"blueprint",
|
|
"blueprint-pathtools",
|
|
"soong",
|
|
"soong-android",
|
|
"soong-cc",
|
|
"soong-genrule",
|
|
],
|
|
srcs: [
|
|
"nxmediaplayerwrapper.go",
|
|
],
|
|
pluginFor: ["soong_build"],
|
|
}
|
|
|
|
nxmediaplayerwrapper_defaults {
|
|
name: "nxmediaplayerwrapper_defaults",
|
|
}
|
|
|
|
cc_library_shared {
|
|
defaults: [
|
|
"nxmediaplayerwrapper_defaults",
|
|
],
|
|
|
|
srcs: [
|
|
"src/NxMediaPlayerFactoryWrapper.cpp",
|
|
"src/NxMediaPlayerWrapper.cpp",
|
|
"src/NxMetadataRetrieverWrapper.cpp",
|
|
],
|
|
|
|
shared_libs: [
|
|
"libbase",
|
|
"libbinder",
|
|
"libcutils",
|
|
"libdl",
|
|
"libgui",
|
|
"libhidlbase",
|
|
"liblog",
|
|
"libmedia",
|
|
"libutils",
|
|
"libuapi_securec",
|
|
"android.hardware.graphics.bufferqueue@1.0",
|
|
"android.hardware.graphics.bufferqueue@2.0",
|
|
],
|
|
include_dirs: [
|
|
"frameworks/av/include/media",
|
|
"frameworks/av/media/libmediaplayerservice",
|
|
"frameworks/av/media/libmedia/include/media",
|
|
"system/libhidl/base/include/hidl",
|
|
],
|
|
export_shared_lib_headers: ["libmedia"],
|
|
|
|
product_variables: {
|
|
platform_sdk_version: {
|
|
cflags: ["-DPLATFORM_SDK_VERSION=%d"],
|
|
},
|
|
},
|
|
|
|
cflags: [
|
|
"-Werror",
|
|
"-Wno-error=deprecated-declarations",
|
|
"-Wall",
|
|
"-fno-common",
|
|
"-pipe",
|
|
"-Wno-inconsistent-missing-override",
|
|
"-Wno-float-equal",
|
|
"-Wno-shadow",
|
|
],
|
|
|
|
name: "libnx_mediaplayer_wrapper",
|
|
compile_multilib: "32",
|
|
sanitize: {
|
|
cfi: true,
|
|
},
|
|
|
|
}
|
|
|