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

Unified Diff: components/cronet/tools/generate_javadoc.py

Issue 2350013004: Upgrade to new Android SDK. (Closed)
Patch Set: [Reland] Upgrade to new Android SDK. Created 4 years, 2 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 | « components/cronet/android/api/build.xml ('k') | docs/android_test_instructions.md » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/cronet/tools/generate_javadoc.py
diff --git a/components/cronet/tools/generate_javadoc.py b/components/cronet/tools/generate_javadoc.py
index 3914b91ed235643cbecda7911d1e3ebce6bdf5d6..4a8cd3e863b2a5602b710081971ca36e5f801cd5 100755
--- a/components/cronet/tools/generate_javadoc.py
+++ b/components/cronet/tools/generate_javadoc.py
@@ -43,7 +43,9 @@ def GenerateJavadoc(options, src_dir):
'-Dlib.java.dir=' + lib_java_dir, '-Doverview=' + overview_file,
'doc']
stdout = build_utils.CheckOutput(javadoc_cmd, cwd=working_dir)
- if " error: " in stdout or "warning" in stdout or "javadoc: error " in stdout:
+ # TODO(crbug.com/655666): add 'or "warning"' back once compiler
+ # situation is resolved.
+ if " error: " in stdout or "javadoc: error " in stdout:
build_utils.DeleteDirectory(output_dir)
raise build_utils.CalledProcessError(working_dir, javadoc_cmd, stdout)
« no previous file with comments | « components/cronet/android/api/build.xml ('k') | docs/android_test_instructions.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698