diff options
author | 2015-06-30 20:33:56 +0000 | |
---|---|---|
committer | 2015-07-01 09:14:34 +0000 | |
commit | c057d47e9b81385889b7989ddc6dcccf076e4231 (patch) | |
tree | 54ca3e68391d786683df6bbd61cc5699afaf57cb | |
parent | e905ec3b99dd98c2c99929a6cda0b99cca328c24 (diff) |
Add a CSS library target for Closure Library CSS files.
--
MOS_MIGRATED_REVID=97258889
-rw-r--r-- | tools/build_rules/closure/README.md | 1 | ||||
-rw-r--r-- | tools/build_rules/closure/closure_library.BUILD | 7 |
2 files changed, 8 insertions, 0 deletions
diff --git a/tools/build_rules/closure/README.md b/tools/build_rules/closure/README.md index 8bec9cd408..a47ac41995 100644 --- a/tools/build_rules/closure/README.md +++ b/tools/build_rules/closure/README.md @@ -108,6 +108,7 @@ closure_js_library( closure_stylesheet_library( name = "hello_css", srcs = ["hello.gss"], + deps = ["@closure_library//:closure_library_css"], ) closure_template_library( diff --git a/tools/build_rules/closure/closure_library.BUILD b/tools/build_rules/closure/closure_library.BUILD index 82e9ba3d36..543b56d243 100644 --- a/tools/build_rules/closure/closure_library.BUILD +++ b/tools/build_rules/closure/closure_library.BUILD @@ -13,6 +13,7 @@ # limitations under the License. load("/tools/build_rules/closure/closure_js_library", "closure_js_library") +load("/tools/build_rules/closure/closure_stylesheet_library", "closure_stylesheet_library") closure_js_library( name = "closure_library", @@ -28,3 +29,9 @@ closure_js_library( ), visibility = ["//visibility:public"], ) + +closure_stylesheet_library( + name = "closure_library_css", + srcs = glob(["closure/goog/css/**/*.css"]), + visibility = ["//visibility:public"], +) |