graphic_graphic_2d/utils/BUILD.gn

116 lines
2.5 KiB
Plaintext
Raw Normal View History

2021-06-01 16:06:03 +00:00
# Copyright (c) 2021 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("//build/ohos.gni")
import("//foundation/graphic/graphic_2d/graphic_config.gni")
group("color_manager") {
public_deps = [
"$graphic_2d_root/interfaces/kits/napi/graphic/color_manager:color_space_object_convertor",
"color_manager:color_manager",
]
}
group("scoped_bytrace") {
public_deps = [ "scoped_bytrace:scoped_bytrace" ]
}
group("promise") {
public_deps = [ "promise:promise" ]
}
group("semaphore") {
public_deps = [ "semaphore:semaphore" ]
}
group("socketpair") {
public_deps = [ "socketpair:socketpair" ]
}
group("test_header") {
public_deps = [ "test_header:test_header" ]
}
group("option_parser") {
public_deps = [ "option_parser:option_parser" ]
}
group("libgslogger") {
public_deps = [ "gslogger:libgslogger" ]
}
group("matrix") {
public_deps = [ "matrix:matrix" ]
}
group("raw_parser") {
public_deps = [ "raw_parser:raw_parser" ]
}
group("cpudraw") {
public_deps = [ "cpudraw:cpudraw" ]
}
group("gl_utils") {
public_deps = [ "gl_utils:gl_utils" ]
}
group("raw_maker") {
public_deps = [ "raw_maker:raw_maker" ]
}
group("sandbox_utils") {
public_deps = [ "sandbox:sandbox_utils" ]
}
group("rs_frame_report_ext") {
public_deps = [ "rs_frame_report_ext:rs_frame_report_ext" ]
}
## Build libgraphic_utils.so {{{
config("libgraphic_utils_public_config") {
include_dirs = [ "$graphic_2d_root/interfaces/inner_api/common" ]
}
ohos_shared_library("libgraphic_utils") {
public_configs = [ ":libgraphic_utils_public_config" ]
branch_protector_ret = "pac_ret"
sanitize = {
cfi = true
cfi_cross_dso = true
cfi_vcall_icall_only = true
debug = false
}
deps = [
":color_manager",
":cpudraw",
":gl_utils",
":libgslogger",
":matrix",
":option_parser",
":promise",
":raw_maker",
":raw_parser",
":sandbox_utils",
":scoped_bytrace",
":semaphore",
":test_header",
]
part_name = "graphic_2d"
subsystem_name = "graphic"
}
## Build libgraphic_utils.so }}}