Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1408)

Unified Diff: build/android/gyp/javac.py

Issue 615163002: Temporarily suppress Android API deprecation warnings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/gyp/javac.py
diff --git a/build/android/gyp/javac.py b/build/android/gyp/javac.py
index 6a3024be33b4305832eed0a4d602f8f4becef499..b0ef7fdfd8fb7e701e7a5d933ebe1735b136bb0c 100755
--- a/build/android/gyp/javac.py
+++ b/build/android/gyp/javac.py
@@ -77,7 +77,11 @@ def DoJavac(
'-classpath', ':'.join(classpath),
'-d', classes_dir]
if chromium_code:
- javac_args.extend(['-Xlint:unchecked', '-Xlint:deprecation'])
+ 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'
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
@@ -260,5 +264,3 @@ def main(argv):
if __name__ == '__main__':
sys.exit(main(sys.argv[1:]))
-
-
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698