代码拉取完成,页面将自动刷新
同步操作将从 OpenHarmony/build_lite 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
# Copyright (c) 2020 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.
# Description: Define the global variables for all components
declare_args() {
# OHOS version
name = "OpenHarmony"
major = "2"
minor = "3"
revision = "beta"
ohos_version = "$name $major.$minor $revision"
ohos_build_time = ""
ohos_build_datetime = ""
product = ""
device_path = ""
product_path = ""
device_company = ""
ohos_product_adapter_dir = ""
# "debug" or "release"
ohos_build_type = "debug"
ohos_full_compile = false
ohos_build_compiler = ""
ohos_build_compiler_specified = ""
ohos_build_target = ""
ohos_build_compiler_dir = ""
ohos_kernel_type = ""
ohos_kernel_is_prebuilt = false
use_board_toolchain = true
# hb set it to true if ccache installed.
ohos_build_enable_ccache = false
# Current toolchain cc command. E.g. "/data/user1/riscv32/bin/riscv32-unknown-elf-gcc".
ohos_current_cc_command = ""
ohos_current_cxx_command = ""
ohos_current_ar_command = ""
ohos_current_ld_command = ""
ohos_current_strip_command = ""
# Current sysroot path. E.g. "//prebuilts/lite/sysroot".
ohos_current_sysroot = "$root_out_dir/sysroot"
}
if (product_path != "") {
product_config = read_file("${product_path}/config.json", "json")
# Board selected by product.
board_name = product_config.board
device_company = product_config.device_company
# Supported kernel: "liteos_a", "liteos_m", "linux"
ohos_kernel_type = product_config.kernel_type
if (defined(product_config.kernel_is_prebuilt)) {
ohos_kernel_is_prebuilt = product_config.kernel_is_prebuilt
}
# To be deleted, and will use board config.
if (defined(product_config.vendor_adapter_dir)) {
ohos_vendor_adapter_dir = product_config.vendor_adapter_dir
ohos_board_adapter_dir = ohos_vendor_adapter_dir
}
ohos_product_adapter_dir = product_config.product_adapter_dir
ohos_third_party_dir = product_config.third_party_dir
}
ohos_build_user = "jenkins"
ohos_build_host = host_os
ohos_build_roothash = ""
ohos_root_path = rebase_path("//")
ohos_lite = true
# Testing switches
LOSCFG_TEST_JS_BUILD = false
LOSCFG_TEST_MLF_BUILD = false
LOSCFG_TEST_C_BUILD = false
LOSCFG_TEST_APPS = false
declare_args() {
enable_ohos_hiview = true
enable_ohos_hiview_event = true
enable_ohos_hiview_platform = false
}
declare_args() {
enable_tee_ree = false
enable_ohos_security_dmverity = false
}
declare_args() {
ohos_build_userspace_only = false
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。