appdatamgr部件分解

Signed-off-by: PaDaBoo <xuejianwu@huawei.com>
This commit is contained in:
PaDaBoo 2022-05-17 22:56:05 +08:00
parent 0041726d80
commit c67cae4f22
26 changed files with 393 additions and 130 deletions

View File

@ -12,5 +12,5 @@
# limitations under the License.
declare_args() {
native_appdatamgr_rdb_support_icu = true
relational_store_rdb_support_icu = true
}

View File

@ -35,16 +35,12 @@
"destPath": "foundation/distributeddatamgr/appdatamgr"
},
"component": {
"name": "native_appdatamgr",
"name": "relational_store",
"subsystem": "distributeddatamgr",
"syscap": [
"SystemCapability.DistributedDataManager.DataShare.Core",
"SystemCapability.DistributedDataManager.DataShare.Consumer",
"SystemCapability.DistributedDataManager.DataShare.Provider",
"SystemCapability.DistributedDataManager.RelationalStore.Core",
"SystemCapability.DistributedDataManager.Preferences.Core"
"SystemCapability.DistributedDataManager.RelationalStore.Core"
],
"features": ["native_appdatamgr_rdb_support_icu"],
"features": ["relational_store_rdb_support_icu"],
"adapted_system_type": [
"standard"
],
@ -72,18 +68,8 @@
"build": {
"sub_component": [
"//foundation/distributeddatamgr/appdatamgr/interfaces/inner_api/native/appdatafwk:native_appdatafwk",
"//foundation/distributeddatamgr/appdatamgr/interfaces/inner_api/native/preferences:native_preferences",
"//foundation/distributeddatamgr/appdatamgr/interfaces/inner_api/native/dataability:native_dataability",
"//foundation/distributeddatamgr/appdatamgr/interfaces/inner_api/native/rdb:native_rdb",
"//foundation/distributeddatamgr/appdatamgr/frameworks/js/napi/dataability:dataability",
"//foundation/distributeddatamgr/appdatamgr/frameworks/js/napi/preferences:preferences",
"//foundation/distributeddatamgr/appdatamgr/frameworks/js/napi/preferences:storage",
"//foundation/distributeddatamgr/appdatamgr/frameworks/js/napi/preferences:storage_napi",
"//foundation/distributeddatamgr/appdatamgr/frameworks/js/napi/rdb:rdb",
"//foundation/distributeddatamgr/appdatamgr/interfaces/inner_api/native/data_share:datashare_abilitykit",
"//foundation/distributeddatamgr/appdatamgr/interfaces/inner_api/native/data_share:datashare_ext_ability_module",
"//foundation/distributeddatamgr/appdatamgr/frameworks/native/data_share/common:datashare_common",
"//foundation/distributeddatamgr/appdatamgr/frameworks/js/napi/data_share:datashare_napi_packages"
"//foundation/distributeddatamgr/appdatamgr/frameworks/js/napi/rdb:rdb"
],
"inner_kits": [
{
@ -108,20 +94,6 @@
"header_base": "//foundation/distributeddatamgr/appdatamgr/interfaces/inner_api/native/rdb/include"
}
},
{
"name": "//foundation/distributeddatamgr/appdatamgr/interfaces/inner_api/native/preferences:native_preferences",
"header": {
"header_files": [
"preferences.h",
"preferences_observer.h",
"preferences_helper.h",
"preferences_errno.h",
"preferences_xml_utils.h",
"preferences_value.h"
],
"header_base": "//foundation/distributeddatamgr/appdatamgr/interfaces/inner_api/native/preferences/include"
}
},
{
"name": "//foundation/distributeddatamgr/appdatamgr/interfaces/inner_api/native/appdatafwk:native_appdatafwk",
"header": {
@ -130,61 +102,11 @@
],
"header_base": "//foundation/distributeddatamgr/appdatamgr/interfaces/inner_api/native/appdatafwk/include"
}
},
{
"name": "//foundation/distributeddatamgr/appdatamgr/interfaces/inner_api/native/dataability:native_dataability",
"header": {
"header_files": [
"data_ability_predicates.h",
"predicates_utils.h"
],
"header_base": "//foundation/distributeddatamgr/appdatamgr/interfaces/inner_api/native/dataability/include"
}
},
{
"name": "//foundation/distributeddatamgr/appdatamgr/interfaces/inner_api/native/data_share:datashare_abilitykit",
"header": {
"header_files": [
"datashare_helper.h",
"datashare_result_set.h"
],
"header_base": "//foundation/distributeddatamgr/appdatamgr/interfaces/inner_api/native/data_share/consumer/include"
}
},
{
"name": "//foundation/distributeddatamgr/appdatamgr/interfaces/inner_api/native/data_share:datashare_abilitykit",
"header": {
"header_files": [
"datashare_abstract_result_set.h",
"datashare_block_writer.h"
],
"header_base": "//foundation/distributeddatamgr/appdatamgr/interfaces/inner_api/native/data_share/provider/include"
}
},
{
"name": "//foundation/distributeddatamgr/appdatamgr/frameworks/native/data_share/common:datashare_common",
"header": {
"header_files": [
"datashare_errno.h",
"datashare_predicates_def.h",
"datashare_predicates_object.h",
"datashare_predicates.h",
"datashare_value_object.h",
"datashare_values_bucket.h"
],
"header_base": "//foundation/distributeddatamgr/appdatamgr/interfaces/inner_api/native/data_share/common/include"
}
}
],
"test": [
"//foundation/distributeddatamgr/appdatamgr/frameworks/native/preferences/test:unittest",
"//foundation/distributeddatamgr/appdatamgr/frameworks/native/dataability/test:unittest",
"//foundation/distributeddatamgr/appdatamgr/frameworks/native/rdb/test:unittest",
"//foundation/distributeddatamgr/appdatamgr/frameworks/native/data_share/test:unittest",
"//foundation/distributeddatamgr/appdatamgr/frameworks/js/napi/rdb/test:unittest",
"//foundation/distributeddatamgr/appdatamgr/frameworks/js/napi/preferences/test:unittest",
"//foundation/distributeddatamgr/appdatamgr/frameworks/js/napi/dataability/test:unittest",
"//foundation/distributeddatamgr/appdatamgr/frameworks/js/napi/data_share/dataShare/test:unittest"
"//foundation/distributeddatamgr/appdatamgr/frameworks/js/napi/rdb/test:unittest"
]
}
}

