Upgrade Nomulus to latest Closure Rules

Significant technical debt has been eliminated. The latest best
practices are also now adopted for dealing with runfiles and dealing
with files across repositories.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=140762937
This commit is contained in:
jart 2016-12-01 12:33:53 -08:00 committed by Ben McIlwain
parent 79a72387ee
commit 59f4984083
28 changed files with 193 additions and 361 deletions

View file

@ -6,17 +6,15 @@ licenses(["notice"]) # Apache 2.0
load("@io_bazel_rules_closure//closure:defs.bzl", "closure_js_library")
filegroup(
name = "js_files",
srcs = glob(["*.js"]),
)
closure_js_library(
name = "js",
srcs = [":js_files"],
srcs = glob(["*.js"]),
suppress = [
"JSC_UNKNOWN_EXPR_TYPE",
"JSC_IMPLICITLY_NULLABLE_JSDOC",
],
deps = [
"//java/google/registry/ui/soy:Console",
"//java/google/registry/ui/soy:Forms",
"//javascript/closure",
"//java/google/registry/ui/soy",
"@io_bazel_rules_closure//closure/library",
],
)