Fix BUILD glob rules to not include non-wildcarded paths

This is a Buildozer warning

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=202311866
This commit is contained in:
mcilwain 2018-06-27 08:18:28 -07:00 committed by Ben McIlwain
parent 0cd69c9352
commit bee3d6a5a4
2 changed files with 3 additions and 4 deletions

View file

@ -8,8 +8,7 @@ java_library(
name = "model", name = "model",
srcs = glob([ srcs = glob([
"*.java", "*.java",
"*/*.java", "**/*.java",
"*/*/*.java",
]), ]),
visibility = ["//visibility:public"], visibility = ["//visibility:public"],
deps = [ deps = [

View file

@ -10,10 +10,10 @@ load("//java/com/google/testing/builddefs:GenTestRules.bzl", "GenTestRules")
java_library( java_library(
name = "export", name = "export",
srcs = glob(["*.java"]), srcs = glob(["*.java"]),
resources = glob([ resources = [
"backup_kinds.txt", "backup_kinds.txt",
"reporting_kinds.txt", "reporting_kinds.txt",
]), ],
deps = [ deps = [
"//java/google/registry/bigquery", "//java/google/registry/bigquery",
"//java/google/registry/config", "//java/google/registry/config",