1# Copyright (C) 2022 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") 15 16config("ui_appearance_service_config") { 17 visibility = [ ":*" ] 18 include_dirs = [ "include" ] 19} 20 21ohos_shared_library("ui_appearance_service") { 22 sources = [ 23 "src/ui_appearance_ability.cpp", 24 "src/ui_appearance_ability_stub.cpp", 25 ] 26 27 public_configs = [ ":ui_appearance_service_config" ] 28 include_dirs = [ "include/" ] 29 deps = [] 30 external_deps = [ 31 "ability_base:configuration", 32 "ability_runtime:app_manager", 33 "access_token:libaccesstoken_sdk", 34 "c_utils:utils", 35 "hilog:libhilog", 36 "init:libbegetutil", 37 "ipc:ipc_single", 38 "safwk:system_ability_fwk", 39 "samgr:samgr_proxy", 40 ] 41 subsystem_name = "arkui" 42 part_name = "ui_appearance" 43} 44 45ohos_shared_library("ui_appearance_client") { 46 sources = [ 47 "src/ui_appearance_ability_client.cpp", 48 "src/ui_appearance_ability_proxy.cpp", 49 ] 50 51 public_configs = [ ":ui_appearance_service_config" ] 52 include_dirs = [ "include/" ] 53 deps = [] 54 external_deps = [ 55 "c_utils:utils", 56 "hilog:libhilog", 57 "ipc:ipc_single", 58 "safwk:system_ability_fwk", 59 "samgr:samgr_proxy", 60 ] 61 subsystem_name = "arkui" 62 innerapi_tags = [ "platformsdk" ] 63 part_name = "ui_appearance" 64} 65