mirror of
https://gitee.com/openharmony/castengine_cast_framework
synced 2024-11-23 06:29:46 +00:00
f15e73a290
gn format Signed-off-by: LongestDistance <cdwango@isoftstone.com>
73 lines
2.0 KiB
Plaintext
73 lines
2.0 KiB
Plaintext
# Copyright (C) 2023-2023 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.
|
|
|
|
import("//foundation/CastEngine/castengine_cast_framework/cast_engine.gni")
|
|
|
|
config("cast_service_config") {
|
|
include_dirs = [
|
|
"include",
|
|
"src/include",
|
|
]
|
|
}
|
|
|
|
ohos_shared_library("cast_engine_service") {
|
|
install_enable = true
|
|
sources = [
|
|
"src/cast_service_listener_impl_proxy.cpp",
|
|
"src/cast_session_manager_service.cpp",
|
|
"src/cast_session_manager_service_stub.cpp",
|
|
]
|
|
|
|
configs = [
|
|
":cast_service_config",
|
|
"${cast_engine_root}:cast_engine_default_config",
|
|
]
|
|
|
|
deps = [
|
|
"${cast_engine_client}:cast_client_inner",
|
|
"${cast_engine_common}:cast_engine_common_sources",
|
|
"src/device_manager:cast_discovery",
|
|
"src/session:cast_session",
|
|
"//third_party/openssl:libcrypto_shared",
|
|
]
|
|
|
|
external_deps = [
|
|
"ability_runtime:app_manager",
|
|
"bundle_framework:appexecfwk_core",
|
|
"c_utils:utils",
|
|
"device_manager:devicemanagersdk",
|
|
"dsoftbus:softbus_client",
|
|
"graphic_surface:surface",
|
|
"hilog:libhilog",
|
|
"hisysevent:libhisysevent",
|
|
"image_framework:image_native",
|
|
"init:libbegetutil",
|
|
"input:libmmi-client",
|
|
"ipc:ipc_core",
|
|
"os_account:os_account_innerkits",
|
|
"player_framework:media_client",
|
|
"power_manager:powermgr_client",
|
|
"safwk:system_ability_fwk",
|
|
"samgr:samgr_proxy",
|
|
]
|
|
|
|
subsystem_name = "castplus"
|
|
part_name = "cast_engine"
|
|
sanitize = {
|
|
cfi = true
|
|
cfi_cross_dso = true
|
|
debug = false
|
|
}
|
|
branch_protector_ret = "pac_ret"
|
|
}
|