diff options
author | Carmi Grushko <carmi@google.com> | 2016-07-20 22:09:40 +0000 |
---|---|---|
committer | John Cater <jcater@google.com> | 2016-07-21 20:35:02 +0000 |
commit | 8cd68895eb4fd4719cc2d68d523db9e2cfc07c49 (patch) | |
tree | 5d6ae2c8351c327244f843366171334fcd90ce8a /third_party | |
parent | 5bbc7a4f1747138205fc67a45a3af547b027f984 (diff) |
Prepare JavaBuilder to accept an Aspect's name, in addition to a label, of the owner of a jar.
The motivation is strict-deps checking for Aspected rules such as java_proto_library. With this additional information, JavaBuilder will be able to better tell the user which rule is missing in the 'deps' attribute of the target being built.
Note that the AspectParameters aren't passed right now, because (1) serializing them adds complexity and (2) they're unneeded for JavaBuilder right now.
--
MOS_MIGRATED_REVID=127993845
Diffstat (limited to 'third_party')
-rw-r--r-- | third_party/BUILD | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/third_party/BUILD b/third_party/BUILD index 87c45bfdb4..bedcb021f5 100644 --- a/third_party/BUILD +++ b/third_party/BUILD @@ -220,6 +220,12 @@ java_import( jars = ["auto/auto-value-1.2.jar"], ) +# For bootstrapping JavaBuilder +filegroup( + name = "auto_value-jars", + srcs = ["auto/auto-value-1.2.jar"], +) + java_library( name = "dagger", exported_plugins = [":dagger_plugin"], |