platform_build_soong/Android.bp
Liz Kammer 718eb27f5b Delete toolchain_library
Test: m && ci
Change-Id: Iab5267e02e3559431d980c70a58b49c2b8b4e6de
2022-01-14 12:52:59 -05:00

114 lines
2.1 KiB
Text

package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
subdirs = [
"androidmk",
"bpfix",
"cmd/*",
"fs",
"finder",
"jar",
"zip",
"third_party/zip",
"ui/*",
]
bootstrap_go_package {
name: "soong",
pkgPath: "android/soong",
deps: [
"blueprint",
],
srcs: [
"doc.go",
],
}
//
// Defaults to enable various configurations of host bionic
//
cc_defaults {
name: "linux_bionic_supported",
host_supported: true,
target: {
host: {
enabled: false,
},
linux_bionic: {
enabled: true,
},
},
}
//
// C static libraries extracted from the gcc toolchain
//
kernel_headers {
name: "device_kernel_headers",
vendor: true,
recovery_available: true,
}
cc_genrule {
name: "host_bionic_linker_asm",
host_supported: true,
device_supported: false,
target: {
linux_bionic: {
enabled: true,
},
linux_glibc: {
enabled: false,
},
darwin: {
enabled: false,
},
},
tools: ["extract_linker"],
cmd: "$(location) -s $(out) $(in)",
srcs: [":linker"],
out: ["linker.s"],
}
cc_genrule {
name: "host_bionic_linker_script",
host_supported: true,
device_supported: false,
target: {
linux_bionic: {
enabled: true,
},
linux_glibc: {
enabled: false,
},
darwin: {
enabled: false,
},
},
tools: ["extract_linker"],
cmd: "$(location) -T $(out) $(in)",
srcs: [":linker"],
out: ["linker.script"],
}
// Instantiate the dex_bootjars singleton module.
dex_bootjars {
name: "dex_bootjars",
}
// Pseudo-test that's run on checkbuilds to ensure that get_clang_version can
// parse cc/config/global.go.
genrule {
name: "get_clang_version_test",
cmd: "$(location get_clang_version) > $(out)",
tools: ["get_clang_version"],
srcs: ["cc/config/global.go"],
out: ["clang-prebuilts-version.txt"],
}
dexpreopt_systemserver_check {
name: "dexpreopt_systemserver_check",
}