Commit dd245bd
Add support for creating D8 compiler input dumps in bazel
This adds support in bazel for easily generating D8 compiler input dump file for the dex merging task. The generated compiler input dump file is a zip file that contains all inputs to the given compilation and makes it easy to reproduce and debug a given compilation.
This can be enabled by adding `--define=generate_d8_dump=true` to a given build command.
See also https://r8.googlesource.com/r8/+/refs/heads/main/doc/compilerdump.md.
PiperOrigin-RevId: 868512663
Change-Id: Ic315105820ddf3907e872b6bc147e137c37148561 parent ca4a312 commit dd245bd
2 files changed
Lines changed: 17 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
325 | 325 | | |
326 | 326 | | |
327 | 327 | | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
328 | 332 | | |
329 | 333 | | |
330 | 334 | | |
| |||
373 | 377 | | |
374 | 378 | | |
375 | 379 | | |
| 380 | + | |
376 | 381 | | |
377 | 382 | | |
378 | 383 | | |
| |||
447 | 452 | | |
448 | 453 | | |
449 | 454 | | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
450 | 459 | | |
451 | 460 | | |
452 | 461 | | |
453 | 462 | | |
454 | 463 | | |
455 | 464 | | |
456 | | - | |
| 465 | + | |
457 | 466 | | |
458 | 467 | | |
459 | 468 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
55 | 56 | | |
56 | 57 | | |
57 | 58 | | |
| |||
173 | 174 | | |
174 | 175 | | |
175 | 176 | | |
| 177 | + | |
176 | 178 | | |
177 | 179 | | |
178 | 180 | | |
| |||
618 | 620 | | |
619 | 621 | | |
620 | 622 | | |
| 623 | + | |
621 | 624 | | |
622 | 625 | | |
623 | 626 | | |
| |||
648 | 651 | | |
649 | 652 | | |
650 | 653 | | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
651 | 658 | | |
652 | 659 | | |
653 | 660 | | |
| |||
0 commit comments