Migrate Domain Registry to Closure Rules 0.1.0

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=122525197
This commit is contained in:
Justine Tunney 2016-05-17 08:11:52 -07:00
parent 1abd2a6314
commit e1cf51ebb3
43 changed files with 69 additions and 1871 deletions

View file

@ -33,8 +33,8 @@ public final class RegistryTestServer {
.put("/error.html", Paths.get("java/google/registry/ui/html/error.html"))
.put("/assets/js/*", Paths.get("java/google/registry/ui"))
.put("/assets/css/*", Paths.get("java/google/registry/ui/css"))
.put("/assets/sources/deps-runfiles.js",
Paths.get("java/google/registry/ui/deps-runfiles.js"))
.put("/assets/sources/deps.js",
Paths.get("java/google/registry/ui/deps.js"))
.put("/assets/sources/*", Paths.get(""))
.put("/assets/*", Paths.get("java/google/registry/ui/assets"))
.build();

View file

@ -5,14 +5,16 @@ package(
licenses(["notice"]) # Apache 2.0
load("//third_party/closure/compiler:closure_js_library.bzl", "closure_js_library")
load("//third_party/closure/testing:closure_js_test.bzl", "closure_js_test")
load("@io_bazel_rules_closure//closure:defs.bzl", "closure_js_library", "closure_js_test")
closure_js_library(
name = "testing",
srcs = ["testing.js"],
deps = ["//javascript/closure"],
deps = [
"//javascript/closure",
"//javascript/closure:testing",
],
)
closure_js_test(

View file

@ -5,8 +5,7 @@ package(
licenses(["notice"]) # Apache 2.0
load("//third_party/closure/compiler:closure_js_library.bzl", "closure_js_library")
load("//third_party/closure/testing:closure_js_test.bzl", "closure_js_test")
load("@io_bazel_rules_closure//closure:defs.bzl", "closure_js_library", "closure_js_test")
closure_js_library(
@ -14,6 +13,7 @@ closure_js_library(
srcs = ["console_test_util.js"],
deps = [
"//javascript/closure",
"//javascript/closure:testing",
"//java/google/registry/ui/js",
"//java/google/registry/ui/js/registrar",
],