Fix eclipse project generation

In I8f99133eb00 rules_closure dependency was removed, and as the
consequence the dependency on protobuf library was replaced. Adapt the
tools/eclipse/project.py script to reflect this change.

Change-Id: Ie2858233e8df725bef22856f9e606ceb49f17da2
This commit is contained in:
David Ostrovsky
2020-07-05 10:59:54 +02:00
parent 7f3e3126ad
commit 6e164283fa

View File

@@ -240,7 +240,8 @@ def gen_classpath(ext):
# Exceptions: both source and lib
if p.endswith('libquery_parser.jar') or \
p.endswith('libgerrit-prolog-common.jar') or \
p.endswith('com_google_protobuf/libprotobuf_java.jar') or \
p.endswith('external/com_google_protobuf/java/core/libcore.jar') or \
p.endswith('external/com_google_protobuf/java/core/liblite.jar') or \
p.endswith('lucene-core-and-backward-codecs-merged_deploy.jar'):
lib.add(p)
if proto_library.match(p) :