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.
|
|
|
|
|
2021-12-20 03:34:07 +00:00
|
|
|
import("//build/ohos.gni")
|
2022-05-18 13:14:57 +00:00
|
|
|
import("//foundation/graphic/graphic_2d/graphic_config.gni")
|
2021-12-20 03:34:07 +00:00
|
|
|
|
2022-08-12 03:30:04 +00:00
|
|
|
group("color_manager") {
|
2022-08-19 07:27:15 +00:00
|
|
|
public_deps = [
|
2023-05-15 01:34:17 +00:00
|
|
|
"$graphic_2d_root/interfaces/kits/napi/graphic/color_manager:color_space_object_convertor",
|
2022-08-19 07:27:15 +00:00
|
|
|
"color_manager:color_manager",
|
|
|
|
]
|
2022-02-22 03:28:21 +00:00
|
|
|
}
|
|
|
|
|
2021-12-16 07:02:08 +00:00
|
|
|
group("scoped_bytrace") {
|
|
|
|
public_deps = [ "scoped_bytrace:scoped_bytrace" ]
|
2021-12-16 07:02:02 +00:00
|
|
|
}
|
|
|
|
|
2021-09-15 09:50:32 +00:00
|
|
|
group("promise") {
|
|
|
|
public_deps = [ "promise:promise" ]
|
2021-08-30 13:08:32 +00:00
|
|
|
}
|
|
|
|
|
2022-11-24 06:23:33 +00:00
|
|
|
group("semaphore") {
|
|
|
|
public_deps = [ "semaphore:semaphore" ]
|
|
|
|
}
|
|
|
|
|
2022-02-07 02:09:25 +00:00
|
|
|
group("socketpair") {
|
|
|
|
public_deps = [ "socketpair:socketpair" ]
|
|
|
|
}
|
|
|
|
|
2021-11-25 02:21:55 +00:00
|
|
|
group("test_header") {
|
|
|
|
public_deps = [ "test_header:test_header" ]
|
|
|
|
}
|
2021-12-06 02:25:21 +00:00
|
|
|
|
2022-11-24 06:23:33 +00:00
|
|
|
group("option_parser") {
|
|
|
|
public_deps = [ "option_parser:option_parser" ]
|
|
|
|
}
|
|
|
|
|
|
|
|
group("libgslogger") {
|
|
|
|
public_deps = [ "gslogger:libgslogger" ]
|
|
|
|
}
|
|
|
|
|
2021-12-16 07:01:56 +00:00
|
|
|
group("matrix") {
|
|
|
|
public_deps = [ "matrix:matrix" ]
|
|
|
|
}
|
2021-12-16 07:02:00 +00:00
|
|
|
|
2022-11-24 06:23:33 +00:00
|
|
|
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" ]
|
|
|
|
}
|
|
|
|
|
2022-08-29 11:28:16 +00:00
|
|
|
group("sandbox_utils") {
|
|
|
|
public_deps = [ "sandbox:sandbox_utils" ]
|
|
|
|
}
|
|
|
|
|
2024-04-19 10:21:39 +00:00
|
|
|
group("rs_frame_report_ext") {
|
|
|
|
public_deps = [ "rs_frame_report_ext:rs_frame_report_ext" ]
|
|
|
|
}
|
|
|
|
|
2021-12-20 04:42:44 +00:00
|
|
|
## Build libgraphic_utils.so {{{
|
2022-01-24 02:25:54 +00:00
|
|
|
config("libgraphic_utils_public_config") {
|
2023-05-15 01:34:17 +00:00
|
|
|
include_dirs = [ "$graphic_2d_root/interfaces/inner_api/common" ]
|
2022-01-24 02:25:54 +00:00
|
|
|
}
|
|
|
|
|
2021-12-20 04:42:44 +00:00
|
|
|
ohos_shared_library("libgraphic_utils") {
|
2022-01-24 02:25:54 +00:00
|
|
|
public_configs = [ ":libgraphic_utils_public_config" ]
|
|
|
|
|
2024-05-15 08:15:23 +00:00
|
|
|
branch_protector_ret = "pac_ret"
|
|
|
|
sanitize = {
|
|
|
|
cfi = true
|
|
|
|
cfi_cross_dso = true
|
2024-06-26 03:24:54 +00:00
|
|
|
cfi_vcall_icall_only = true
|
2024-05-15 08:15:23 +00:00
|
|
|
debug = false
|
|
|
|
}
|
|
|
|
|
2024-04-23 07:40:52 +00:00
|
|
|
deps = [
|
2024-05-22 11:32:27 +00:00
|
|
|
":color_manager",
|
2024-04-23 07:40:52 +00:00
|
|
|
":cpudraw",
|
|
|
|
":gl_utils",
|
|
|
|
":libgslogger",
|
|
|
|
":matrix",
|
|
|
|
":option_parser",
|
|
|
|
":promise",
|
|
|
|
":raw_maker",
|
|
|
|
":raw_parser",
|
|
|
|
":sandbox_utils",
|
|
|
|
":scoped_bytrace",
|
|
|
|
":semaphore",
|
|
|
|
":test_header",
|
2021-12-20 04:42:44 +00:00
|
|
|
]
|
2024-04-23 07:40:52 +00:00
|
|
|
|
2023-07-11 13:55:33 +00:00
|
|
|
part_name = "graphic_2d"
|
2021-12-20 04:42:44 +00:00
|
|
|
subsystem_name = "graphic"
|
|
|
|
}
|
|
|
|
## Build libgraphic_utils.so }}}
|