• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2021 Huawei Device Co., Ltd.
2# Licensed under the Apache License, Version 2.0 (the "License");
3# you may not use this file except in compliance with the License.
4# You may obtain a copy of the License at
5#
6#     http://www.apache.org/licenses/LICENSE-2.0
7#
8# Unless required by applicable law or agreed to in writing, software
9# distributed under the License is distributed on an "AS IS" BASIS,
10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11# See the License for the specific language governing permissions and
12# limitations under the License.
13
14import("//build/ohos.gni")
15import("//foundation/graphic/graphic_2d/graphic_config.gni")
16
17group("color_manager") {
18  public_deps = [
19    "$graphic_2d_root/interfaces/kits/napi/graphic/color_manager:color_space_object_convertor",
20    "color_manager:color_manager",
21  ]
22}
23
24group("buffer_handle") {
25  public_deps = [ "buffer_handle:buffer_handle" ]
26}
27
28group("scoped_bytrace") {
29  public_deps = [ "scoped_bytrace:scoped_bytrace" ]
30}
31
32group("promise") {
33  public_deps = [ "promise:promise" ]
34}
35
36group("semaphore") {
37  public_deps = [ "semaphore:semaphore" ]
38}
39
40group("socketpair") {
41  public_deps = [ "socketpair:socketpair" ]
42}
43
44group("test_header") {
45  public_deps = [ "test_header:test_header" ]
46}
47
48group("option_parser") {
49  public_deps = [ "option_parser:option_parser" ]
50}
51
52group("libgslogger") {
53  public_deps = [ "gslogger:libgslogger" ]
54}
55
56group("matrix") {
57  public_deps = [ "matrix:matrix" ]
58}
59
60group("raw_parser") {
61  public_deps = [ "raw_parser:raw_parser" ]
62}
63
64group("cpudraw") {
65  public_deps = [ "cpudraw:cpudraw" ]
66}
67
68group("gl_utils") {
69  public_deps = [ "gl_utils:gl_utils" ]
70}
71
72group("raw_maker") {
73  public_deps = [ "raw_maker:raw_maker" ]
74}
75
76group("sync_fence") {
77  public_deps = [ "sync_fence:sync_fence" ]
78}
79
80group("sandbox_utils") {
81  public_deps = [ "sandbox:sandbox_utils" ]
82}
83
84group("frame_report") {
85  public_deps = [ "frame_report:frame_report" ]
86}
87
88## Build libgraphic_utils.so {{{
89config("libgraphic_utils_public_config") {
90  include_dirs = [ "$graphic_2d_root/interfaces/inner_api/common" ]
91}
92
93ohos_shared_library("libgraphic_utils") {
94  public_configs = [ ":libgraphic_utils_public_config" ]
95
96  public_deps = [
97    "buffer_handle:buffer_handle",
98    "color_manager:color_manager",
99    "cpudraw:cpudraw",
100    "frame_report:frame_report",
101    "gl_utils:gl_utils",
102    "gslogger:libgslogger",
103    "matrix:matrix",
104    "option_parser:option_parser",
105    "promise:promise",
106    "raw_maker:raw_maker",
107    "raw_parser:raw_parser",
108    "sandbox:sandbox_utils",
109    "scoped_bytrace:scoped_bytrace",
110    "semaphore:semaphore",
111    "test_header:test_header",
112  ]
113  part_name = "graphic_2d"
114  subsystem_name = "graphic"
115}
116## Build libgraphic_utils.so }}}
117