1 Star 1 Fork 0

aosp-riscv/platform-prebuilts-clang-host-linux-x86

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Android.bp 29.52 KB
一键复制 编辑 原始数据 按行查看 历史
unicornx 提交于 2021-12-06 14:41 . catch up with mater, added fuzzer
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189
//
// Copyright (C) 2017 The Android Open Source Project
//
// 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.
//
package {
default_applicable_licenses: ["prebuilts_clang_host_linux-x86_license"],
}
// Added automatically by a large-scale-change that took the approach of
// 'apply every license found to every target'. While this makes sure we respect
// every license restriction, it may not be entirely correct.
//
// e.g. GPL in an MIT project might only apply to the contrib/ directory.
//
// Please consider splitting the single license below into multiple licenses,
// taking care not to lose any license_kind information, and overriding the
// default license using the 'licenses: [...]' property on targets as needed.
//
// For unused files, consider creating a 'fileGroup' with "//visibility:private"
// to attach the license to, and including a comment whether the files may be
// used in the current project.
// See: http://go/android-license-faq
license {
name: "prebuilts_clang_host_linux-x86_license",
visibility: [":__subpackages__"],
license_kinds: [
"SPDX-license-identifier-Apache-2.0",
"SPDX-license-identifier-BSD",
"SPDX-license-identifier-GPL",
"SPDX-license-identifier-LGPL",
"SPDX-license-identifier-MIT",
"SPDX-license-identifier-NCSA",
"SPDX-license-identifier-PSF-2.0",
"SPDX-license-identifier-Zlib",
"legacy_unencumbered",
],
// large-scale-change unable to identify any license_text files
}
llvm_prebuilt_library_static {
name: "libFuzzer",
sdk_version: "minimum",
sanitize: {
never: true,
},
}
llvm_prebuilt_library_static {
name: "libomp",
sdk_version: "minimum",
vendor_available: true,
product_available: true,
sanitize: {
never: true,
},
}
cc_defaults {
name: "libclang_rt-prebuilt-default",
ramdisk_available: true,
vendor_ramdisk_available: true,
apex_available: [
"//apex_available:anyapex",
"//apex_available:platform",
],
}
///////////////////////////////////////////////////////////////////////////////
cc_defaults {
name: "libclang_rt.builtins-android-default",
defaults: ["libclang_rt-prebuilt-default"],
sdk_version: "minimum",
enabled: false,
recovery_available: true,
vendor_available: true,
product_available: true,
native_bridge_supported: true,
sanitize: {
never: true,
},
stl: "none",
}
libclang_rt_prebuilt_library_static {
name: "libclang_rt.builtins-arm-android",
defaults: ["libclang_rt.builtins-android-default"],
arch: {
arm: {
enabled: true,
},
},
bazel_module: {
label: "//prebuilts/clang/host/linux-x86:libclang_rt",
},
}
libclang_rt_prebuilt_library_static {
name: "libclang_rt.builtins-arm-android-exported",
defaults: ["libclang_rt.builtins-android-default"],
arch: {
arm: {
enabled: true,
},
},
// This exported variant of the builtins library is only intended for use in
// libc.so and libm.so, which exports some builtins symbols for backwards
// compatibility.
visibility: [
"//bionic:__subpackages__",
"//frameworks/libs/native_bridge_support/libc:__subpackages__",
],
}
libclang_rt_prebuilt_library_static {
name: "libclang_rt.builtins-aarch64-android",
defaults: ["libclang_rt.builtins-android-default"],
host_supported: true,
arch: {
arm64: {
enabled: true,
},
},
bazel_module: {
label: "//prebuilts/clang/host/linux-x86:libclang_rt",
},
}
libclang_rt_prebuilt_library_static {
name: "libclang_rt.builtins-riscv64-android",
defaults: ["libclang_rt.builtins-android-default"],
host_supported: true,
arch: {
riscv64: {
enabled: true,
},
},
bazel_module: {
label: "//prebuilts/clang/host/linux-x86:libclang_rt",
},
}
libclang_rt_prebuilt_library_static {
name: "libclang_rt.builtins-i686-android",
defaults: ["libclang_rt.builtins-android-default"],
arch: {
x86: {
enabled: true,
},
},
bazel_module: {
label: "//prebuilts/clang/host/linux-x86:libclang_rt",
},
}
libclang_rt_prebuilt_library_static {
name: "libclang_rt.builtins-i686-android-exported",
defaults: ["libclang_rt.builtins-android-default"],
arch: {
x86: {
enabled: true,
},
},
// This exported variant of the builtins library is only intended for use in
// libc.so, which exports some builtins symbols for backwards compatibility.
visibility: [
"//bionic:__subpackages__",
"//frameworks/libs/native_bridge_support/libc:__subpackages__",
],
}
libclang_rt_prebuilt_library_static {
name: "libclang_rt.builtins-x86_64-android",
defaults: [
"linux_bionic_supported",
"libclang_rt.builtins-android-default",
],
arch: {
x86_64: {
enabled: true,
},
},
bazel_module: {
label: "//prebuilts/clang/host/linux-x86:libclang_rt",
},
}
///////////////////////////////////////////////////////////////////////////////
cc_defaults {
name: "libclang_rt.builtins-default",
enabled: false,
host_supported: true,
sanitize: {
never: true,
},
stl: "none",
}
libclang_rt_prebuilt_library_static {
name: "libclang_rt.builtins-x86_64",
defaults: ["libclang_rt.builtins-default"],
target: {
linux_glibc_x86_64: {
enabled: true,
},
},
}
libclang_rt_prebuilt_library_static {
name: "libclang_rt.builtins-i386",
defaults: ["libclang_rt.builtins-default"],
target: {
linux_glibc_x86: {
enabled: true,
},
},
}
///////////////////////////////////////////////////////////////////////////////
cc_defaults {
name: "libclang_rt.asan-android-default",
defaults: ["libclang_rt-prebuilt-default"],
sdk_version: "minimum",
enabled: false,
recovery_available: true,
native_bridge_supported: true,
}
libclang_rt_prebuilt_library_shared {
name: "libclang_rt.asan-arm-android",
defaults: ["libclang_rt.asan-android-default"],
sdk_version: "24",
check_elf_files: false, // Bypass circular dependency between libc++
is_llndk: true,
arch: {
arm: {
enabled: true,
},
},
}
libclang_rt_prebuilt_library_shared {
name: "libclang_rt.asan-aarch64-android",
defaults: ["libclang_rt.asan-android-default"],
check_elf_files: false, // Bypass circular dependency between libc++
is_llndk: true,
host_supported: true,
arch: {
arm64: {
enabled: true,
},
},
}
libclang_rt_prebuilt_library_shared {
name: "libclang_rt.asan-riscv64-android",
defaults: ["libclang_rt.asan-android-default"],
check_elf_files: false, // Bypass circular dependency between libc++
is_llndk: true,
host_supported: true,
arch: {
riscv64: {
enabled: true,
},
},
}
libclang_rt_prebuilt_library_shared {
name: "libclang_rt.asan-i686-android",
defaults: ["libclang_rt.asan-android-default"],
check_elf_files: false, // Bypass circular dependency between libc++
is_llndk: true,
arch: {
x86: {
enabled: true,
},
},
}
libclang_rt_prebuilt_library_shared {
name: "libclang_rt.asan-x86_64-android",
defaults: [
"linux_bionic_supported",
"libclang_rt.asan-android-default",
],
check_elf_files: false, // Bypass circular dependency between libc++
is_llndk: true,
arch: {
x86_64: {
enabled: true,
},
},
}
///////////////////////////////////////////////////////////////////////////////
cc_defaults {
name: "libclang_rt.ubsan_standalone-android-default",
defaults: ["libclang_rt-prebuilt-default"],
sdk_version: "minimum",
enabled: false,
vendor_available: true,
product_available: true,
recovery_available: true,
double_loadable: true,
stl: "c++_shared",
vndk: {
enabled: true,
},
}
libclang_rt_prebuilt_library_shared {
name: "libclang_rt.ubsan_standalone-arm-android",
defaults: ["libclang_rt.ubsan_standalone-android-default"],
sdk_version: "24",
check_elf_files: false, // Bypass circular dependency between libc++
arch: {
arm: {
enabled: true,
},
},
}
libclang_rt_prebuilt_library_shared {
name: "libclang_rt.ubsan_standalone-aarch64-android",
defaults: ["libclang_rt.ubsan_standalone-android-default"],
check_elf_files: false, // Bypass circular dependency between libc++
host_supported: true,
arch: {
arm64: {
enabled: true,
},
},
}
libclang_rt_prebuilt_library_shared {
name: "libclang_rt.ubsan_standalone-riscv64-android",
defaults: ["libclang_rt.ubsan_standalone-android-default"],
check_elf_files: false, // Bypass circular dependency between libc++
host_supported: true,
arch: {
riscv64: {
enabled: true,
},
},
}
libclang_rt_prebuilt_library_shared {
name: "libclang_rt.ubsan_standalone-i686-android",
defaults: [
"linux_bionic_supported",
"libclang_rt.ubsan_standalone-android-default",
],
check_elf_files: false, // Bypass circular dependency between libc++
arch: {
x86: {
enabled: true,
},
},
}
libclang_rt_prebuilt_library_shared {
name: "libclang_rt.ubsan_standalone-x86_64-android",
defaults: [
"linux_bionic_supported",
"libclang_rt.ubsan_standalone-android-default",
],
check_elf_files: false, // Bypass circular dependency between libc++
arch: {
x86_64: {
enabled: true,
},
},
}
///////////////////////////////////////////////////////////////////////////////
libclang_rt_prebuilt_library_shared {
name: "libclang_rt.ubsan_standalone-i386",
enabled: false,
host_supported: true,
target: {
linux_glibc_x86: {
enabled: true,
},
},
}
libclang_rt_prebuilt_library_shared {
name: "libclang_rt.ubsan_standalone-x86_64",
enabled: false,
host_supported: true,
target: {
linux_glibc_x86_64: {
enabled: true,
},
},
}
///////////////////////////////////////////////////////////////////////////////
cc_defaults {
name: "libclang_rt.ubsan_standalone-android.static-default",
defaults: ["libclang_rt-prebuilt-default"],
sdk_version: "minimum",
enabled: false,
vendor_available: true,
product_available: true,
recovery_available: true,
double_loadable: true,
stl: "c++_static",
}
libclang_rt_prebuilt_library_static {
name: "libclang_rt.ubsan_standalone-arm-android.static",
defaults: ["libclang_rt.ubsan_standalone-android.static-default"],
sdk_version: "24",
check_elf_files: false, // Bypass circular dependency between libc++
arch: {
arm: {
enabled: true,
},
},
}
libclang_rt_prebuilt_library_static {
name: "libclang_rt.ubsan_standalone-aarch64-android.static",
defaults: ["libclang_rt.ubsan_standalone-android.static-default"],
check_elf_files: false, // Bypass circular dependency between libc++
host_supported: true,
arch: {
arm64: {
enabled: true,
},
},
}
libclang_rt_prebuilt_library_static {
name: "libclang_rt.ubsan_standalone-i686-android.static",
defaults: [
"linux_bionic_supported",
"libclang_rt.ubsan_standalone-android.static-default",
],
check_elf_files: false, // Bypass circular dependency between libc++
arch: {
x86: {
enabled: true,
},
},
}
libclang_rt_prebuilt_library_static {
name: "libclang_rt.ubsan_standalone-x86_64-android.static",
defaults: [
"linux_bionic_supported",
"libclang_rt.ubsan_standalone-android.static-default",
],
check_elf_files: false, // Bypass circular dependency between libc++
arch: {
x86_64: {
enabled: true,
},
},
}
///////////////////////////////////////////////////////////////////////////////
libclang_rt_prebuilt_library_static {
name: "libclang_rt.ubsan_standalone-i386.static",
enabled: false,
host_supported: true,
target: {
linux_glibc_x86: {
enabled: true,
},
},
}
libclang_rt_prebuilt_library_static {
name: "libclang_rt.ubsan_standalone-x86_64.static",
enabled: false,
host_supported: true,
target: {
linux_glibc_x86_64: {
enabled: true,
},
},
}
///////////////////////////////////////////////////////////////////////////////
cc_defaults {
name: "libclang_rt.ubsan_minimal-android-default",
defaults: ["libclang_rt-prebuilt-default"],
sdk_version: "minimum",
enabled: false,
vendor_available: true,
product_available: true,
ramdisk_available: false,
vendor_ramdisk_available: false,
}
libclang_rt_prebuilt_library_static {
name: "libclang_rt.ubsan_minimal-arm-android",
defaults: ["libclang_rt.ubsan_minimal-android-default"],
arch: {
arm: {
enabled: true,
},
},
}
libclang_rt_prebuilt_library_static {
name: "libclang_rt.ubsan_minimal-aarch64-android",
defaults: ["libclang_rt.ubsan_minimal-android-default"],
host_supported: true,
arch: {
arm64: {
enabled: true,
},
},
}
libclang_rt_prebuilt_library_static {
name: "libclang_rt.ubsan_minimal-riscv64-android",
defaults: ["libclang_rt.ubsan_minimal-android-default"],
host_supported: true,
arch: {
riscv64: {
enabled: true,
},
},
}
libclang_rt_prebuilt_library_static {
name: "libclang_rt.ubsan_minimal-i686-android",
defaults: [
"linux_bionic_supported",
"libclang_rt.ubsan_minimal-android-default",
],
arch: {
x86: {
enabled: true,
},
},
}
libclang_rt_prebuilt_library_static {
name: "libclang_rt.ubsan_minimal-x86_64-android",
defaults: [
"linux_bionic_supported",
"libclang_rt.ubsan_minimal-android-default",
],
arch: {
x86_64: {
enabled: true,
},
},
}
///////////////////////////////////////////////////////////////////////////////
libclang_rt_prebuilt_library_static {
name: "libclang_rt.ubsan_minimal-i386",
enabled: false,
host_supported: true,
target: {
linux_glibc_x86: {
enabled: true,
},
},
}
libclang_rt_prebuilt_library_static {
name: "libclang_rt.ubsan_minimal-x86_64",
enabled: false,
host_supported: true,
target: {
linux_glibc_x86_64: {
enabled: true,
},
},
}
///////////////////////////////////////////////////////////////////////////////
libclang_rt_prebuilt_library_static {
name: "libclang_rt.hwasan_static-aarch64-android",
sdk_version: "minimum",
enabled: false,
recovery_available: true,
vendor_available: true,
product_available: true,
host_supported: true,
arch: {
arm64: {
enabled: true,
},
},
defaults: [
"libclang_rt-prebuilt-default",
],
}
///////////////////////////////////////////////////////////////////////////////
libclang_rt_prebuilt_library_shared {
name: "libclang_rt.hwasan-aarch64-android",
sdk_version: "minimum",
enabled: false,
recovery_available: true,
host_supported: true,
arch: {
arm64: {
enabled: true,
},
},
check_elf_files: false, // Bypass circular dependency between libc++
is_llndk: true,
defaults: [
"libclang_rt-prebuilt-default",
],
}
///////////////////////////////////////////////////////////////////////////////
cc_defaults {
name: "libclang_rt.profile-android-default",
defaults: ["libclang_rt-prebuilt-default"],
sdk_version: "minimum",
enabled: false,
recovery_available: true,
vendor_available: true,
product_available: true,
}
libclang_rt_prebuilt_library_static {
name: "libclang_rt.profile-arm-android",
defaults: ["libclang_rt.profile-android-default"],
arch: {
arm: {
enabled: true,
},
},
}
libclang_rt_prebuilt_library_static {
name: "libclang_rt.profile-aarch64-android",
defaults: ["libclang_rt.profile-android-default"],
host_supported: true,
arch: {
arm64: {
enabled: true,
},
},
}
libclang_rt_prebuilt_library_static {
name: "libclang_rt.profile-i686-android",
defaults: ["libclang_rt.profile-android-default"],
arch: {
x86: {
enabled: true,
},
},
}
libclang_rt_prebuilt_library_static {
name: "libclang_rt.profile-x86_64-android",
defaults: ["libclang_rt.profile-android-default"],
arch: {
x86_64: {
enabled: true,
},
},
}
///////////////////////////////////////////////////////////////////////////////
libclang_rt_prebuilt_library_static {
name: "libclang_rt.profile-x86_64",
sdk_version: "minimum",
enabled: false,
host_supported: true,
ramdisk_available: false,
vendor_ramdisk_available: false,
target: {
linux_glibc_x86_64: {
enabled: true,
},
},
defaults: [
"libclang_rt-prebuilt-default",
],
}
///////////////////////////////////////////////////////////////////////////////
cc_defaults {
name: "libclang_rt.fuzzer-default",
defaults: ["libclang_rt-prebuilt-default"],
sdk_version: "minimum",
enabled: false,
host_supported: true,
ramdisk_available: false,
vendor_ramdisk_available: false,
sanitize: {
never: true,
},
}
libclang_rt_prebuilt_library_static {
name: "libclang_rt.fuzzer-x86_64",
defaults: ["libclang_rt.fuzzer-default"],
target: {
linux_glibc_x86_64: {
enabled: true,
},
},
}
libclang_rt_prebuilt_library_static {
name: "libclang_rt.fuzzer-i386",
defaults: ["libclang_rt.fuzzer-default"],
target: {
linux_glibc_x86: {
enabled: true,
},
},
}
///////////////////////////////////////////////////////////////////////////////
libclang_rt_prebuilt_library_shared {
name: "libclang_rt.asan-x86_64",
enabled: false,
host_supported: true,
target: {
linux_glibc_x86_64: {
enabled: true,
},
},
}
libclang_rt_prebuilt_library_shared {
name: "libclang_rt.asan-i386",
enabled: false,
host_supported: true,
target: {
linux_glibc_x86: {
enabled: true,
},
},
}
///////////////////////////////////////////////////////////////////////////////
cc_defaults {
name: "libclang_rt.fuzzer-android-default",
defaults: ["libclang_rt-prebuilt-default"],
sdk_version: "minimum",
enabled: false,
recovery_available: true,
vendor_available: true,
product_available: true,
sanitize: {
never: true,
},
}
libclang_rt_prebuilt_library_static {
name: "libclang_rt.fuzzer-arm-android",
defaults: ["libclang_rt.fuzzer-android-default"],
arch: {
arm: {
enabled: true,
},
},
}
libclang_rt_prebuilt_library_static {
name: "libclang_rt.fuzzer-aarch64-android",
defaults: ["libclang_rt.fuzzer-android-default"],
host_supported: true,
arch: {
arm64: {
enabled: true,
},
},
}
libclang_rt_prebuilt_library_static {
name: "libclang_rt.fuzzer-riscv64-android",
defaults: ["libclang_rt.fuzzer-android-default"],
host_supported: true,
arch: {
riscv64: {
enabled: true,
},
},
}
libclang_rt_prebuilt_library_static {
name: "libclang_rt.fuzzer-i686-android",
defaults: ["libclang_rt.fuzzer-android-default"],
arch: {
x86: {
enabled: true,
},
},
}
libclang_rt_prebuilt_library_static {
name: "libclang_rt.fuzzer-x86_64-android",
defaults: ["libclang_rt.fuzzer-android-default"],
arch: {
x86_64: {
enabled: true,
},
},
}
///////////////////////////////////////////////////////////////////////////////
libclang_rt_prebuilt_library_static {
name: "libclang_rt.profile-i386",
sdk_version: "minimum",
enabled: false,
host_supported: true,
ramdisk_available: false,
vendor_ramdisk_available: false,
target: {
linux_glibc_x86: {
enabled: true,
},
},
check_elf_files: false, // Bypass circular dependency between libc++
defaults: [
"libclang_rt-prebuilt-default",
],
}
///////////////////////////////////////////////////////////////////////////////
cc_defaults {
name: "libclang_rt.scudo-android-default",
defaults: ["libclang_rt-prebuilt-default"],
sdk_version: "minimum",
enabled: false,
vendor_available: true,
product_available: true,
ramdisk_available: false,
vendor_ramdisk_available: false,
vndk: {
enabled: true,
},
}
libclang_rt_prebuilt_library_shared {
name: "libclang_rt.scudo-arm-android",
defaults: ["libclang_rt.scudo-android-default"],
sdk_version: "24",
check_elf_files: false, // Bypass circular dependency between libc++
arch: {
arm: {
enabled: true,
},
},
}
libclang_rt_prebuilt_library_shared {
name: "libclang_rt.scudo-aarch64-android",
defaults: ["libclang_rt.scudo-android-default"],
check_elf_files: false, // Bypass circular dependency between libc++
host_supported: true,
arch: {
arm64: {
enabled: true,
},
},
}
libclang_rt_prebuilt_library_shared {
name: "libclang_rt.scudo-i686-android",
defaults: ["libclang_rt.scudo-android-default"],
check_elf_files: false, // Bypass circular dependency between libc++
arch: {
x86: {
enabled: true,
},
},
}
libclang_rt_prebuilt_library_shared {
name: "libclang_rt.scudo-x86_64-android",
defaults: ["libclang_rt.scudo-android-default"],
check_elf_files: false, // Bypass circular dependency between libc++
arch: {
x86_64: {
enabled: true,
},
},
}
///////////////////////////////////////////////////////////////////////////////
cc_defaults {
name: "libclang_rt.scudo-android.static-default",
defaults: ["libclang_rt-prebuilt-default"],
enabled: false,
vendor_available: true,
product_available: true,
ramdisk_available: false,
vendor_ramdisk_available: false,
sanitize: {
never: true,
},
}
libclang_rt_prebuilt_library_static {
name: "libclang_rt.scudo-arm-android.static",
defaults: ["libclang_rt.scudo-android.static-default"],
arch: {
arm: {
enabled: true,
},
},
}
libclang_rt_prebuilt_library_static {
name: "libclang_rt.scudo-aarch64-android.static",
defaults: ["libclang_rt.scudo-android.static-default"],
host_supported: true,
arch: {
arm64: {
enabled: true,
},
},
}
libclang_rt_prebuilt_library_static {
name: "libclang_rt.scudo-i686-android.static",
defaults: ["libclang_rt.scudo-android.static-default"],
arch: {
x86: {
enabled: true,
},
},
}
libclang_rt_prebuilt_library_static {
name: "libclang_rt.scudo-x86_64-android.static",
defaults: ["libclang_rt.scudo-android.static-default"],
arch: {
x86_64: {
enabled: true,
},
},
}
///////////////////////////////////////////////////////////////////////////////
cc_defaults {
name: "libclang_rt.scudo_minimal-android-default",
defaults: ["libclang_rt-prebuilt-default"],
sdk_version: "23",
enabled: false,
vendor_available: true,
product_available: true,
ramdisk_available: false,
vendor_ramdisk_available: false,
vndk: {
enabled: true,
},
shared_libs: ["libc", "libdl", "liblog"],
}
libclang_rt_prebuilt_library_shared {
name: "libclang_rt.scudo_minimal-arm-android",
defaults: ["libclang_rt.scudo_minimal-android-default"],
sdk_version: "24",
arch: {
arm: {
enabled: true,
},
},
}
libclang_rt_prebuilt_library_shared {
name: "libclang_rt.scudo_minimal-aarch64-android",
defaults: ["libclang_rt.scudo_minimal-android-default"],
host_supported: true,
arch: {
arm64: {
enabled: true,
},
},
}
libclang_rt_prebuilt_library_shared {
name: "libclang_rt.scudo_minimal-i686-android",
defaults: ["libclang_rt.scudo_minimal-android-default"],
arch: {
x86: {
enabled: true,
},
},
}
libclang_rt_prebuilt_library_shared {
name: "libclang_rt.scudo_minimal-x86_64-android",
defaults: ["libclang_rt.scudo_minimal-android-default"],
arch: {
x86_64: {
enabled: true,
},
},
}
///////////////////////////////////////////////////////////////////////////////
cc_defaults {
name: "libclang_rt.scudo_minimal-android.static-default",
defaults: ["libclang_rt-prebuilt-default"],
enabled: false,
vendor_available: true,
product_available: true,
ramdisk_available: false,
vendor_ramdisk_available: false,
sanitize: {
never: true,
},
}
libclang_rt_prebuilt_library_static {
name: "libclang_rt.scudo_minimal-arm-android.static",
defaults: ["libclang_rt.scudo_minimal-android.static-default"],
arch: {
arm: {
enabled: true,
},
},
}
libclang_rt_prebuilt_library_static {
name: "libclang_rt.scudo_minimal-aarch64-android.static",
defaults: ["libclang_rt.scudo_minimal-android.static-default"],
host_supported: true,
arch: {
arm64: {
enabled: true,
},
},
}
libclang_rt_prebuilt_library_static {
name: "libclang_rt.scudo_minimal-i686-android.static",
defaults: ["libclang_rt.scudo_minimal-android.static-default"],
arch: {
x86: {
enabled: true,
},
},
}
libclang_rt_prebuilt_library_static {
name: "libclang_rt.scudo_minimal-x86_64-android.static",
defaults: ["libclang_rt.scudo_minimal-android.static-default"],
arch: {
x86_64: {
enabled: true,
},
},
}
///////////////////////////////////////////////////////////////////////////////
cc_defaults {
name: "libunwind-android-default",
defaults: [
"libclang_rt-prebuilt-default",
"linux_bionic_supported",
],
sdk_version: "minimum",
recovery_available: true,
vendor_available: true,
product_available: true,
native_bridge_supported: true,
sanitize: {
never: true,
},
stl: "none",
// The unwinder needs functions from libc (and libdl), but libc.so links
// against libunwind*.a. Clear the system_shared_libs property so that Soong
// doesn't complain about the cyclic dependency.
system_shared_libs: [],
}
llvm_prebuilt_library_static {
name: "libunwind",
defaults: ["libunwind-android-default"],
}
llvm_prebuilt_library_static {
name: "libunwind-exported",
defaults: ["libunwind-android-default"],
// The libunwind-exported.a library is only intended for use with libc.so,
// which needs to export the unwinder API.
visibility: [
"//bionic:__subpackages__",
"//frameworks/libs/native_bridge_support/libc:__subpackages__",
],
}
// -----------------------------------------------------------------------------
// Export shared libraries for host tools (libLLVM, libclang, libc++). These
// are exported only when the LLVM_BUILD_HOST_TOOLS environment variable is set.
// -----------------------------------------------------------------------------
// Export LLVM_BUILD_HOST_TOOLS
llvm_host_defaults {
name: "llvm-build-host-tools-defaults",
}
// Export libLLVM shared library
llvm_host_prebuilt_library_shared {
name: "libLLVM_host",
sanitize: {
never: true,
},
compile_multilib: "64",
shared_libs: [
"libc++_host",
"libxml2_host",
],
}
llvm_host_prebuilt_library_shared {
name: "libxml2_host",
compile_multilib: "64",
sanitize: {
never: true,
},
}
// Export libclang_cxx shared library
llvm_host_prebuilt_library_shared {
name: "libclang_cxx_host",
sanitize: {
never: true,
},
compile_multilib: "64",
shared_libs: ["libc++_host"],
target: {
darwin: {
strip: {
none: true,
},
},
},
}
// Export libc++.so for the host LLVM tools
llvm_host_prebuilt_library_shared {
name: "libc++_host",
sanitize: {
never: true,
},
compile_multilib: "64",
target: {
darwin: {
shared_libs: ["libc++abi_host"],
},
},
}
// Export libc++abi.so for the host LLVM tools
llvm_host_prebuilt_library_shared {
name: "libc++abi_host",
sanitize: {
never: true,
},
compile_multilib: "64",
}
clang_builtin_headers {
name: "clang_builtin_headers_resources",
tool_files: ["soong/generate_clang_builtin_headers_resources.sh"],
out: ["clang_builtin_headers_resources.inc"],
}
subdirs = [
"soong",
]
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/aosp-riscv/platform-prebuilts-clang-host-linux-x86.git
git@gitee.com:aosp-riscv/platform-prebuilts-clang-host-linux-x86.git
aosp-riscv
platform-prebuilts-clang-host-linux-x86
platform-prebuilts-clang-host-linux-x86
riscv64-android-12.0.0_dev

搜索帮助