Create bp2build converter for cc_shared_library
Factor out shareable code with cc_static_library Remove `Linkstatic` field for shared cases, because it's redundant with the rule Bug: 198241907 Test: cc_library_shared_conversion_test.go Test: mixed_{libc,droid}.sh Change-Id: I5be3b66f812893bce41edb425fbd143ab22d9051
This commit is contained in:
parent
a5474e36c5
commit
ac5097fcf4
@@ -212,6 +212,13 @@ var (
|
||||
"libc_ndk", // http://b/187013218, cc_library_static, depends on //bionic/libm:libm (http://b/183064661)
|
||||
"libc_malloc_hooks", // http://b/187016307, cc_library, ld.lld: error: undefined symbol: __malloc_hook
|
||||
|
||||
// There are unexported symbols that don't surface on a shared library build,
|
||||
// from the source static archive
|
||||
// e.g. _Unwind_{GetRegionStart,GetLanguageSpecificData,GetIP,Set{IP,GR},Resume,{Raise,Delete}Exception}, pthread_atfork
|
||||
// ... from: cxa_{personality,exception}.o, system_error.o, wrappers_c_bionic.o
|
||||
// cf. http://b/198403271
|
||||
"libc++",
|
||||
|
||||
// http://b/186823769: Needs C++ STL support, includes from unconverted standard libraries in //external/libcxx
|
||||
// c++_static
|
||||
"libbase_ndk", // http://b/186826477, cc_library, no such target '//build/bazel/platforms/os:darwin' when --platforms //build/bazel/platforms:android_x86 is added
|
||||
@@ -223,6 +230,8 @@ var (
|
||||
"libbase", // Requires liblog. http://b/186826479, cc_library, fatal error: 'memory' file not found, from libcxx.
|
||||
// Also depends on fmtlib.
|
||||
|
||||
"libfdtrack", // depends on STL
|
||||
|
||||
"libseccomp_policy", // depends on libbase
|
||||
|
||||
"gwp_asan_crash_handler", // cc_library, ld.lld: error: undefined symbol: memset
|
||||
|
Reference in New Issue
Block a user