1# Copyright (c) 2023 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. 13import("//domains/cloud/oaid/oaid.gni") 14import("//build/ohos.gni") 15 16config("oaid_client_config") { 17 visibility = [ ":*" ] 18 include_dirs = [ 19 "include", 20 "${oaid_utils_path}/native/include", 21 ] 22} 23 24ohos_shared_library("oaid_client") { 25 sources = [ 26 "src/oaid_service_client.cpp", 27 "src/oaid_service_proxy.cpp", 28 ] 29 30 configs = [ ":oaid_client_config" ] 31 public_configs = [ ":oaid_client_config" ] 32 deps = [ 33 "${oaid_utils_path}:oaid_utils", 34 ] 35 external_deps = [ 36 "hilog:libhilog", 37 "ipc:ipc_single", 38 "safwk:system_ability_fwk", 39 "samgr:samgr_proxy", 40 ] 41 subsystem_name = "advertising" 42 part_name = "oaid" 43} 44