OLD | NEW |
1 # Description | 1 # Description |
2 This directory contains tools related to src/chrome/predictors, and especially | 2 This directory contains tools related to src/chrome/predictors, and especially |
3 `resource_prefetch_predictor`. | 3 `resource_prefetch_predictor`. |
4 | 4 |
5 # Prerequisites | 5 # Prerequisites |
6 The following assumes a Chrome for Android setup, on Ubuntu 14.04LTS. | 6 The following assumes a Chrome for Android setup, on Ubuntu 14.04LTS. |
7 | 7 |
8 To use these tools, you need: | 8 To use these tools, you need: |
9 * Python protocol buffer library | 9 * Python protocol buffer library |
10 * Protocol buffer Python modules to read the database | 10 * Protocol buffer Python modules to read the database |
11 * SQLite >= 3.9 | 11 * SQLite >= 3.9 |
12 | 12 |
13 # Installation | 13 # Installation |
14 * Install an updated protobuf library: `pip install --user protobuf` | 14 * Install an updated protobuf library: `pip install --user protobuf` |
15 * Generated protocol buffers in the path: Assuming that the build directory is | |
16 `out/Release` and chromium's `src/` is `$CHROMIUM_SRC`, `export | |
17 PYTHONPATH=$PYTHONPATH:${CHROMIUM_SRC}/out/Release/pyproto/chrome/browser/predic
tors/` | |
18 * SQLite from the Android SDK is recent enough, make sure that `${CHROMIUM_SRC}/
third_party/android_tools/sdk/platform-tools` is in the path. | 15 * SQLite from the Android SDK is recent enough, make sure that `${CHROMIUM_SRC}/
third_party/android_tools/sdk/platform-tools` is in the path. |
OLD | NEW |