• 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
14ability_runtime_path = "//foundation/ability/ability_runtime"
15ability_runtime_innerapi_path = "${ability_runtime_path}/interfaces/inner_api"
16ability_runtime_kits_path = "${ability_runtime_path}/frameworks/kits"
17ability_runtime_native_path = "${ability_runtime_path}/frameworks/native"
18ability_runtime_services_path = "${ability_runtime_path}/services"
19ability_runtime_napi_path = "${ability_runtime_path}/frameworks/js/napi"
20ability_dmsfwk_path = "//foundation/ability/dmsfwk"
21
22access_token_path = "//base/security/access_token"
23bundlefwk_path = "//foundation/bundlemanager/bundle_framework"
24bundlefwk_inner_api_path = "${bundlefwk_path}/interfaces/inner_api"
25bundle_mgr_path = "//foundation/bundlemanager"
26distributeddatamgr_path = "//foundation/distributeddatamgr"
27systemabilitymgr_path = "//foundation/systemabilitymgr"
28foundation_distributedschedule_path = "//foundation/distributedschedule"
29dtbschedmgr_path =
30    "${foundation_distributedschedule_path}/dmsfwk/services/dtbschedmgr"
31samgr_proxy_path = "${foundation_distributedschedule_path}/samgr/interfaces/innerkits/samgr_proxy"
32adapter_innerkits_path =
33    "${foundation_distributedschedule_path}/samgr/adapter/interfaces/innerkits"
34
35device_manager_path = "//foundation/distributedhardware/device_manager"
36form_fwk_path = "//foundation/ability/form_fwk"
37form_fwk_napi_path = "${form_fwk_path}/frameworks/js/napi"
38form_fwk_inner_api_path = "${form_fwk_path}/interfaces/inner_api"
39form_render_service_path =
40    "${form_fwk_path}/services/form_render_service/FormRenderService"
41global_path = "//base/global"
42ipc_core_path = "//foundation/communication/ipc/interfaces/innerkits/ipc_core"
43arkui_ace_engine_components_path =
44    "//foundation/arkui/ace_engine/frameworks/core/components"
45c_utils_base_path = "//commonlibrary/c_utils/base"
46ecological_rule_mgr_path = "//foundation/bundlemanager/ecological_rule_mgr/interfaces/innerkits/include"
47
48declare_args() {
49  device_usage_statistics = true
50  if (defined(global_parts_info) &&
51      !defined(global_parts_info.resourceschedule_device_usage_statistics)) {
52    device_usage_statistics = false
53  }
54}
55
56declare_args() {
57  fms_ecologic_rule_mgr_enabled = false
58  if (!defined(global_parts_info) ||
59      defined(global_parts_info.bundlemanager_ecological_rule_mgr)) {
60    fms_ecologic_rule_mgr_enabled = true
61  }
62}
63