Removed forced text color to work with Gerrit dark mode Change-Id: I8b053190880b9cacf5f2c2fb8c24bcb6ab1ae4b0
1 file changed
tree: 3a5ea6a09227c2d170b0898c8dc697c628264a4a
  1. java/
  2. static/
  3. test/
  4. .eslintrc.json
  5. .gitignore
  6. bower.json
  7. BUILD
  8. codereview.settings
  9. LICENSE
  10. README.md
  11. run-with-prod-data.sh
  12. run-with-testsite.sh
  13. wct.conf.json
README.md

Chromium Binary Size Plugin for Gerrit

How it works

The plugin queries the android-binary-size trybot for the current patchset on Gerrit, and gets the binary_size_plugin property. This property contains the metadata about the binary size metrics affected by the patchset in question. It then shows an inline table with the metric deltas + links to SuperSize output.

Usage

This plugin uses no config files since it only works with the android-binary-size trybot which only runs on the chromium repo CQ making this not compatible with any other host. If you want this to work on a different host, talk to the binary-size@chromium.org team.

Development

git clone --recursive https://gerrit.googlesource.com/gerrit cd gerrit/plugins git clone https://chromium.googlesource.com/infra/gerrit-plugins/chromium-binary-size cd chromium-binary-size 

Run the polygerrit-ui server against live data

Use the script run-with-prod-data.sh (based on polygerrit-ui/run-server.sh). You may change some paths by setting environment variables, for example:

GERRIT_DIR="$HOME/gerrit" ./run-with-prod-data.sh 

Testing

# Install dependencies. npm install -g bower npm install -g web-component-tester bower install wct