View File

@ -56,16 +56,16 @@ ohos_shared_library("datashare") {
"hiviewdfx_hilog_native:libhilog",
"ipc:ipc_core",
"napi:ace_napi",
"native_appdatamgr:datashare_abilitykit",
"native_appdatamgr:datashare_common",
"native_appdatamgr:native_appdatafwk",
"native_appdatamgr:native_dataability",
"native_appdatamgr:native_rdb",
"data_share:datashare_abilitykit",
"data_share:datashare_common",
"relational_store:native_appdatafwk",
"dataability:native_dataability",
"relational_store:native_rdb",
"utils_base:utils",
]
relative_install_dir = "module/data"
subsystem_name = "distributeddatamgr"
part_name = "native_appdatamgr"
part_name = "data_share"
}

View File

@ -13,7 +13,7 @@
import("//build/test.gni")
module_output_path = "ability_runtime/datashare"
module_output_path = "data_share/datashare"
ohos_js_unittest("DataShareJsUnitTest") {
module_out_path = module_output_path

View File

@ -46,5 +46,5 @@ ohos_shared_library("datashareextensionability_napi") {
relative_install_dir = "module/application"
subsystem_name = "distributeddatamgr"
part_name = "native_appdatamgr"
part_name = "data_share"
}

View File

@ -47,5 +47,5 @@ ohos_shared_library("datashareextensionabilitycontext_napi") {
relative_install_dir = "module/application"
subsystem_name = "distributeddatamgr"
part_name = "native_appdatamgr"
part_name = "data_share"
}

View File

@ -41,11 +41,11 @@ ohos_shared_library("dataability") {
external_deps = [
"hilog_native:libhilog",
"napi:ace_napi",
"native_appdatamgr:native_dataability",
"native_appdatamgr:native_rdb",
"dataability:native_dataability",
"relational_store:native_rdb",
]
subsystem_name = "distributeddatamgr"
part_name = "native_appdatamgr"
part_name = "dataability"
relative_install_dir = "module/data"
}

View File

@ -13,7 +13,7 @@
import("//build/test.gni")
module_output_path = "native_appdatamgr/dataability"
module_output_path = "dataability/dataability"
ohos_js_unittest("DataAbJsTest") {
module_out_path = module_output_path

View File

@ -38,11 +38,11 @@ ohos_shared_library("storage") {
"hilog_native:libhilog",
"ipc:ipc_core",
"napi:ace_napi",
"native_appdatamgr:native_preferences",
"preferences:native_preferences",
]
subsystem_name = "distributeddatamgr"
part_name = "native_appdatamgr"
part_name = "preferences"
relative_install_dir = "module/data"
}
@ -69,11 +69,11 @@ ohos_shared_library("storage_napi") {
"hilog_native:libhilog",
"ipc:ipc_core",
"napi:ace_napi",
"native_appdatamgr:native_preferences",
"preferences:native_preferences",
]
subsystem_name = "distributeddatamgr"
part_name = "native_appdatamgr"
part_name = "preferences"
relative_install_dir = "module"
}
@ -101,10 +101,10 @@ ohos_shared_library("preferences") {
"hilog_native:libhilog",
"ipc:ipc_core",
"napi:ace_napi",
"native_appdatamgr:native_preferences",
"preferences:native_preferences",
]
subsystem_name = "distributeddatamgr"
part_name = "native_appdatamgr"
part_name = "preferences"
relative_install_dir = "module/data"
}

