mozilla/pdf.js — pull request #1825 by saebekassebil (2012-06-15 21:42:48+00:00)
Title: Add support for building .crx file

This makes it possible for users/developers to assemble their own .crx files (chrome extension package). This will make it possible for us to automagically generate Chrome Extension with botio too, which will probably help finding regressions in Chrome.

Fixes: #1814

This PR extends the `node make chrome` target. If a `PDFJS_CHROME_KEY` environment variable is set (to a .pem file) and a proper `browser_manifest.json` file is found (with a correct path to the `chrome` executable). It will generate a file `build/chrome/pdf.js.crx` which is the packaged chrome extension.