From 428b179b6ae477c1784434b89a0034bf4acc6f8b Mon Sep 17 00:00:00 2001 From: Cole Faust Date: Fri, 10 Nov 2023 11:41:46 -0800 Subject: Enable scl dialect in bazel Some starlark files are shared between bazel and make/soong, and in make/soong they can't have any bazel-specific features, so they should be scl files. Bug: 309686282 Test: b test //build/bazel/utils/... Change-Id: I57b3f71f63ad89a435de73ab1ab5bbfb2a913157 --- common.bazelrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/common.bazelrc b/common.bazelrc index 6d6d60c8..67ac32eb 100644 --- a/common.bazelrc +++ b/common.bazelrc @@ -17,6 +17,9 @@ build --experimental_strict_action_env # Explicitly allow unresolved symlinks (it's an experimental Bazel feature) build --experimental_allow_unresolved_symlinks +# Enable SCL because some files are shared between bazel and make/soong +common --experimental_enable_scl_dialect + # Enable usage of experimental cc-related build APIs common --experimental_cc_shared_library build --experimental_starlark_cc_import -- cgit v1.2.3