Fix public_config visibility for gn
This commit is contained in:
parent
439a2af536
commit
c37f68ec53
39
0004-Fix-public_config-visibility-for-gn.patch
Normal file
39
0004-Fix-public_config-visibility-for-gn.patch
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
From 698b8973524e96fdc090fc5ae49ccb659d25adca Mon Sep 17 00:00:00 2001
|
||||||
|
From: shichuchao <shichuchao@huawei.com>
|
||||||
|
Date: Tue, 20 Aug 2024 10:56:31 +0800
|
||||||
|
Subject: [PATCH] Fix public_config visibility for gn
|
||||||
|
|
||||||
|
---
|
||||||
|
interfaces/inner_api/dataability/BUILD.gn | 2 +-
|
||||||
|
interfaces/inner_api/rdb/BUILD.gn | 2 +-
|
||||||
|
2 files changed, 2 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/interfaces/inner_api/dataability/BUILD.gn b/interfaces/inner_api/dataability/BUILD.gn
|
||||||
|
index 26778ec..2534d3e 100644
|
||||||
|
--- a/interfaces/inner_api/dataability/BUILD.gn
|
||||||
|
+++ b/interfaces/inner_api/dataability/BUILD.gn
|
||||||
|
@@ -26,7 +26,7 @@ config("native_dataability_config") {
|
||||||
|
}
|
||||||
|
|
||||||
|
config("native_dataability_public_config") {
|
||||||
|
- visibility = [ "//foundation/distributeddatamgr/relational_store:*" ]
|
||||||
|
+ visibility = [ ":*" ]
|
||||||
|
include_dirs = [ "include" ]
|
||||||
|
}
|
||||||
|
|
||||||
|
diff --git a/interfaces/inner_api/rdb/BUILD.gn b/interfaces/inner_api/rdb/BUILD.gn
|
||||||
|
index 603e3dc..5c42da0 100644
|
||||||
|
--- a/interfaces/inner_api/rdb/BUILD.gn
|
||||||
|
+++ b/interfaces/inner_api/rdb/BUILD.gn
|
||||||
|
@@ -62,7 +62,7 @@ config("native_rdb_config") {
|
||||||
|
}
|
||||||
|
|
||||||
|
config("native_rdb_public_config") {
|
||||||
|
- visibility = [ "//foundation/distributeddatamgr/relational_store:*" ]
|
||||||
|
+ visibility = [ ":*" ]
|
||||||
|
|
||||||
|
if (is_mingw || is_mac) {
|
||||||
|
include_dirs = [
|
||||||
|
--
|
||||||
|
2.28.0.windows.1
|
||||||
|
|
||||||
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
Name: distributeddatamgr_relational_store
|
Name: distributeddatamgr_relational_store
|
||||||
Version: 1.0.0
|
Version: 1.0.0
|
||||||
Release: 4
|
Release: 5
|
||||||
Summary: Local Relational Data Management from OpenHarmony
|
Summary: Local Relational Data Management from OpenHarmony
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
Url: https://gitee.com/openharmony/distributeddatamgr_relational_store
|
Url: https://gitee.com/openharmony/distributeddatamgr_relational_store
|
||||||
@ -19,6 +19,7 @@ Source6: rdb.BUILD.gn
|
|||||||
Patch1: 0001-remove-useless-dependencies.patch
|
Patch1: 0001-remove-useless-dependencies.patch
|
||||||
Patch2: 0002-establish-relational-store-dependence-on-boundscheck.patch
|
Patch2: 0002-establish-relational-store-dependence-on-boundscheck.patch
|
||||||
Patch3: 0003-feat-for-embedded-remove-c99-designator-cflags.patch
|
Patch3: 0003-feat-for-embedded-remove-c99-designator-cflags.patch
|
||||||
|
Patch4: 0004-Fix-public_config-visibility-for-gn.patch
|
||||||
|
|
||||||
BuildRequires: libboundscheck, libicu-devel, libxml2-devel
|
BuildRequires: libboundscheck, libicu-devel, libxml2-devel
|
||||||
BuildRequires: distributed-build, hilog, commonlibrary_c_utils
|
BuildRequires: distributed-build, hilog, commonlibrary_c_utils
|
||||||
@ -52,6 +53,7 @@ mv %{distributeddata_dir}/%{name}-%{oh_version} %{distributeddata_dir}/relationa
|
|||||||
%patch -P1 -p1 -d %{distributeddata_dir}/relational_store
|
%patch -P1 -p1 -d %{distributeddata_dir}/relational_store
|
||||||
%patch -P2 -p1 -d %{_builddir}/foundation
|
%patch -P2 -p1 -d %{_builddir}/foundation
|
||||||
%patch -P3 -p1 -d %{distributeddata_dir}/relational_store
|
%patch -P3 -p1 -d %{distributeddata_dir}/relational_store
|
||||||
|
%patch -P4 -p1 -d %{distributeddata_dir}/relational_store
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%ifarch x86_64
|
%ifarch x86_64
|
||||||
@ -113,6 +115,9 @@ popd
|
|||||||
/system/*
|
/system/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Aug 20 2024 s_c_c <shichuchao@huawei.com> - 1.0.0-5
|
||||||
|
- Fix public_config visibility for gn.
|
||||||
|
|
||||||
* Fri Jun 28 2024 s_c_c <shichuchao@huawei.com> - 1.0.0-4
|
* Fri Jun 28 2024 s_c_c <shichuchao@huawei.com> - 1.0.0-4
|
||||||
- Remove c99 designator unrecognized option and fix sysroot for embedded.
|
- Remove c99 designator unrecognized option and fix sysroot for embedded.
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user