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-06 11:52:46 -05:00
committed by Ben McIlwain
parent 79a72387ee
commit 59f4984083
28 changed files with 193 additions and 361 deletions
+4 -18
View File
@@ -6,12 +6,10 @@ licenses(["notice"]) # Apache 2.0
load("@io_bazel_rules_closure//closure:defs.bzl", "closure_java_template_library", "closure_js_template_library")
filegroup(
name = "js_files",
srcs = [
"Console.soy.js",
"Forms.soy.js",
],
closure_js_template_library(
name = "soy",
srcs = glob(["*.soy"]),
globals = "//java/google/registry/ui:globals.txt",
)
closure_java_template_library(
@@ -19,15 +17,3 @@ closure_java_template_library(
srcs = glob(["*.soy"]),
java_package = "google.registry.ui.soy",
)
closure_js_template_library(
name = "Console",
srcs = ["Console.soy"],
globals = "//java/google/registry/ui:globals.txt",
)
closure_js_template_library(
name = "Forms",
srcs = ["Forms.soy"],
globals = "//java/google/registry/ui:globals.txt",
)