1# Copyright (c) 2021 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 enable_ohos_startup_init_feature_watcher = true 16 enable_ohos_startup_init_feature_deviceinfo = true 17 18 # only for test 19 param_test = true 20 param_base_log = false 21 enable_ohos_startup_init_feature_ab_partition = false 22 23 # init begetctl support liteos 24 enable_ohos_startup_init_feature_begetctl_liteos = false 25 26 # only support mbedtls for hash 27 enable_ohos_startup_init_lite_use_thirdparty_mbedtls = true 28 enable_ohos_startup_init_lite_use_posix_file_api = false 29 config_ohos_startup_init_lite_data_path = "/" 30 31 # config memory size for liteos-m 32 config_ohos_startup_init_lite_memory_size = 5120 33 34 startup_init_feature_decode_group_file = false 35 36 startup_init_test_performance = true 37 38 # log display control 39 config_ohos_startup_init_lite_no_log = false 40 41 startup_init_with_param_base = false 42 if (!use_musl) { 43 startup_init_with_param_base = true 44 startup_init_feature_decode_group_file = true 45 } 46 47 #deps appspawn_client 48 enable_appspawn_client_module = true 49 50 # begetutil extension module 51 startup_begetutil_extra_modules = "" 52 startup_init_extra_static_modules = "" 53} 54