2021-12-17 13:46:32 +00:00
|
|
|
# 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.
|
|
|
|
|
2024-04-19 09:53:02 +00:00
|
|
|
init_innerkits_path = "//base/startup/init/interfaces/innerkits"
|
|
|
|
|
2021-12-17 13:46:32 +00:00
|
|
|
declare_args() {
|
2022-05-25 04:41:36 +00:00
|
|
|
enable_ohos_startup_init_feature_watcher = true
|
|
|
|
enable_ohos_startup_init_feature_deviceinfo = true
|
2022-11-02 01:23:29 +00:00
|
|
|
|
|
|
|
# only for test
|
2022-02-10 12:50:10 +00:00
|
|
|
param_test = true
|
2022-08-05 11:12:54 +00:00
|
|
|
param_base_log = false
|
2024-06-11 06:46:38 +00:00
|
|
|
init_feature_ab_partition = false
|
2022-05-25 05:35:16 +00:00
|
|
|
|
2022-05-25 04:41:36 +00:00
|
|
|
# init begetctl support liteos
|
2024-06-11 06:46:38 +00:00
|
|
|
init_feature_begetctl_liteos = false
|
2022-11-02 01:23:29 +00:00
|
|
|
|
|
|
|
# only support mbedtls for hash
|
2024-06-11 06:46:38 +00:00
|
|
|
init_lite_use_thirdparty_mbedtls = true
|
|
|
|
init_lite_use_posix_file_api = false
|
2022-11-02 01:23:29 +00:00
|
|
|
config_ohos_startup_init_lite_data_path = "/"
|
2022-06-29 02:09:33 +00:00
|
|
|
|
2022-11-23 11:02:42 +00:00
|
|
|
# config memory size for liteos-m
|
|
|
|
config_ohos_startup_init_lite_memory_size = 5120
|
|
|
|
|
2022-12-06 07:22:12 +00:00
|
|
|
startup_init_feature_decode_group_file = false
|
|
|
|
|
2023-12-12 14:23:19 +00:00
|
|
|
startup_init_test_performance = true
|
|
|
|
|
2023-01-18 02:52:42 +00:00
|
|
|
# log display control
|
|
|
|
config_ohos_startup_init_lite_no_log = false
|
|
|
|
|
2022-11-28 01:49:02 +00:00
|
|
|
startup_init_with_param_base = false
|
|
|
|
if (!use_musl) {
|
|
|
|
startup_init_with_param_base = true
|
2022-12-06 07:22:12 +00:00
|
|
|
startup_init_feature_decode_group_file = true
|
2022-11-28 01:49:02 +00:00
|
|
|
}
|
2023-02-06 07:45:55 +00:00
|
|
|
|
2024-05-07 01:34:02 +00:00
|
|
|
#deps appspawn_client
|
2024-06-11 06:46:38 +00:00
|
|
|
init_appspawn_client_module = true
|
2024-05-07 01:34:02 +00:00
|
|
|
|
2023-02-06 07:45:55 +00:00
|
|
|
# begetutil extension module
|
|
|
|
startup_begetutil_extra_modules = ""
|
2023-06-05 02:52:08 +00:00
|
|
|
startup_init_extra_static_modules = ""
|
2024-05-22 12:12:48 +00:00
|
|
|
|
2024-06-03 12:16:21 +00:00
|
|
|
init_use_encaps = false
|
|
|
|
|
2024-05-22 12:12:48 +00:00
|
|
|
# erofs overlay feature switch
|
|
|
|
init_startup_feature_erofs_overlay = false
|
2021-12-17 13:46:32 +00:00
|
|
|
}
|