aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/build_rules/closure/BUILD
diff options
context:
space:
mode:
authorGravatar Kamil Jiwa <kjiwa@google.com>2015-06-19 15:46:18 +0000
committerGravatar Laszlo Csomor <laszlocsomor@google.com>2015-06-23 08:58:00 +0000
commit2aecb77180144db1d47e886f332644302c3ef811 (patch)
tree29a66dd2d6b6c97e95c2e74ccb7b0507fa77836f /tools/build_rules/closure/BUILD
parente5b878debcf3237ad944dec08bdf8ff676b19f76 (diff)
Add Closure JS rules to Bazel.
-- MOS_MIGRATED_REVID=96406988
Diffstat (limited to 'tools/build_rules/closure/BUILD')
-rw-r--r--tools/build_rules/closure/BUILD20
1 files changed, 20 insertions, 0 deletions
diff --git a/tools/build_rules/closure/BUILD b/tools/build_rules/closure/BUILD
new file mode 100644
index 0000000000..6ae9538e70
--- /dev/null
+++ b/tools/build_rules/closure/BUILD
@@ -0,0 +1,20 @@
+# Copyright 2015 Google Inc. All Rights Reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+java_binary(
+ name = "closure_stylesheets",
+ main_class = "com.google.common.css.compiler.commandline.ClosureCommandLineCompiler",
+ visibility = ["//visibility:public"],
+ runtime_deps = ["@closure_stylesheets//jar"],
+)