Skip to content

Commit

Permalink
[cronet] exclude pyc files from deps of generate_javadoc.py
Browse files Browse the repository at this point in the history
This is to fix compile noop failure in internal builder.
http://shortn/_t5pHTnebHY

Bug: 914264
Change-Id: I26881dca70d41fdb340df6d9ef85f1d9bd8b6a3b
Reviewed-on: https://chromium-review.googlesource.com/c/1448085
Commit-Queue: Takuto Ikuta <[email protected]>
Commit-Queue: Paul Jensen <[email protected]>
Auto-Submit: Takuto Ikuta <[email protected]>
Reviewed-by: Paul Jensen <[email protected]>
Cr-Commit-Position: refs/heads/master@{#628219}
  • Loading branch information
Takuto Ikuta authored and Commit Bot committed Feb 1, 2019
1 parent 36f8f9b commit 28d16f9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion components/cronet/tools/generate_javadoc.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,9 @@ def main():
assert options.zip_file
deps = []
for root, _, filenames in os.walk(options.input_dir):
deps.extend(os.path.join(root, f) for f in filenames)
# Ignore .pyc files here, it might be re-generated during build.
deps.extend(os.path.join(root, f) for f in filenames
if not f.endswith('.pyc'))
build_utils.WriteDepfile(options.depfile, options.zip_file, deps)
# Clean up temporary output directory.
build_utils.DeleteDirectory(unzipped_jar_path)
Expand Down

0 comments on commit 28d16f9

Please sign in to comment.