代码拉取完成,页面将自动刷新
同步操作将从 OpenHarmony/third_party_musl 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//build/config/sanitizers/sanitizers.gni")
declare_args() {
if (current_cpu == "arm") {
musl_arch = "arm"
} else if (current_cpu == "arm64") {
musl_arch = "aarch64"
} else if (current_cpu == "x86_64" || current_cpu == "x64") {
musl_arch = "x86_64"
} else if (current_cpu == "mipsel") {
musl_arch = "mipsel"
}
# musl_root = "$root_out_dir/obj/third_party/musl"
# musl_sub_arch = ""
# musl_syslib_dir = "/system/bin"
# musl_linker_extension = "so.1"
}
declare_args() {
if ((defined(target_os) && target_os == "ohos") ||
(defined(ohos_kernel_type) && ohos_kernel_type == "linux")) {
musl_target_os = "linux"
musl_target_triple = "${musl_arch}-linux-ohos"
} else if (defined(ohos_kernel_type) && ohos_kernel_type == "liteos_a") {
musl_target_os = "liteos_a"
musl_target_triple = "arm-liteos-ohos"
}
}
declare_args() {
runtime_lib_path =
"//prebuilts/clang/ohos/linux-x86_64/llvm/lib/clang/12.0.1/lib"
user_custom_libc = true
use_jemalloc = false
use_jemalloc_dfx_intf = false
musl_ported_dir = "intermidiates/${musl_target_os}/musl_src_ported"
musl_inc_out_dir = "usr/include/${musl_target_triple}"
uapi_dir = "//kernel/linux/patches/linux-5.10/prebuilts/usr/include"
linux_kernel_dir = "//kernel/linux/linux-5.10"
musl_dir = "//third_party/musl"
musl_porting_dir = "//third_party/musl/porting/linux/user"
# if (is_asan) {
# musl_linker_asan_name =
# musl_syslib_dir + "/ld-musl-${musl_arch}${musl_sub_arch}-asan"
# musl_ldso_path =
# musl_syslib_dir + "/ld-musl-${musl_arch}${musl_sub_arch}-asan." +
# musl_linker_extension
# } else {
# musl_ldso_path =
# musl_syslib_dir + "/ld-musl-${musl_arch}${musl_sub_arch}." +
# musl_linker_extension
# }
}
declare_args() {
if (!is_standard_system) {
enable_musl_log = false
}
musl_iterate_and_stats_api = false
musl_secure_level = 1
}
declare_args() {
if (!defined(product_path)) {
product_path = ""
}
}
declare_args() {
# for unit test
musl_unit_test_flag = false
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。