Index: build/android/gyp/javac.py |
diff --git a/build/android/gyp/javac.py b/build/android/gyp/javac.py |
index b0ef7fdfd8fb7e701e7a5d933ebe1735b136bb0c..6a3024be33b4305832eed0a4d602f8f4becef499 100755 |
--- a/build/android/gyp/javac.py |
+++ b/build/android/gyp/javac.py |
@@ -77,11 +77,7 @@ |
'-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 @@ |
if __name__ == '__main__': |
sys.exit(main(sys.argv[1:])) |
+ |
+ |