• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2022 Huawei Device Co., Ltd.
2# Licensed under the Apache License, Version 2.0 (the "License");
3# you may not use this file except in compliance with the License.
4# You may obtain a copy of the License at
5#
6#     http://www.apache.org/licenses/LICENSE-2.0
7#
8# Unless required by applicable law or agreed to in writing, software
9# distributed under the License is distributed on an "AS IS" BASIS,
10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11# See the License for the specific language governing permissions and
12# limitations under the License.
13
14declare_args() {
15  relational_store_rdb_support_icu = true
16  if (!defined(global_parts_info) ||
17      defined(global_parts_info.distributeddatamgr_arkdata_database_core)) {
18    arkdata_db_core_is_exists = true
19  } else {
20    arkdata_db_core_is_exists = false
21  }
22}
23
24common_tool_path = "//foundation/distributeddatamgr/kv_store/frameworks/common"
25distributeddata_base_path = "//foundation/distributeddatamgr"
26
27relational_store_base_path = "//foundation/distributeddatamgr/relational_store"
28
29relational_store_mock_path = "${relational_store_base_path}/rdbmock"
30
31relational_store_mock_test_path = "${relational_store_base_path}/test/native/rdb/mock"
32
33relational_store_js_common_path =
34    "${relational_store_base_path}/frameworks/js/napi/common"
35
36relational_store_napi_path = "${relational_store_base_path}/frameworks/js/napi"
37
38relational_store_native_path = "${relational_store_base_path}/frameworks/native"
39
40relational_store_innerapi_path =
41    "${relational_store_base_path}/interfaces/inner_api"
42
43relational_store_common_path = "${relational_store_base_path}/frameworks/common"
44
45cloud_data_native_path =
46    "${relational_store_base_path}/frameworks/native/cloud_data"
47cloud_data_napi_path = "${relational_store_napi_path}/cloud_data"
48
49datashare_path =
50    "//foundation/distributeddatamgr/data_share/interfaces/inner_api"
51
52ipc_path = "//foundation/communication/ipc/interfaces/innerkits"
53
54kvstore_path = "//foundation/distributeddatamgr/kv_store/frameworks"
55
56kvstore_interface_path = "//foundation/distributeddatamgr/kv_store/interfaces/innerkits/distributeddata/include"
57
58distributedfile_path =
59    "//foundation/filemanagement/file_api/interfaces/kits/js/src"
60
61sdk_c_path = "//interface/sdk_c/distributeddatamgr"
62
63plugins_path = "//plugins"
64
65datashare_base_path = "//foundation/distributeddatamgr/data_share"
66
67datashare_common_native_path = "${datashare_base_path}/frameworks/native/common"
68
69datashare_innerapi_path = "${datashare_base_path}/interfaces/inner_api"