bp2build: export some cc toolchain flags into Starlark.
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
This commit is contained in:
@@ -207,7 +207,7 @@ var (
|
||||
"libc_jemalloc_wrapper", // http://b/187012490, cc_library_static, depends on //external/jemalloc_new:libjemalloc5 (http://b/186828626)
|
||||
"libc_ndk", // http://b/187013218, cc_library_static, depends on //bionic/libm:libm (http://b/183064661)
|
||||
"libc", // http://b/183064430, cc_library, depends on //external/jemalloc_new:libjemalloc5 (http://b/186828626)
|
||||
"libc_bionic_ndk", // http://b/186822256, cc_library_static, signal.cpp:186:52: error: ISO C++ requires field designators to be specified in declaration order
|
||||
"libc_bionic_ndk", // http://b/186822256, cc_library_static, fatal error: 'generated_android_ids.h' file not found
|
||||
"libc_malloc_hooks", // http://b/187016307, cc_library, ld.lld: error: undefined symbol: __malloc_hook
|
||||
"libm", // http://b/183064661, cc_library, math.h:25:16: error: unexpected token in argument list
|
||||
|
||||
|
Reference in New Issue
Block a user