diff options
author | aurimas <aurimas@chromium.org> | 2014-10-20 10:41:28 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-10-20 17:41:51 +0000 |
commit | 899f630a25669232d5817b8a6d7d365fb7adc42a (patch) | |
tree | cbcd47120a7901dd85fcfd1554266beb81d0b3e2 | |
parent | 5d030c93c5519c3e9f94912e5cd53d0d47939989 (diff) | |
download | chromium_src-899f630a25669232d5817b8a6d7d365fb7adc42a.zip chromium_src-899f630a25669232d5817b8a6d7d365fb7adc42a.tar.gz chromium_src-899f630a25669232d5817b8a6d7d365fb7adc42a.tar.bz2 |
Revert of Temporarily suppress Android API deprecation warnings. (patchset #1 id:1 of https://chromiumcodereview.appspot.com/615163002/)
Reason for revert:
We have switched to L sdk.
Original issue's description:
> Temporarily suppress Android API deprecation warnings.
>
> We will remove this suppression once all of the builders support the L SDK.
>
> BUG=405174,398669,411361,411366,411367,411376,416041
>
> Committed: https://crrev.com/c26c106e7724c400fed9980ce371a1c81d1af849
> Cr-Commit-Position: refs/heads/master@{#297505}
TBR=dmazzoni@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=405174,398669,411361,411366,411367,411376,416041
Review URL: https://codereview.chromium.org/649653004
Cr-Commit-Position: refs/heads/master@{#300294}
-rwxr-xr-x | build/android/gyp/javac.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/build/android/gyp/javac.py b/build/android/gyp/javac.py index b0ef7fd..6a3024b 100755 --- a/build/android/gyp/javac.py +++ b/build/android/gyp/javac.py @@ -77,11 +77,7 @@ def DoJavac( '-classpath', ':'.join(classpath), '-d', classes_dir] if chromium_code: - javac_args.extend(['-Xlint:unchecked']) - # TODO(aurimas): re-enable this after the L SDK is launched and make - # everyone fix new deprecation warnings correctly. - # http://crbug.com/405174,398669,411361,411366,411367,411376,416041 - # '-Xlint:deprecation' + javac_args.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 @@ -264,3 +260,5 @@ def main(argv): if __name__ == '__main__': sys.exit(main(sys.argv[1:])) + + |