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

@ -4,12 +4,7 @@ package(
licenses(["notice"]) # Apache 2.0
load("@io_bazel_rules_closure//closure:defs.bzl", "closure_css_library", "closure_css_binary")
filegroup(
name = "css_files",
srcs = glob(["*.css"]),
)
load("@io_bazel_rules_closure//closure:defs.bzl", "closure_css_binary", "closure_css_library")
closure_css_library(
name = "kd_components_lib",
@ -23,7 +18,9 @@ closure_css_library(
"forms.css",
"registry.css",
],
deps = [":kd_components_lib"],
deps = [
":kd_components_lib",
],
)
closure_css_library(
@ -49,3 +46,9 @@ closure_css_binary(
debug = 1,
deps = [":registrar_lib"],
)
closure_css_library(
name = "registrar_raw",
srcs = ["registrar_imports_raw.css"],
deps = [":registrar_lib"],
)