google-nomulus/third_party/java/auto/BUILD
jart a063508b5b Make bazel build fully hermetic
We no longer reference @bazel_tools//third_party. All of our transitive
dependencies are now specified explicitly in our WORKSPACE file.

I also fixed the way that jar dependencies are exported, so we don't
break strict dependency checking.
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=116421176
2016-03-04 21:13:06 -05:00

61 lines
1.4 KiB
Text

package(default_visibility = ["//visibility:public"])
licenses(["notice"]) # Apache License 2.0
java_library(
name = "auto_common",
exports = ["@auto_common//jar"],
)
java_library(
name = "auto_factory",
exported_plugins = [":auto_factory_plugin"],
exports = ["@auto_factory//jar"],
)
java_library(
name = "auto_service",
exported_plugins = [":auto_service_plugin"],
exports = ["@auto_service//jar"],
)
java_library(
name = "auto_value",
exported_plugins = [":auto_value_plugin"],
exports = ["@auto_value//jar"],
)
java_plugin(
name = "auto_factory_plugin",
processor_class = "com.google.auto.factory.processor.AutoFactoryProcessor",
visibility = ["//visibility:private"],
deps = [
"@auto_factory//jar",
"@guava//jar",
"@javawriter//jar",
":auto_common",
],
)
java_plugin(
name = "auto_service_plugin",
processor_class = "com.google.auto.service.processor.AutoServiceProcessor",
visibility = ["//visibility:private"],
deps = [
"@auto_service//jar",
"@guava//jar",
":auto_common",
],
)
java_plugin(
name = "auto_value_plugin",
processor_class = "com.google.auto.value.processor.AutoValueProcessor",
visibility = ["//visibility:private"],
deps = [
"@auto_value//jar",
"@guava//jar",
":auto_common",
"//third_party/java/jsr305_annotations",
],
)