Merge pull request #12652 from calixteman/quickjs_followup

Add a README about quickjs-eval.js file (build and license)
This commit is contained in:
Tim van der Meij 2020-11-25 21:58:03 +01:00 committed by GitHub
commit e072f1db6b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

11
external/quickjs/README.md vendored Normal file
View File

@ -0,0 +1,11 @@
## Build
In order to generate the file `quickjs-eval.js`:
* git clone https://github.com/mozilla/pdf.js.quickjs/
* the build requires to have a [Docker](https://www.docker.com/) setup and then:
* `node build.js -C` to build the Docker image
* `node build.js -co /pdf.js/external/quickjs/` to compile the sandbox
## Licensing
[Quickjs](https://bellard.org/quickjs/) and [pdf.js.quickjs](https://github.com/mozilla/pdf.js.quickjs/) are released under [MIT](https://opensource.org/licenses/MIT) license so `quickjs-eval.js` is released under [MIT](https://opensource.org/licenses/MIT) license too.