commit | 1876acdd5333b7f9ee0e388e306ec186e0cf3485 | [log] [tgz] |
---|---|---|
author | Chih-Hung Hsieh <chh@google.com> | Mon Nov 06 10:47:24 2017 -0800 |
committer | Chih-Hung Hsieh <chh@google.com> | Fri Nov 17 14:06:35 2017 -0800 |
tree | ebcd2d38e285dde30290a8cdcba03852c3f3d724 | |
parent | 315761ace11294265a9d15e75e088684b638d828 [diff] |
Add default -Wall -Werror or -Wall. * Skip Android.bp, prebuilt, and HEADER_LIBRARIES targets. * If neither -Wno-error nor -Werror is used, add default -Wall -Werror. However, if the build target is in a project under one of ANDROID_WARNING_ALLOWED_PROJECTS, add only -Wall. * Dump name of modules using -Wno-error or added -Wall -Werror into file $(PRODUCT_OUT)/wall_werror.txt. Bug: 66996870 Test: normal build Change-Id: Ief8cf776e8613ed073a64dd271534688845d5c2c