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 "color_manager:color_manager", 20 "//foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/color_manager:color_space_object_convertor", 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("socketpair") { 37 public_deps = [ "socketpair:socketpair" ] 38} 39 40group("test_header") { 41 public_deps = [ "test_header:test_header" ] 42} 43 44group("matrix") { 45 public_deps = [ "matrix:matrix" ] 46} 47 48group("sync_fence") { 49 public_deps = [ "sync_fence:sync_fence" ] 50} 51 52group("sandbox_utils") { 53 public_deps = [ "sandbox:sandbox_utils" ] 54} 55 56## Build libgraphic_utils.so {{{ 57config("libgraphic_utils_public_config") { 58 include_dirs = 59 [ "//foundation/graphic/graphic_2d/interfaces/inner_api/common" ] 60} 61 62ohos_shared_library("libgraphic_utils") { 63 public_configs = [ ":libgraphic_utils_public_config" ] 64 65 public_deps = [ 66 "buffer_handle:buffer_handle", 67 "color_manager:color_manager", 68 "matrix:matrix", 69 "promise:promise", 70 "sandbox:sandbox_utils", 71 "test_header:test_header", 72 ] 73 74 part_name = "graphic_standard" 75 subsystem_name = "graphic" 76} 77## Build libgraphic_utils.so }}} 78