| 234 | // sEncodedDeps, stores indices for mapping from lib name hash to offset, |
| 235 | // and from lib index to offset. |
| 236 | private static void indexLib(int hash, int nameBegin) { |
| 237 | sPrecomputedLibs.add(nameBegin); |
| 238 | List<Integer> bucket = sPrecomputedDeps.get(hash); |
| 239 | if (bucket == null) { |
| 240 | bucket = new ArrayList<Integer>(); |
| 241 | sPrecomputedDeps.put(hash, bucket); |
| 242 | } |
| 243 | bucket.add(nameBegin); |
| 244 | } |
| 245 | |
| 246 | // Preprocess bytes from deps file. The deps file should be ascii encoded, |
| 247 | // with the format: |