View File

@ -13,7 +13,7 @@
import("//build/test.gni")
module_output_path = "native_appdatamgr/storage"
module_output_path = "preferences/storage"
ohos_js_unittest("StorageJsTest") {
module_out_path = module_output_path

View File

@ -0,0 +1,34 @@
# Copyright (C) 2021 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.
import("//build/test.gni")
module_output_path = "prefrences/storage"
ohos_js_unittest("StorageJsTest") {
module_out_path = module_output_path
hap_profile = "./config.json"
if (is_standard_system) {
certificate_profile = "//test/developertest/signature/openharmony_sx.p7b"
} else {
deps = [ "//test/developertest/adapter/examples/app_info/test/common/main:get_app_info_test_lib" ]
entry_app_dep = [ "//test/developertest/adapter/examples/app_info/test/common/shell:build_shell_execute" ]
}
}
group("unittest") {
testonly = true
deps = [ ":StorageJsTest" ]
}

View File

@ -56,11 +56,11 @@ ohos_shared_library("rdb") {
"ability_runtime:napi_base_context",
"hilog_native:libhilog",
"napi:ace_napi",
"native_appdatamgr:native_appdatafwk",
"native_appdatamgr:native_rdb",
"relational_store:native_appdatafwk",
"relational_store:native_rdb",
]
subsystem_name = "distributeddatamgr"
part_name = "native_appdatamgr"
part_name = "relational_store"
relative_install_dir = "module/data"
}

View File

@ -13,7 +13,7 @@
import("//build/test.gni")
module_output_path = "native_appdatamgr/rdb"
module_output_path = "relational_store/rdb"
ohos_js_unittest("RdbJsTest") {
module_out_path = module_output_path

View File

@ -72,9 +72,9 @@ ohos_shared_library("datashare_common") {
"hiviewdfx_hilog_native:libhilog",
"ipc:ipc_core",
"napi:ace_napi",
"native_appdatamgr:native_appdatafwk",
"relational_store:native_appdatafwk",
]
subsystem_name = "distributeddatamgr"
part_name = "native_appdatamgr"
part_name = "data_share"
}

View File

@ -14,7 +14,7 @@ import("//build/test.gni")
import(
"//foundation/distributeddatamgr/appdatamgr/frameworks/native/data_share/common/datashare.gni")
module_output_path = "native_appdatamgr/native_datashare"
module_output_path = "data_share/native_datashare"
###############################################################################
@ -57,7 +57,7 @@ ohos_unittest("NativeDataShareTest") {
"bundle_framework:appexecfwk_core",
"ipc:ipc_core",
"ipc_js:rpc",
"native_appdatamgr:native_dataability",
"dataability:native_dataability",
"permission_standard:libpermissionsdk_standard",
"utils_base:utils",
]

View File

