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 # TODO: remove with bazel 7.x
common --enable_bzlmod common --enable_bzlmod
# TODO: remove once bazel flips this flag
common --incompatible_disallow_empty_glob
coverage --experimental_ui_max_stdouterr_bytes=10485760 coverage --experimental_ui_max_stdouterr_bytes=10485760

View File

@@ -100,10 +100,6 @@ objc_library(
# Common headers between objc and objcpp libraries. # Common headers between objc and objcpp libraries.
objc_library( objc_library(
name = "objc-headers", name = "objc-headers",
srcs = glob([
"darwin/src/*.h",
"ios/src/*.h",
]),
includes = [ includes = [
"darwin/src", "darwin/src",
"ios/src", "ios/src",
@@ -203,9 +199,6 @@ objc_library(
"//platform/darwin:app/LimeGreenStyleLayer.m", "//platform/darwin:app/LimeGreenStyleLayer.m",
], ],
}), }),
data = glob([
"app/Assets.xcassets/**",
]),
defines = ["GLES_SILENCE_DEPRECATION"], defines = ["GLES_SILENCE_DEPRECATION"],
includes = [ includes = [
"darwin/app", "darwin/app",

View File

@@ -24,11 +24,10 @@ filegroup(
filegroup( filegroup(
name = "bundle_resources", name = "bundle_resources",
srcs = glob([ srcs = glob([
"benchmark/*.lproj/**", "*.lproj/**",
"benchmark/Assets.xcassets/**", "Assets.xcassets/**",
"benchmark/assets/**/*.pbf", "assets/**/*.json",
"benchmark/assets/**/*.json", "assets/**/*.png",
"benchmark/assets/**/*.png",
]), ]),
visibility = ["//platform/ios:__pkg__"], visibility = ["//platform/ios:__pkg__"],
) )