begetd.gni 1.3 KB
Newer Older
H
handyohos 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14
# 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.

declare_args() {
M
Mupceet 已提交
15 16
  enable_ohos_startup_init_feature_watcher = true
  enable_ohos_startup_init_feature_deviceinfo = true
C
cheng_jinsong 已提交
17 18

  # only for test
X
xionglei6 已提交
19
  param_test = true
A
an_xinwei 已提交
20
  param_base_log = false
C
slot  
chengjinsong 已提交
21
  enable_ohos_startup_init_feature_ab_partition = false
M
Mupceet 已提交
22

M
Mupceet 已提交
23 24
  # init begetctl support liteos
  enable_ohos_startup_init_feature_begetctl_liteos = false
C
cheng_jinsong 已提交
25 26

  # only support mbedtls for hash
M
Mupceet 已提交
27 28
  enable_ohos_startup_init_lite_use_thirdparty_mbedtls = true
  enable_ohos_startup_init_lite_use_posix_file_api = false
C
cheng_jinsong 已提交
29
  config_ohos_startup_init_lite_data_path = "/"
M
Mupceet 已提交
30

31 32 33
  # config memory size for liteos-m
  config_ohos_startup_init_lite_memory_size = 5120

M
Mupceet 已提交
34
  # boot_kernel_extended_cmdline for extend cmdline
C
cheng_jinsong 已提交
35 36 37 38 39

  startup_init_with_param_base = false
  if (!use_musl) {
    startup_init_with_param_base = true
  }
H
handyohos 已提交
40
}