bf61afb7f7
This CL exports common/global/device/host clang/ld/ldd flags from their Ninja variable initialization locations in cc/config/global.go and cc/config/clang.go to make Bazel's cc_toolchain and Soong's cc actions more consistent with each other. This does not handle env-dependent or arch-specific toolchain flags yet (logic in compiler.go and linker.go). Test: TH Bug: 187086342 Bug: 187084737 Bug: 186628704 Bug: 187857770 Change-Id: Ie403d7cd23f35160897b9dd902c799cbf1bd7f0c
38 lines
792 B
Text
38 lines
792 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",
|
|
],
|
|
srcs: [
|
|
"bp2build.go",
|
|
"clang.go",
|
|
"global.go",
|
|
"tidy.go",
|
|
"toolchain.go",
|
|
"vndk.go",
|
|
|
|
"arm_device.go",
|
|
"arm64_device.go",
|
|
"arm64_fuchsia_device.go",
|
|
"x86_device.go",
|
|
"x86_64_device.go",
|
|
"x86_64_fuchsia_device.go",
|
|
|
|
"x86_darwin_host.go",
|
|
"x86_linux_host.go",
|
|
"x86_linux_bionic_host.go",
|
|
"x86_windows_host.go",
|
|
|
|
"arm64_linux_host.go",
|
|
],
|
|
testSrcs: [
|
|
"bp2build_test.go",
|
|
"tidy_test.go",
|
|
],
|
|
}
|