No description
Find a file
Colin Cross 5e58793731 Add support for LOCAL_ERROR_PRONE_FLAGS
This will allow individual modules to enable error prone checks
as needed so that the change to treat an error prone check as a
compiler error can be done atomically with the changes to fix
the issues that check reveals.

Tested with the following steps, cleaning up the targets in
between to ensure that it was rebuilt everytime.

Set LOCAL_ERROR_PRONE_FLAGS := -Xep:ClassCanBeStatic:WARN
compiler error in junit-params-test target. Built
javac-check-junit-params-test with RUN_ERROR_PRONE=true to make
sure that compilation failed.

Built the javac-check-junit-params-test without RUN_ERROR_PRONE
set to make sure that the flag is not included unless explicitly
requested.

Built the junit-params-test as normal to make sure it still
worked properly.

Bug: 31507496
Test: See above
Change-Id: I88b5800dacd0e30dd9dcfa5f42e89d1428957365
Merged-In: I88b5800dacd0e30dd9dcfa5f42e89d1428957365
(cherry picked from commit 3ca9298d99)
2017-04-07 17:46:40 -07:00
core Add support for LOCAL_ERROR_PRONE_FLAGS 2017-04-07 17:46:40 -07:00
target Merge "Switch to a shell_and_utilities phony module." 2017-04-03 17:19:35 +00:00
tests Add TARGET_PLATFORM_VERSION to lunch 2017-03-23 09:44:08 -07:00
tools Merge "releasetools: Add validate_target_files.py." 2017-04-06 20:50:09 +00:00
.gitignore Add build subprojects to .gitignore 2015-07-23 13:18:47 -07:00
Android.mk Add new Android.mk to handle repo move 2016-06-16 15:30:19 -07:00
buildspec.mk.default Add TARGET_PLATFORM_VERSION to lunch 2017-03-23 09:44:08 -07:00
CleanSpec.mk Refactor sanitized library on-disk layout - Make. 2017-03-30 20:14:27 -07:00
envsetup.sh Merge "Small fixes for environment variables." 2017-03-24 16:15:07 +00:00