mirror of
https://gitee.com/openharmony/castengine_cast_framework
synced 2024-11-27 00:21:04 +00:00
661e4a65e2
gn 格式修改 Signed-off-by: LongestDistance <cdwango@isoftstone.com>
57 lines
1.6 KiB
Plaintext
57 lines
1.6 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_engine_common_private_config") {
|
|
include_dirs = [ "include/private" ]
|
|
}
|
|
|
|
ohos_static_library("cast_engine_common_sources") {
|
|
sanitize = {
|
|
cfi = true
|
|
cfi_cross_dso = true
|
|
debug = false
|
|
}
|
|
sources = [
|
|
"src/cast_engine_common_helper.cpp",
|
|
"src/cast_engine_dfx.cpp",
|
|
]
|
|
|
|
configs = [
|
|
":cast_engine_common_private_config",
|
|
"${cast_engine_root}:cast_engine_default_config",
|
|
]
|
|
|
|
include_dirs = [ "//third_party/json/single_include/nlohmann" ]
|
|
|
|
public_configs = [
|
|
":cast_engine_common_private_config",
|
|
"${cast_engine_interfaces}/inner_api:cast_interfaces_config",
|
|
]
|
|
|
|
external_deps = [
|
|
"access_token:libtokensetproc_shared",
|
|
"c_utils:utils",
|
|
"eventhandler:libeventhandler",
|
|
"hilog:libhilog",
|
|
"hisysevent:libhisysevent",
|
|
"image_framework:image_native",
|
|
"init:libbegetutil",
|
|
"ipc:ipc_core",
|
|
]
|
|
|
|
subsystem_name = "castplus"
|
|
part_name = "cast_engine"
|
|
}
|