diff --git a/filemanagement_aafwk.gni b/filemanagement_aafwk.gni new file mode 100644 index 0000000000000000000000000000000000000000..2403366616808ead28d3527ae1a8f5cedad34d33 --- /dev/null +++ b/filemanagement_aafwk.gni @@ -0,0 +1,17 @@ +# Copyright (c) 2022 Huawei Device Co., Ltd. +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +aafwk_inner_api_path = "//foundation/aafwk/standard/interfaces/innerkits" +aafwk_kits_path = "//foundation/aafwk/standard/frameworks/kits" +aafwk_path = "//foundation/aafwk/standard" +aafwk_services_path = "//foundation/aafwk/standard/services" diff --git a/services/BUILD.gn b/services/BUILD.gn index 549a11b1a2039b65321cdd30e934a995eda485bd..7d1fa0030f395d591b97ccc95981384a3593c113 100644 --- a/services/BUILD.gn +++ b/services/BUILD.gn @@ -12,9 +12,8 @@ # limitations under the License. import("//build/ohos.gni") +import("//foundation/filemanagement/user_file_service/filemanagement_aafwk.gni") FMS_BASE_DIR = "//foundation/filemanagement/user_file_service/services" -aaservices_path = "//foundation/aafwk/standard/services" -aakits_path = "//foundation/aafwk/standard/frameworks/kits" group("fms") { deps = [ @@ -60,8 +59,8 @@ ohos_shared_library("fms_server") { ] deps = [ - "${aakits_path}/ability/native:abilitykit_native", - "${aaservices_path}/abilitymgr:abilityms", + "${aafwk_kits_path}/ability/native:abilitykit_native", + "${aafwk_services_path}/abilitymgr:abilityms", "//base/hiviewdfx/hilog/interfaces/native/innerkits:libhilog", "//foundation/filemanagement/storage_service/interfaces/innerkits/storage_manager/native:storage_manager_sa_proxy", "//foundation/filemanagement/storage_service/services/storage_manager:storage_manager",