Chrome Release Bot (LUCI) 4762b62e7d Publish DEPS for 106.0.5249.13 1 year ago
..
protoc_plugins 4762b62e7d Publish DEPS for 106.0.5249.13 1 year ago
BUILD.gn 4762b62e7d Publish DEPS for 106.0.5249.13 1 year ago
DIR_METADATA 4762b62e7d Publish DEPS for 106.0.5249.13 1 year ago
LICENSE 4762b62e7d Publish DEPS for 106.0.5249.13 1 year ago
OWNERS 4762b62e7d Publish DEPS for 106.0.5249.13 1 year ago
README.chromium 4762b62e7d Publish DEPS for 106.0.5249.13 1 year ago
test_sample.proto 4762b62e7d Publish DEPS for 106.0.5249.13 1 year ago
test_sample_json_converter.h.golden 4762b62e7d Publish DEPS for 106.0.5249.13 1 year ago
update_domdistiller_js.sh 4762b62e7d Publish DEPS for 106.0.5249.13 1 year ago

README.chromium

Name: dom-distiller-js
URL: https://github.com/chromium/dom-distiller
Version: 36c7178512
License: BSD
Security Critical: 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