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/standard/graphic_config.gni") 16 17group("color_manager_unit_test") { 18 testonly = true 19 deps = [ "//foundation/graphic/standard/utils/color_manager/test:unittest" ] 20} 21 22group("color_manager") { 23 public_deps = [ "color_manager:color_manager" ] 24} 25 26group("buffer_handle") { 27 public_deps = [ "buffer_handle:buffer_handle" ] 28} 29 30group("scoped_bytrace") { 31 public_deps = [ "scoped_bytrace:scoped_bytrace" ] 32} 33 34group("promise") { 35 public_deps = [ "promise:promise" ] 36} 37 38group("semaphore") { 39 public_deps = [ "semaphore:semaphore" ] 40} 41 42group("socketpair") { 43 public_deps = [ "socketpair:socketpair" ] 44} 45 46group("test_header") { 47 public_deps = [ "test_header:test_header" ] 48} 49 50group("option_parser") { 51 public_deps = [ "option_parser:option_parser" ] 52} 53 54group("libgslogger") { 55 public_deps = [ "gslogger:libgslogger" ] 56} 57 58group("matrix") { 59 public_deps = [ "matrix:matrix" ] 60} 61 62group("raw_parser") { 63 public_deps = [ "raw_parser:raw_parser" ] 64} 65 66group("cpudraw") { 67 public_deps = [ "cpudraw:cpudraw" ] 68} 69 70group("gl_utils") { 71 public_deps = [ "gl_utils:gl_utils" ] 72} 73 74group("raw_maker") { 75 public_deps = [ "raw_maker:raw_maker" ] 76} 77 78group("sync_fence") { 79 public_deps = [ "sync_fence:sync_fence" ] 80} 81 82## Build libgraphic_utils.so {{{ 83config("libgraphic_utils_public_config") { 84 include_dirs = [ "//foundation/graphic/standard/interfaces/innerkits/common" ] 85} 86 87ohos_shared_library("libgraphic_utils") { 88 public_configs = [ ":libgraphic_utils_public_config" ] 89 90 public_deps = [ 91 "buffer_handle:buffer_handle", 92 "color_manager:color_manager", 93 "cpudraw:cpudraw", 94 "gl_utils:gl_utils", 95 "gslogger:libgslogger", 96 "matrix:matrix", 97 "option_parser:option_parser", 98 "promise:promise", 99 "raw_maker:raw_maker", 100 "raw_parser:raw_parser", 101 "scoped_bytrace:scoped_bytrace", 102 "semaphore:semaphore", 103 "test_header:test_header", 104 ] 105 106 part_name = "graphic_standard" 107 subsystem_name = "graphic" 108} 109## Build libgraphic_utils.so }}} 110