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

Side by Side Diff: README.md

Issue 1052613002: The location of the chrome distillation source changed. (Closed) Base URL: https://github.com/chromium/dom-distiller.git@master
Patch Set: Created 5 years, 8 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # DOM Distiller 1 # DOM Distiller
2 2
3 DOM Distiller aims to provide a better reading experience by distilling the 3 DOM Distiller aims to provide a better reading experience by distilling the
4 content of the page. This distilled content can then be used in a variety of 4 content of the page. This distilled content can then be used in a variety of
5 ways. 5 ways.
6 6
7 The current efforts that will be powered by DOM Distiller: 7 The current efforts that will be powered by DOM Distiller:
8 - Reader mode: a mobile-friendly viewing mode for Chrome mobile 8 - Reader mode: a mobile-friendly viewing mode for Chrome mobile
9 9
10 ## How to use Reader mode on mobile Chrome 10 ## How to use Reader mode on mobile Chrome
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 export CHROME_SRC=/path/to/chromium/src 182 export CHROME_SRC=/path/to/chromium/src
183 export DOM_DISTILLER_DIR=/path/to/dom-distiller 183 export DOM_DISTILLER_DIR=/path/to/dom-distiller
184 ``` 184 ```
185 185
186 - Pull generated package (from ant package) into Chrome. You can use this handy 186 - Pull generated package (from ant package) into Chrome. You can use this handy
187 bash-function to help with that: 187 bash-function to help with that:
188 ```bash 188 ```bash
189 roll-distiller () { 189 roll-distiller () {
190 ( 190 (
191 (cd $DOM_DISTILLER_DIR && ant package) && \ 191 (cd $DOM_DISTILLER_DIR && ant package) && \
192 rm -rf $CHROME_SRC/third_party/dom_distiller_js/package/* && \ 192 rm -rf $CHROME_SRC/third_party/dom_distiller_js/dist/* && \
193 cp -rf $DOM_DISTILLER_DIR/out/package/* $CHROME_SRC/third_party/dom_distille r_js/package && \ 193 cp -rf $DOM_DISTILLER_DIR/out/package/* $CHROME_SRC/third_party/dom_distille r_js/dist/ && \
194 touch $CHROME_SRC/components/resources/dom_distiller_resources.grdp 194 touch $CHROME_SRC/components/resources/dom_distiller_resources.grdp
195 ) 195 )
196 } 196 }
197 ``` 197 ```
198 - From `$CHROME_SRC` run GYP to setup ninja build files using 198 - From `$CHROME_SRC` run GYP to setup ninja build files using
199 ```bash 199 ```bash
200 build/gyp_chromium 200 build/gyp_chromium
201 ``` 201 ```
202 202
203 ## Running the Chrome browser with distiller support 203 ## Running the Chrome browser with distiller support
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
365 If you want you can copy some of these User-Agent aliases into normal bash 365 If you want you can copy some of these User-Agent aliases into normal bash
366 aliases for easy access later. For example, Nexus 4 would be: 366 aliases for easy access later. For example, Nexus 4 would be:
367 ```bash 367 ```bash
368 --user-agent="Mozilla/5.0 (Linux; Android 4.2.1; en-us; Nexus 4 Build/JOP40D) Ap pleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.166 Mobile Safari/535.19" 368 --user-agent="Mozilla/5.0 (Linux; Android 4.2.1; en-us; Nexus 4 Build/JOP40D) Ap pleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.166 Mobile Safari/535.19"
369 ``` 369 ```
370 370
371 Steps 1-3 in the guide above can typically be done in a stable version of 371 Steps 1-3 in the guide above can typically be done in a stable version of
372 Chrome, whereas the rest of the steps is typically done in your own build of 372 Chrome, whereas the rest of the steps is typically done in your own build of
373 Chrome (hence the "(Re)" in step 4). Besides speed, this also facilitates 373 Chrome (hence the "(Re)" in step 4). Besides speed, this also facilitates
374 side-by-side comparison. 374 side-by-side comparison.
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698