Commit 899f630a authored by aurimas's avatar aurimas Committed by Commit bot

Revert of Temporarily suppress Android API deprecation warnings. (patchset #1...

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}
parent 5d030c93
......@@ -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:]))
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment