From 4060fb9c22eef2a608609442772875c340bfc878 Mon Sep 17 00:00:00 2001 From: Marshall Greenblatt Date: Tue, 13 May 2025 18:30:37 -0400 Subject: [PATCH] bazel: Remove support for angle bracket includes Fixes the following error: fail: attribute includes: './' resolves to the workspace root, which would allow this rule and all of its transitive dependents to include any file in your workspace. Please include only what you need. Bazel's recommendation [1] is to use double quotes instead of angle brackets. [1] https://bazel.build/docs/bazel-and-cpp#include-paths --- tools/distrib/bazel/BUILD.bazel | 2 -- 1 file changed, 2 deletions(-) diff --git a/tools/distrib/bazel/BUILD.bazel b/tools/distrib/bazel/BUILD.bazel index 070a3adea..91399901a 100755 --- a/tools/distrib/bazel/BUILD.bazel +++ b/tools/distrib/bazel/BUILD.bazel @@ -151,8 +151,6 @@ declare_cc_library( "@platforms//os:windows": [":cef"], "//conditions:default": None, }), - # Support includes. - includes = ["./"], ) # Only available on MacOS/Windows.