Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(980)

Side by Side Diff: third_party/dom_distiller_js/update_domdistiller_js.sh

Issue 176083002: Use boilerpipe-based dom-distiller-js (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 #!/bin/bash
2 #
3 # Copyright 2014 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file.
6 #
7
8 # Clones the dom-distiller repo, compiles and extracts its javascript Then
9 # copies that js into the Chromium tree.
10 # This script should be run from the src/ directory and requires that ant is
11 # installed.
12
13 (
14 compiled_js_path=third_party/dom_distiller_js/js/domdistiller.js
15 tmpdir=/tmp/domdistiller-$$
16
17 rm -rf $tmpdir
18 mkdir $tmpdir
19
20 pushd $tmpdir
21 git clone https://code.google.com/p/dom-distiller/ .
22 ant extractjs
23 popd
24
25 mkdir -p $(dirname $compiled_js_path)
26 cp $tmpdir/out/domdistiller.js $compiled_js_path
27
28 rm -rf $tmpdir
29 )
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698