Skip to content
This repository was archived by the owner on Apr 21, 2025. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions build/android/gyp/javac.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,11 @@ def DoJavac(
# javac pulling a default encoding from the user's environment.
'-encoding', 'UTF-8',
'-classpath', ':'.join(classpath),
'-d', classes_dir]
'-d', classes_dir,
# TODO(camsim99): Make deprecation warnings fatal and remove limit
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs to be filed as as bug and the number cross-referenced here.

# when all 123 (at the time of this comment) deprecations are fixed.
'-Xlint:deprecation',
'-Xmaxwarns', '123']

if bootclasspath:
javac_args.extend([
Expand All @@ -88,7 +92,6 @@ def DoJavac(
])

if chromium_code:
# TODO(aurimas): re-enable '-Xlint:deprecation' checks once they are fixed.
javac_args.extend(['-Xlint:unchecked'])
else:
# XDignore.symbol.file makes javac compile against rt.jar instead of
Expand Down