From aa34ecd3c347c8a3273180aa8ec5c74307983e7c Mon Sep 17 00:00:00 2001 From: Chris Sauer Date: Wed, 13 Dec 2023 15:56:20 -0800 Subject: [PATCH 1/3] Delete .bazelrc now that Bazel 7 is released bzlmod is now enabled by default. Follows up on #412 :) --- .bazelrc | 2 -- 1 file changed, 2 deletions(-) delete mode 100644 .bazelrc diff --git a/.bazelrc b/.bazelrc deleted file mode 100644 index 0a5a1bd..0000000 --- a/.bazelrc +++ /dev/null @@ -1,2 +0,0 @@ -# Remove after Bazel 7.0 is released and bzlmod is enabled by default -common --enable_bzlmod From 934eca350a3b6b2ce88e86b5be04f513682aca58 Mon Sep 17 00:00:00 2001 From: Chris Sauer Date: Wed, 13 Dec 2023 19:39:54 -0800 Subject: [PATCH 2/3] Workaround Bazel 7 issue https://github.com/bazelbuild/bazel/issues/20537 --- MODULE.bazel | 3 +++ 1 file changed, 3 insertions(+) diff --git a/MODULE.bazel b/MODULE.bazel index e8a192c..677bb7f 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -5,3 +5,6 @@ module( ) bazel_dep(name = "rules_apple", version = "3.1.1", repo_name = "build_bazel_rules_apple") + +# Workaround https://github.com/bazelbuild/bazel/issues/20537 +bazel_dep(name = "apple_support", version = "1.11.1", repo_name = "build_bazel_apple_support") From 07398df4b73cf6ce426dc22542c621c90e8e73df Mon Sep 17 00:00:00 2001 From: Chris Sauer Date: Wed, 13 Dec 2023 19:45:35 -0800 Subject: [PATCH 3/3] Remove `includes = ["."]`, disallowed in newer bazel versions --- BUILD | 1 - 1 file changed, 1 deletion(-) diff --git a/BUILD b/BUILD index f3e4aab..448109b 100644 --- a/BUILD +++ b/BUILD @@ -4,7 +4,6 @@ load("@build_bazel_rules_apple//apple:macos.bzl", "macos_build_test") objc_library( name = "Defines", hdrs = ["GTMDefines.h"], - includes = ["."], visibility = ["//visibility:public"], )