summaryrefslogtreecommitdiffstats
path: root/build/android
diff options
context:
space:
mode:
authoraurimas <aurimas@chromium.org>2015-09-30 17:56:20 -0700
committerCommit bot <commit-bot@chromium.org>2015-10-01 00:57:14 +0000
commit088bb6bbf50f6ff6cba12f29728fdbc54d0b3fc3 (patch)
tree588b4b769037f3b7775946804ac72d1769764a4a /build/android
parent98ffdcbded9a381137cc373add87737e690331b7 (diff)
downloadchromium_src-088bb6bbf50f6ff6cba12f29728fdbc54d0b3fc3.zip
chromium_src-088bb6bbf50f6ff6cba12f29728fdbc54d0b3fc3.tar.gz
chromium_src-088bb6bbf50f6ff6cba12f29728fdbc54d0b3fc3.tar.bz2
Reenable deprecation warning checking.
Supress all the existing deprecation warnings, add TODO's and reenable deprecation warning check. BUG=503148 TBR=nyquist@chromium.org,qinmin@chromium.org Review URL: https://codereview.chromium.org/1368333003 Cr-Commit-Position: refs/heads/master@{#351689}
Diffstat (limited to 'build/android')
-rwxr-xr-xbuild/android/gyp/javac.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/build/android/gyp/javac.py b/build/android/gyp/javac.py
index deb90c5..eb17acc 100755
--- a/build/android/gyp/javac.py
+++ b/build/android/gyp/javac.py
@@ -335,8 +335,7 @@ def main(argv):
])
if options.chromium_code:
- # TODO(aurimas): re-enable '-Xlint:deprecation' checks once they are fixed.
- javac_cmd.extend(['-Xlint:unchecked'])
+ javac_cmd.extend(['-Xlint:unchecked', '-Xlint:deprecation'])
else:
# XDignore.symbol.file makes javac compile against rt.jar instead of
# ct.sym. This means that using a java internal package/class will not