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

Side by Side Diff: blimp/docs/running.md

Issue 1818253003: blimp: Disable custom web fonts on the engine (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « no previous file | blimp/engine/start_engine.sh » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Running Blimp 1 # Running Blimp
2 2
3 See [build](build.md) for instructions on how to build Blimp. 3 See [build](build.md) for instructions on how to build Blimp.
4 4
5 ## Running the client 5 ## Running the client
6 6
7 There are both Android and Linux clients. The Android client is the shipping 7 There are both Android and Linux clients. The Android client is the shipping
8 client while the Linux client is used for development purposes. 8 client while the Linux client is used for development purposes.
9 9
10 ### Android Client 10 ### Android Client
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 95
96 ### Required engine binary flags 96 ### Required engine binary flags
97 * `--blimp-client-token-path=$PATH`: Path to a file containing a nonempty 97 * `--blimp-client-token-path=$PATH`: Path to a file containing a nonempty
98 token string. If this is not present, the engine will fail to boot. 98 token string. If this is not present, the engine will fail to boot.
99 * `--use-remote-compositing`: Ensures that the renderer uses the remote 99 * `--use-remote-compositing`: Ensures that the renderer uses the remote
100 compositor. 100 compositor.
101 * `--disable-cached-picture-raster`: Ensures that rasterized content is not 101 * `--disable-cached-picture-raster`: Ensures that rasterized content is not
102 destroyed before serialization. 102 destroyed before serialization.
103 * `--android-fonts-path=$PATH`: Path to where the fonts are located. 103 * `--android-fonts-path=$PATH`: Path to where the fonts are located.
104 Typically this would be `out-linux/Debug/gen/third_party/blimp_fonts`. 104 Typically this would be `out-linux/Debug/gen/third_party/blimp_fonts`.
105 * `--disable-remote-fonts`: Disables downloading of custom web fonts in the
106 renderer.
105 107
106 #### Typical invocation 108 #### Typical invocation
107 When the client connects to a manually specified engine instead of using the 109 When the client connects to a manually specified engine instead of using the
108 assigner, it will use a dummy token. The engine needs to know what this token 110 assigner, it will use a dummy token. The engine needs to know what this token
109 is, so it must be provided using the `--blimp-client-token-path` flag. The token 111 is, so it must be provided using the `--blimp-client-token-path` flag. The token
110 is available in the constant `kDummyClientToken` in 112 is available in the constant `kDummyClientToken` in
111 `blimp/client/session/assignment_source.h`. You can easily store that to a file 113 `blimp/client/session/assignment_source.h`. You can easily store that to a file
112 by running the following command once: 114 by running the following command once:
113 115
114 ```bash 116 ```bash
115 awk '{if ( match($0, /^\s*const char kDummyClientToken.*/) ) { print substr($5, 2, length($5)-3);} }' \ 117 awk '{if ( match($0, /^\s*const char kDummyClientToken.*/) ) { print substr($5, 2, length($5)-3);} }' \
116 ./blimp/client/session/assignment_source.h > /tmp/blimpengine-token 118 ./blimp/client/session/assignment_source.h > /tmp/blimpengine-token
117 ``` 119 ```
118 120
119 Then start the engine using these flags: 121 Then start the engine using these flags:
120 122
121 ```bash 123 ```bash
122 out-linux/Debug/blimp_engine_app \ 124 out-linux/Debug/blimp_engine_app \
123 --use-remote-compositing \ 125 --use-remote-compositing \
124 --disable-cached-picture-raster \ 126 --disable-cached-picture-raster \
125 --blimp-client-token-path=/tmp/blimpengine-token \ 127 --blimp-client-token-path=/tmp/blimpengine-token \
126 --user-data-dir=/tmp/blimpengine \ 128 --user-data-dir=/tmp/blimpengine \
127 --android-fonts-path=out-linux/Debug/gen/third_party/blimp_fonts \ 129 --android-fonts-path=out-linux/Debug/gen/third_party/blimp_fonts \
128 --enable-logging=stderr \ 130 --enable-logging=stderr \
129 --vmodule="blimp*=1" 131 --vmodule="blimp*=1"
130 ``` 132 ```
OLDNEW
« no previous file with comments | « no previous file | blimp/engine/start_engine.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698