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 16SUBSYSTEM_DIR = "//base/location" 17LOCATION_GEOCONVERT_ROOT = "$SUBSYSTEM_DIR/location_geocode/geocode" 18 19ohos_shared_library("lbsservice_geocode") { 20 sources = [ 21 "$LOCATION_GEOCONVERT_ROOT/source/geo_convert_service.cpp", 22 "$LOCATION_GEOCONVERT_ROOT/source/geo_convert_skeleton.cpp", 23 ] 24 25 include_dirs = [ 26 "$SUBSYSTEM_DIR/location_common/common/include", 27 "$SUBSYSTEM_DIR/location_geocode/geocode/include", 28 "$SUBSYSTEM_DIR/location_gnss/gnss/include", 29 "$SUBSYSTEM_DIR/location_locator/callback/include", 30 "$SUBSYSTEM_DIR/location_locator/distribute/include", 31 "$SUBSYSTEM_DIR/location_locator/locator/include", 32 "$SUBSYSTEM_DIR/location_network/network/include", 33 "$SUBSYSTEM_DIR/location_passive/passive/include", 34 "$SUBSYSTEM_DIR/utils/include", 35 "//foundation/distributedschedule/safwk/interfaces/innerkits/safwk/", 36 "//foundation/distributedschedule/samgr/interfaces/innerkits/samgr_proxy/include", 37 "//utils/native/base/include", 38 "//utils/system/safwk/native/include", 39 ] 40 41 deps = [ 42 "$SUBSYSTEM_DIR/location_common/common:lbsservice_common", 43 "//foundation/communication/ipc/interfaces/innerkits/ipc_core:ipc_core", 44 "//foundation/distributedschedule/safwk/interfaces/innerkits/safwk:system_ability_fwk", 45 "//foundation/distributedschedule/samgr/interfaces/innerkits/samgr_proxy:samgr_proxy", 46 "//utils/native/base:utils", 47 ] 48 49 external_deps = [ 50 "hisysevent_native:libhisysevent", 51 "hiviewdfx_hilog_native:libhilog", 52 "samgr_standard:samgr_proxy", 53 ] 54 55 part_name = "location_geocode" 56 subsystem_name = "location" 57} 58