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-Original-Commit-Position: refs/heads/master@{#300294} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: 899f630a25669232d5817b8a6d7d365fb7adc42a
This commit is contained in:
Родитель
7039a19b63
Коммит
2555c50e2a
|
@ -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:]))
|
||||
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче