7f88956c16
Most of the variable export code for cc modules can be re-used for exporting variables for java modules. Refactor this code into a more composable structure for reuse. Test: build/bazel/bp2build.sh Test: manual comparison of out/soong/soong_injection/cc_toolchain/constants.bzl with previous output Change-Id: Ie5a6fee08cc888b7dc69c3e324e5c3f8aa269a8f
37 lines
721 B
Text
37 lines
721 B
Text
package {
|
|
default_applicable_licenses: ["Android-Apache-2.0"],
|
|
}
|
|
|
|
bootstrap_go_package {
|
|
name: "soong-cc-config",
|
|
pkgPath: "android/soong/cc/config",
|
|
deps: [
|
|
"soong-android",
|
|
"soong-remoteexec",
|
|
"soong-starlark-format",
|
|
],
|
|
srcs: [
|
|
"clang.go",
|
|
"global.go",
|
|
"tidy.go",
|
|
"toolchain.go",
|
|
"vndk.go",
|
|
|
|
"bionic.go",
|
|
|
|
"arm_device.go",
|
|
"arm64_device.go",
|
|
"x86_device.go",
|
|
"x86_64_device.go",
|
|
|
|
"darwin_host.go",
|
|
"x86_linux_host.go",
|
|
"x86_linux_bionic_host.go",
|
|
"x86_windows_host.go",
|
|
|
|
"arm64_linux_host.go",
|
|
],
|
|
testSrcs: [
|
|
"tidy_test.go",
|
|
],
|
|
}
|