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

Unified Diff: docs/android_studio.md

Issue 2362613002: generate_gradle.py: Allow multiple --target and add --all (Closed)
Patch Set: comments, docs, & default targets Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: docs/android_studio.md
diff --git a/docs/android_studio.md b/docs/android_studio.md
index 96ef1752ef52997d61c39137f34ae368f94d3984..35690bc55c4e81c543f446f996e9736bb22e7791 100644
--- a/docs/android_studio.md
+++ b/docs/android_studio.md
@@ -5,10 +5,21 @@
## Usage
```shell
-build/android/gradle/generate_gradle.py --output-directory out-gn/Debug --target //chrome/android:chrome_public_test_apk
+build/android/gradle/generate_gradle.py --output-directory out-gn/Debug
```
-This creates a project at `out-gn/Debug/gradle`. To create elsewhere: `--project-dir foo`
+This creates a project at `out-gn/Debug/gradle`. To create elsewhere:
+
+```shell
+build/android/gradle/generate_gradle.py --output-directory out-gn/Debug --project-dir my-project
+```
+
+By default, only common targets are generated. To customize the list of targets
+to generate projects for:
+
+```shell
+build/android/gradle/generate_gradle.py --output-directory out-gn/Debug --target //some:target_apk --target //some/other:target_apk
+```
For first-time Android Studio users:
« build/android/gradle/generate_gradle.py ('K') | « build/android/gyp/jinja_template.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698