1 Star 0 Fork 640

黑眼圈/multimedia_player_framework_hxl

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
config.gni 3.96 KB
一键复制 编辑 原始数据 按行查看 历史
# Copyright (C) 2022-2022 Huawei Device Co., Ltd.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
declare_args() {
multimedia_player_framework_support_player = true
multimedia_player_framework_support_recorder = true
multimedia_player_framework_support_player_js_api9 = true
multimedia_player_framework_support_recorder_js_api9 = true
multimedia_player_framework_support_codec = true
multimedia_player_framework_support_codec_js = false
multimedia_player_framework_support_metadata = true
multimedia_player_framework_support_gstreamer = true
multimedia_player_framework_support_histreamer = true
multimedia_player_framework_support_video = true
multimedia_player_framework_support_jsapi = true
multimedia_player_framework_support_capi = true
multimedia_player_framework_support_test = true
multimedia_player_framework_support_xcollie = true
multimedia_player_framework_support_jsstack = true
multimedia_player_framework_support_seccomp = false
if (defined(build_seccomp) && build_seccomp) {
multimedia_player_framework_support_seccomp = true
}
multimedia_player_framework_support_monitor = true
use_memmgr_plugin = false
if (defined(global_parts_info) &&
defined(global_parts_info.resourceschedule_memmgr_plugin)) {
use_memmgr_plugin = true
}
use_memmgr = false
if (defined(global_parts_info) &&
defined(global_parts_info.resourceschedule_memmgr)) {
use_memmgr = true
}
multimedia_player_framework_support_avsession_background = false
if (defined(global_parts_info) &&
defined(global_parts_info.multimedia_multimedia_av_session)) {
multimedia_player_framework_support_avsession_background = true
}
}
player_framework_defines = []
if (multimedia_player_framework_support_player) {
player_framework_defines += [ "SUPPORT_PLAYER" ]
} else {
player_framework_defines += [ "UNSUPPORT_PLAYER" ]
}
if (multimedia_player_framework_support_player_js_api9) {
player_framework_defines += [ "SUPPORT_PLAYER_API9" ]
}
if (multimedia_player_framework_support_avsession_background) {
player_framework_defines += [ "SUPPORT_AVSESSION" ]
}
if (multimedia_player_framework_support_recorder_js_api9) {
player_framework_defines += [ "SUPPORT_RECORDER_API9" ]
}
if (multimedia_player_framework_support_recorder) {
player_framework_defines += [ "SUPPORT_RECORDER" ]
} else {
player_framework_defines += [ "UNSUPPORT_RECORDER" ]
}
if (multimedia_player_framework_support_codec) {
player_framework_defines += [ "SUPPORT_CODEC" ]
} else {
player_framework_defines += [ "UNSUPPORT_CODEC" ]
}
if (multimedia_player_framework_support_codec_js) {
player_framework_defines += [ "SUPPORT_CODEC_JS" ]
}
if (multimedia_player_framework_support_metadata) {
player_framework_defines += [ "SUPPORT_METADATA" ]
} else {
player_framework_defines += [ "UNSUPPORT_METADATA" ]
}
if (multimedia_player_framework_support_video) {
player_framework_defines += [ "SUPPORT_VIDEO" ]
} else {
player_framework_defines += [ "SUPPORT_AUDIO_ONLY" ]
}
if (multimedia_player_framework_support_histreamer) {
player_framework_defines += [ "SUPPORT_HISTREAMER" ]
}
if (multimedia_player_framework_support_xcollie) {
player_framework_defines += [ "HICOLLIE_ENABLE" ]
}
if (multimedia_player_framework_support_jsstack) {
player_framework_defines += [ "SUPPORT_JSSTACK" ]
}
if (use_memmgr_plugin || use_memmgr) {
player_framework_defines += [ "PLAYER_USE_MEMORY_MANAGE" ]
}
if (multimedia_player_framework_support_monitor) {
player_framework_defines += [ "USE_MONITOR" ]
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/huang-xl/multimedia_player_framework_hxl.git
git@gitee.com:huang-xl/multimedia_player_framework_hxl.git
huang-xl
multimedia_player_framework_hxl
multimedia_player_framework_hxl
master

搜索帮助