commit | 472d83980975a755c685e52bb642558fb955e3d5 | [log] [tgz] |
---|---|---|
author | Ray Milkey <ray@opennetworking.org> | Wed May 23 17:06:51 2018 -0700 |
committer | Ray Milkey <ray@opennetworking.org> | Tue May 29 21:26:37 2018 +0000 |
tree | 44febd97da4838c41a5d6461127a310dc16925f4 | |
parent | fbcd2943a57f0fa26b66f215dbd813b6097183d1 [diff] [blame] |
Start bazel support for protobuf models and p4runtime build Change-Id: Ib3beb70c1b401854444b106b4af3723cd40635e4
diff --git a/tools/build/bazel/osgi-java-library.bzl b/tools/build/bazel/osgi-java-library.bzl index e47c3d7..c3ed9b3 100644 --- a/tools/build/bazel/osgi-java-library.bzl +++ b/tools/build/bazel/osgi-java-library.bzl
@@ -36,6 +36,9 @@ # determine the dependencies and build the class path for dep in ctx.attr.deps: + if len(dep.java.outputs.jars) == 0: + continue + file = dep.java.outputs.jars[0].class_jar if cp: