castengine_cast_framework/common/BUILD.gn
LongestDistance 661e4a65e2
update common/BUILD.gn.
gn 格式修改

Signed-off-by: LongestDistance <cdwango@isoftstone.com>
2024-10-30 09:33:36 +00:00

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"
}