From 0afeb61c3d19c40626167afd7354c0432dbc5fd9 Mon Sep 17 00:00:00 2001 From: shiqichang Date: Wed, 18 May 2022 15:44:19 +0800 Subject: [PATCH] =?UTF-8?q?aafwk=E7=BB=9D=E5=AF=B9=E8=B7=AF=E5=BE=84?= =?UTF-8?q?=E6=95=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: shiqichang Change-Id: Ib52383dd81bcdffd6d40e0f834a1407b96f2c72c --- filemanagement_aafwk.gni | 17 +++++++++++++++++ services/BUILD.gn | 7 +++---- 2 files changed, 20 insertions(+), 4 deletions(-) create mode 100644 filemanagement_aafwk.gni diff --git a/filemanagement_aafwk.gni b/filemanagement_aafwk.gni new file mode 100644 index 00000000..24033666 --- /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 549a11b1..7d1fa003 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", -- Gitee