Bazel: Support in gerrit tree eclipse project generation

Javamelody plugin dependencies must be deployed to gerrit site's lib
directory (due to interception of database activity). For this reason
the plugin itself doesn't depend on Javamelody dependencies, to avoid
double deployment.

As the consequence, Eclipse project generation is broken, because these
dependencies are missing. To rectify, use recently introduced test deps
constants in tools/bzl/plugins.bzl.

Test Plan:

* Build the plugin in gerrit tree
* Generate Eclipse project with:

  $ tools/eclips/project.py

* Confirm that plugin's dependencies included in .classpath:

  $ grep javamelody-core .classpath  | wc -l
  1

Change-Id: Idd991e857e897c0a9e26da05812fe5a1c14848db
2 files changed
tree: 51341786c844122e5552347b0784ff6e94add946
  1. src/
  2. .gitignore
  3. BUILD
  4. external_plugin_deps.bzl
  5. LICENSE