@ -12,7 +12,7 @@
# limitations under the License.
import("//build/test.gni")
module_output_path = "native_appdatamgr/native_dataability"
module_output_path = "dataability/native_dataability"
###############################################################################
config("module_private_config") {
@ -34,8 +34,8 @@ ohos_unittest("NativeDataAbilityTest") {
external_deps = [
"hilog_native:libhilog",
"native_appdatamgr:native_dataability",
"native_appdatamgr:native_rdb",
"dataability:native_dataability",
"relational_store:native_rdb",
]
deps = [

View File

@ -12,7 +12,7 @@
# limitations under the License.
import("//build/test.gni")
module_output_path = "native_appdatamgr/native_preferences"
module_output_path = "preferences/native_preferences"
###############################################################################
config("module_private_config") {

View File

@ -13,7 +13,7 @@
import("//build/test.gni")
import("//foundation/distributeddatamgr/appdatamgr/appdatamgr.gni")
module_output_path = "native_appdatamgr/native_rdb"
module_output_path = "relational_store/native_rdb"
###############################################################################
config("module_private_config") {
@ -31,7 +31,7 @@ config("module_private_config") {
"//utils/native/base/include",
]
if (native_appdatamgr_rdb_support_icu) {
if (relational_store_rdb_support_icu) {
include_dirs += [
"//third_party/icu/icu4c/source/i18n",
"//third_party/icu/icu4c/source/common",
@ -69,7 +69,7 @@ ohos_unittest("NativeRdbTest") {
external_deps = [
"hilog_native:libhilog",
"ipc:ipc_core",
"native_appdatamgr:native_rdb",
"relational_store:native_rdb",
]
deps = [

View File

@ -33,7 +33,7 @@ ohos_shared_library("native_appdatafwk") {
configs = [ ":appdatafwk_config" ]
subsystem_name = "distributeddatamgr"
part_name = "native_appdatamgr"
part_name = "relational_store"
deps = [ "//utils/native/base:utils" ]

View File

@ -100,8 +100,8 @@ ohos_shared_library("datashare_abilitykit") {
"bundle_framework:appexecfwk_core",
"ipc:ipc_core",
"ipc_js:rpc",
"native_appdatamgr:native_dataability",
"native_appdatamgr:native_rdb",
"dataability:native_dataability",
"relational_store:native_rdb",
"permission_standard:libpermissionsdk_standard",
"utils_base:utils",
]
@ -112,7 +112,7 @@ ohos_shared_library("datashare_abilitykit") {
]
subsystem_name = "distributeddatamgr"
part_name = "native_appdatamgr"
part_name = "data_share"
}
ohos_shared_library("datashare_ext_ability_module") {
@ -133,10 +133,10 @@ ohos_shared_library("datashare_ext_ability_module") {
"ability_base:want",
"ability_runtime:runtime",
"hiviewdfx_hilog_native:libhilog",
"native_appdatamgr:native_appdatafwk",
"relational_store:native_appdatafwk",
"utils_base:utils",
]
subsystem_name = "distributeddatamgr"
part_name = "native_appdatamgr"
part_name = "data_share"
}

View File

@ -0,0 +1,119 @@
{
"name": "@ohos/distributeddatamgr_appdatamgr",
"version": "3.1.0",
"description": "Local Data Management",
"homePage": "https://gitee.com/openharmony",
"license": "Apache V2",
"repository": "https://gitee.com/openharmony/distributeddatamgr_appdatamgr",
"domain": "os",
"language": "",
"publishAs": "code-segment",
"private": false,
"scripts": {},
"tags": [
"foundation"
],
"keywords": [
"distributeddatamgr",
"appdatamgr"
],
"envs": [],
"dirs": {},
"author": {
"name": "",
"email": "",
"url": ""
},
"contributors": [
{
"name": "",
"email": "",
"url": ""
}
],
"segment": {
"destPath": "foundation/distributeddatamgr/appdatamgr"
},
"component": {
"name": "data_share",
"subsystem": "distributeddatamgr",
"syscap": [
"SystemCapability.DistributedDataManager.DataShare.Core",
"SystemCapability.DistributedDataManager.DataShare.Consumer",
"SystemCapability.DistributedDataManager.DataShare.Provider"
],
"features": [],
"adapted_system_type": [
"standard"
],
"rom": "",
"ram": "",
"deps": {
"components": [
"ability_base",
"ability_runtime",
"want",
"libhilog",
"ipc_core",
"ace_napi",
"samgr_proxy"
],
"third_party": [
"sqlite",
"shared_icuuc",
"shared_icui18n",
"libxml2",
"libsec_shared",
"gtest_main"
]
},
"build": {
"sub_component": [
"//foundation/distributeddatamgr/appdatamgr/interfaces/inner_api/native/data_share:datashare_abilitykit",
"//foundation/distributeddatamgr/appdatamgr/interfaces/inner_api/native/data_share:datashare_ext_ability_module",
"//foundation/distributeddatamgr/appdatamgr/frameworks/native/data_share/common:datashare_common",
"//foundation/distributeddatamgr/appdatamgr/frameworks/js/napi/data_share:datashare_napi_packages"
],
"inner_kits": [
{
"name": "//foundation/distributeddatamgr/appdatamgr/interfaces/inner_api/native/data_share:datashare_abilitykit",
"header": {
"header_files": [
"datashare_helper.h",
"datashare_result_set.h"
],
"header_base": "//foundation/distributeddatamgr/appdatamgr/interfaces/inner_api/native/data_share/consumer/include"
}
},
{
"name": "//foundation/distributeddatamgr/appdatamgr/interfaces/inner_api/native/data_share:datashare_abilitykit",
"header": {
"header_files": [
"datashare_abstract_result_set.h",
"datashare_block_writer.h"
],
"header_base": "//foundation/distributeddatamgr/appdatamgr/interfaces/inner_api/native/data_share/provider/include"
}
},
{
"name": "//foundation/distributeddatamgr/appdatamgr/frameworks/native/data_share/common:datashare_common",
"header": {
"header_files": [
"datashare_errno.h",
"datashare_predicates_def.h",
"datashare_predicates_object.h",
"datashare_predicates.h",
"datashare_value_object.h",
"datashare_values_bucket.h"
],
"header_base": "//foundation/distributeddatamgr/appdatamgr/interfaces/inner_api/native/data_share/common/include"
}
}
],
"test": [
"//foundation/distributeddatamgr/appdatamgr/frameworks/native/data_share/test:unittest",
"//foundation/distributeddatamgr/appdatamgr/frameworks/js/napi/data_share/dataShare/test:unittest"
]
}
}
}

View File

@ -31,7 +31,7 @@ config("native_dataability_public_config") {
}
ohos_shared_library("native_dataability") {
part_name = "native_appdatamgr"
part_name = "dataability"
sources = [
"../../../../frameworks/native/dataability/src/data_ability_predicates.cpp",
"../../../../frameworks/native/dataability/src/ishared_result_set.cpp",
@ -48,7 +48,7 @@ ohos_shared_library("native_dataability") {
external_deps = [
"hilog_native:libhilog",
"ipc:ipc_core",
"native_appdatamgr:native_rdb",
"relational_store:native_rdb",
]
public_configs = [ ":native_dataability_public_config" ]

View File

@ -0,0 +1,91 @@
{
"name": "@ohos/distributeddatamgr_appdatamgr",
"version": "3.1.0",
"description": "Local Data Management",
"homePage": "https://gitee.com/openharmony",
"license": "Apache V2",
"repository": "https://gitee.com/openharmony/distributeddatamgr_appdatamgr",
"domain": "os",
"language": "",
"publishAs": "code-segment",
"private": false,
"scripts": {},
"tags": [
"foundation"
],
"keywords": [
"distributeddatamgr",
"appdatamgr"
],
"envs": [],
"dirs": {},
"author": {
"name": "",
"email": "",
"url": ""
},
"contributors": [
{
"name": "",
"email": "",
"url": ""
}
],
"segment": {
"destPath": "foundation/distributeddatamgr/appdatamgr"
},
"component": {
"name": "dataability",
"subsystem": "distributeddatamgr",
"syscap": [
"SystemCapability.DistributedDataManager.DataShare.Core"
],
"features": [],
"adapted_system_type": [
"standard"
],
"rom": "",
"ram": "",
"deps": {
"components": [
"ability_base",
"ability_runtime",
"want",
"libhilog",
"ipc_core",
"ace_napi",
"samgr_proxy"
],
"third_party": [
"sqlite",
"shared_icuuc",
"shared_icui18n",
"libxml2",
"libsec_shared",
"gtest_main"
]
},
"build": {
"sub_component": [
"//foundation/distributeddatamgr/appdatamgr/interfaces/inner_api/native/dataability:native_dataability",
"//foundation/distributeddatamgr/appdatamgr/frameworks/js/napi/dataability:dataability"
],
"inner_kits": [
{
"name": "//foundation/distributeddatamgr/appdatamgr/interfaces/inner_api/native/dataability:native_dataability",
"header": {
"header_files": [
"data_ability_predicates.h",
"predicates_utils.h"
],
"header_base": "//foundation/distributeddatamgr/appdatamgr/interfaces/inner_api/native/dataability/include"
}
}
],
"test": [
"//foundation/distributeddatamgr/appdatamgr/frameworks/native/dataability/test:unittest",
"//foundation/distributeddatamgr/appdatamgr/frameworks/js/napi/dataability/test:unittest"
]
}
}
}

View File

@ -49,5 +49,5 @@ ohos_shared_library("native_preferences") {
public_configs = [ ":native_preferences_public_config" ]
subsystem_name = "distributeddatamgr"
part_name = "native_appdatamgr"
part_name = "preferences"
}

View File

@ -0,0 +1,97 @@
{
"name": "@ohos/distributeddatamgr_appdatamgr",
"version": "3.1.0",
"description": "Local Data Management",
"homePage": "https://gitee.com/openharmony",
"license": "Apache V2",
"repository": "https://gitee.com/openharmony/distributeddatamgr_appdatamgr",
"domain": "os",
"language": "",
"publishAs": "code-segment",
"private": false,
"scripts": {},
"tags": [
"foundation"
],
"keywords": [
"distributeddatamgr",
"appdatamgr"
],
"envs": [],
"dirs": {},
"author": {
"name": "",
"email": "",
"url": ""
},
"contributors": [
{
"name": "",
"email": "",
"url": ""
}
],
"segment": {
"destPath": "foundation/distributeddatamgr/appdatamgr"
},
"component": {
"name": "preferences",
"subsystem": "distributeddatamgr",
"syscap": [
"SystemCapability.DistributedDataManager.Preferences.Core"
],
"features": [],
"adapted_system_type": [
"standard"
],
"rom": "",
"ram": "",
"deps": {
"components": [
"ability_base",
"ability_runtime",
"want",
"libhilog",
"ipc_core",
"ace_napi",
"samgr_proxy"
],
"third_party": [
"sqlite",
"shared_icuuc",
"shared_icui18n",
"libxml2",
"libsec_shared",
"gtest_main"
]
},
"build": {
"sub_component": [
"//foundation/distributeddatamgr/appdatamgr/interfaces/inner_api/native/preferences:native_preferences",
"//foundation/distributeddatamgr/appdatamgr/frameworks/js/napi/preferences:preferences",
"//foundation/distributeddatamgr/appdatamgr/frameworks/js/napi/preferences:storage",
"//foundation/distributeddatamgr/appdatamgr/frameworks/js/napi/preferences:storage_napi"
],
"inner_kits": [
{
"name": "//foundation/distributeddatamgr/appdatamgr/interfaces/inner_api/native/preferences:native_preferences",
"header": {
"header_files": [
"preferences.h",
"preferences_observer.h",
"preferences_helper.h",
"preferences_errno.h",
"preferences_xml_utils.h",
"preferences_value.h"
],
"header_base": "//foundation/distributeddatamgr/appdatamgr/interfaces/inner_api/native/preferences/include"
}
}
],
"test": [
"//foundation/distributeddatamgr/appdatamgr/frameworks/native/preferences/test:unittest",
"//foundation/distributeddatamgr/appdatamgr/frameworks/js/napi/preferences/test:unittest"
]
}
}
}

View File

@ -32,7 +32,7 @@ config("native_rdb_config") {
"SQLITE_DISTRIBUTE_RELATIONAL",
]
if (native_appdatamgr_rdb_support_icu) {
if (relational_store_rdb_support_icu) {
include_dirs += [
"//third_party/icu/icu4c/source",
"//third_party/icu/icu4c/source/i18n",
@ -51,7 +51,7 @@ config("native_rdb_public_config") {
}
ohos_shared_library("native_rdb") {
part_name = "native_appdatamgr"
part_name = "relational_store"
sources = [
"../../../../frameworks/native/rdb/src/abs_predicates.cpp",
"../../../../frameworks/native/rdb/src/abs_rdb_predicates.cpp",