Fix distributeddata_adapter_public_config visibility for gn.
This commit is contained in:
parent
d8d61425ae
commit
50e27f21c2
@ -0,0 +1,25 @@
|
|||||||
|
From 56cbddb6351234705a581d66674f2f50650ae419 Mon Sep 17 00:00:00 2001
|
||||||
|
From: s_c_c <shichuchao@huawei.com>
|
||||||
|
Date: Mon, 2 Sep 2024 17:41:36 +0800
|
||||||
|
Subject: [PATCH] fix distributeddata_adapter_public_config visibility
|
||||||
|
|
||||||
|
---
|
||||||
|
services/distributeddataservice/adapter/BUILD.gn | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/services/distributeddataservice/adapter/BUILD.gn b/services/distributeddataservice/adapter/BUILD.gn
|
||||||
|
index 1a77c98..baec889 100644
|
||||||
|
--- a/services/distributeddataservice/adapter/BUILD.gn
|
||||||
|
+++ b/services/distributeddataservice/adapter/BUILD.gn
|
||||||
|
@@ -23,7 +23,7 @@ config("distributeddata_adapter_private_config") {
|
||||||
|
}
|
||||||
|
|
||||||
|
config("distributeddata_adapter_public_config") {
|
||||||
|
- visibility = [ "//foundation/distributeddatamgr/datamgr_service:*" ]
|
||||||
|
+ visibility = [ ":*" ]
|
||||||
|
|
||||||
|
include_dirs = [
|
||||||
|
"include/log",
|
||||||
|
--
|
||||||
|
2.45.2.windows.1
|
||||||
|
|
||||||
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
Name: distributeddatamgr_datamgr_service
|
Name: distributeddatamgr_datamgr_service
|
||||||
Version: 1.0.0
|
Version: 1.0.0
|
||||||
Release: 4
|
Release: 5
|
||||||
Summary: Distributed data manager that provides the capability to store data in the databases of different devices
|
Summary: Distributed data manager that provides the capability to store data in the databases of different devices
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
Url: https://gitee.com/openharmony/distributeddatamgr_datamgr_service
|
Url: https://gitee.com/openharmony/distributeddatamgr_datamgr_service
|
||||||
@ -13,6 +13,7 @@ Source1: https://gitee.com/openharmony/distributeddatamgr_datamgr_service/rep
|
|||||||
Patch1: 0001-remove-useless-dependency.patch
|
Patch1: 0001-remove-useless-dependency.patch
|
||||||
Patch2: 0002-establish-kvstore-dependence-on-boundscheck.patch
|
Patch2: 0002-establish-kvstore-dependence-on-boundscheck.patch
|
||||||
Patch3: 0003-feat-for-embedded-permissive-and-include_dirs-errors.patch
|
Patch3: 0003-feat-for-embedded-permissive-and-include_dirs-errors.patch
|
||||||
|
Patch4: 0004-fix-distributeddata_adapter_public_config-visibility.patch
|
||||||
|
|
||||||
BuildRequires: libboundscheck, zlib, zlib-devel, jsoncpp, jsoncpp-devel, compat-openssl11-devel
|
BuildRequires: libboundscheck, zlib, zlib-devel, jsoncpp, jsoncpp-devel, compat-openssl11-devel
|
||||||
BuildRequires: distributed-build, distributed-beget, hilog, commonlibrary_c_utils
|
BuildRequires: distributed-build, distributed-beget, hilog, commonlibrary_c_utils
|
||||||
@ -54,6 +55,7 @@ mv %{distributeddata_dir}/%{name}-%{oh_version} %{distributeddata_dir}/datamgr_s
|
|||||||
%patch -P1 -p1 -d %{distributeddata_dir}/datamgr_service
|
%patch -P1 -p1 -d %{distributeddata_dir}/datamgr_service
|
||||||
%patch -P2 -p1 -d %{distributeddata_dir}/datamgr_service
|
%patch -P2 -p1 -d %{distributeddata_dir}/datamgr_service
|
||||||
%patch -P3 -p1 -d %{distributeddata_dir}/datamgr_service
|
%patch -P3 -p1 -d %{distributeddata_dir}/datamgr_service
|
||||||
|
%patch -P4 -p1 -d %{distributeddata_dir}/datamgr_service
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%ifarch x86_64
|
%ifarch x86_64
|
||||||
@ -90,6 +92,12 @@ install -m 0755 %{_builddir}/%{config_path}/etc/distributeddata/conf/* %{buildro
|
|||||||
/system/*
|
/system/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Sep 2 2024 s_c_c <shichuchao@huawei.com> - 1.0.0-5
|
||||||
|
- Fix distributeddata_adapter_public_config visibility for gn.
|
||||||
|
|
||||||
|
* Sat Jun 29 2024 s_c_c <shichuchao@huawei.com> - 1.0.0-4
|
||||||
|
- Fix permissive and include_dirs errors for embedded.
|
||||||
|
|
||||||
* Sat Jun 29 2024 s_c_c <shichuchao@huawei.com> - 1.0.0-4
|
* Sat Jun 29 2024 s_c_c <shichuchao@huawei.com> - 1.0.0-4
|
||||||
- Fix permissive and include_dirs errors for embedded.
|
- Fix permissive and include_dirs errors for embedded.
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user