Split libraries by language in cc_library_static
Note that this does not appropriately implement asm/c srcs and flags for
either the shared variant or the static variant. This will require a
followup.
Test: bp2build.sh and mixed_libc.sh CI scripts
Test: Updated b2build tests
Change-Id: I2b47e6b55aefc19f36c843497e6e01208b5b85af
diff --git a/common.bazelrc b/common.bazelrc
index d63617e..be72eb8 100644
--- a/common.bazelrc
+++ b/common.bazelrc
@@ -15,8 +15,9 @@
# Explicitly allow unresolved symlinks (it's an experimental Bazel feature)
build --experimental_allow_unresolved_symlinks
-# Enable usage of cc_shared_library build APIs
+# Enable usage of experimental cc-related build APIs
build --experimental_cc_shared_library
+build --experimental_starlark_cc_import
# Do not tokenize copts, other than strings that consist of a single Make
# variable. This prevents the need to double-escape characters like backslashes