Name: dom-distiller-js
URL: https://github.com/chromium/dom-distiller
Version: 36c7178512
License: BSD
License File: LICENSE
Security Critical: yes
Shipped: yes
Description:
Dom Distiller is a java library that extracts article content from a web page.
It is compiled to javascript with GWT.
Requirements for updating:
- ant
- OpenJDK 8
Updating:
From the root of a Chrome checkout, run something like:
PATH=$PWD/out/release:$PATH \
PYTHONPATH=$PWD/third_party/protobuf/python:$PWD/out/release/pyproto \
JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 \
third_party/dom_distiller_js/update_domdistiller_js.sh
This should ensure that the update script:
- uses the protoc and protobuf Python libraries from //third_party/protobuf
to avoid errors like "ImportError: No module named protobuf.descriptor_pb2"
- uses OpenJDK 8 since GWT does not support newer Java versions.
Local Modifications: None