Update README.md for running D8
We removed the d8 target from the build system, update the README.md to
reflect how to run D8 from the r8.jar
Change-Id: I22d1d89d3861f1891acd8a689fe36b48f37addd4
diff --git a/README.md b/README.md
index 2d24142..1621acb 100644
--- a/README.md
+++ b/README.md
@@ -24,11 +24,11 @@
$ git clone https://r8.googlesource.com/r8
$ cd r8
- $ tools/gradle.py d8 r8
+ $ tools/gradle.py r8
The `tools/gradle.py` script will bootstrap using depot_tools to download
a version of gradle to use for building on the first run. This will produce
-two jar files: `build/libs/d8.jar` and `build/libs/r8.jar`.
+a jar file: `build/libs/r8.jar` which contains both R8 and D8.
## Running D8
@@ -45,11 +45,11 @@
Debug mode build:
- $ java -jar build/libs/d8.jar --output out input.jar
+ $ java -cp build/libs/r8.jar com.android.tools.r8.D8 --output out input.jar
Release mode build:
- $ java -jar build/libs/d8.jar --release --output out input.jar
+ $ java -cp build/libs/r8.jar com.android.tools.r8.D8 --release --output out input.jar
The full set of D8 options can be obtained by running the command line tool with
the `--help` option.