Skip to content

Commit

Permalink
Enable incompatible_disallow_empty_glob (#2014)
Browse files Browse the repository at this point in the history
  • Loading branch information
keith authored Jan 15, 2024
1 parent dec1df4 commit 29c16a4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 12 deletions.
3 changes: 3 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# TODO: remove with bazel 7.x
common --enable_bzlmod

# TODO: remove once bazel flips this flag
common --incompatible_disallow_empty_glob

coverage --experimental_ui_max_stdouterr_bytes=10485760
7 changes: 0 additions & 7 deletions platform/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,6 @@ objc_library(
# Common headers between objc and objcpp libraries.
objc_library(
name = "objc-headers",
srcs = glob([
"darwin/src/*.h",
"ios/src/*.h",
]),
includes = [
"darwin/src",
"ios/src",
Expand Down Expand Up @@ -203,9 +199,6 @@ objc_library(
"//platform/darwin:app/LimeGreenStyleLayer.m",
],
}),
data = glob([
"app/Assets.xcassets/**",
]),
defines = ["GLES_SILENCE_DEPRECATION"],
includes = [
"darwin/app",
Expand Down
9 changes: 4 additions & 5 deletions platform/ios/benchmark/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,10 @@ filegroup(
filegroup(
name = "bundle_resources",
srcs = glob([
"benchmark/*.lproj/**",
"benchmark/Assets.xcassets/**",
"benchmark/assets/**/*.pbf",
"benchmark/assets/**/*.json",
"benchmark/assets/**/*.png",
"*.lproj/**",
"Assets.xcassets/**",
"assets/**/*.json",
"assets/**/*.png",
]),
visibility = ["//platform/ios:__pkg__"],
)
Expand Down

0 comments on commit 29c16a4

Please sign in to comment.