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

Unified Diff: build/android/gyp/write_build_config.py

Issue 2699963002: Plumb bootclasspath GN -> Android Studio (Closed)
Patch Set: Created 3 years, 10 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
« no previous file with comments | « build/android/gradle/generate_gradle.py ('k') | build/config/android/internal_rules.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/gyp/write_build_config.py
diff --git a/build/android/gyp/write_build_config.py b/build/android/gyp/write_build_config.py
index 251df4e9120547ff0a5be260dadc4b826c42bc3c..b90f06f8d58701ef46c3c801543c0ba63c66649a 100755
--- a/build/android/gyp/write_build_config.py
+++ b/build/android/gyp/write_build_config.py
@@ -293,6 +293,7 @@ def main(argv):
help='Path to JAR that contains java resources. Everything '
'from this JAR except meta-inf/ content and .class files '
'will be added to the final APK.')
+ parser.add_option('--bootclasspath', help='Path to custom android.jar/rt.jar')
# android library options
parser.add_option('--dex-path', help='Path to target\'s dex output.')
@@ -419,6 +420,8 @@ def main(argv):
gradle['dependent_java_projects'] = []
gradle['dependent_prebuilt_jars'] = deps.GradlePrebuiltJarPaths()
+ if options.bootclasspath:
+ gradle['bootclasspath'] = options.bootclasspath
if options.main_class:
gradle['main_class'] = options.main_class
« no previous file with comments | « build/android/gradle/generate_gradle.py ('k') | build/config/android/internal_rules.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698