Enable incompatible_disallow_empty_glob (#2014)

This commit is contained in:
Keith Smiley
2024-01-15 03:12:42 -05:00
committed by GitHub
parent dec1df4462
commit 29c16a4a81
3 changed files with 7 additions and 12 deletions

View File

@@ -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

View File

@@ -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",
@@ -203,9 +199,6 @@ objc_library(
"//platform/darwin:app/LimeGreenStyleLayer.m",
],
}),
data = glob([
"app/Assets.xcassets/**",
]),
defines = ["GLES_SILENCE_DEPRECATION"],
includes = [
"darwin/app",

View File

@@ -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__"],
)