diff options
author | Chih-Hung Hsieh <chh@google.com> | 2017-09-29 10:45:56 -0700 |
---|---|---|
committer | Chih-Hung Hsieh <chh@google.com> | 2017-09-29 11:02:08 -0700 |
commit | 66d036e3e1daadd478427bb4edd66b5e3b2ba312 (patch) | |
tree | f02caa6cc78e1135b3e244b04f806a709b7d63f2 | |
parent | 0b06038e149d363b52a9fa5c3125a9e6870e0f7c (diff) | |
download | scrypt-66d036e3e1daadd478427bb4edd66b5e3b2ba312.tar.gz |
Use -Werror in external/scrypt
* Use -Wno-error= to Keep existing warnings to fix later.
Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: I8b9847aaceaa223b34391ac94ac35924af9caccc
-rw-r--r-- | Android.bp | 1 | ||||
-rw-r--r-- | sources.bp | 4 |
2 files changed, 5 insertions, 0 deletions
@@ -28,6 +28,7 @@ cc_library_static { cc_test { name: "scrypt_test", srcs: ["tests/scrypt_test.cpp"], + cflags: ["-Wall", "-Werror"], shared_libs: ["libcrypto"], static_libs: ["libscrypt_static"], } @@ -25,6 +25,10 @@ cc_defaults { cflags: [ "-DHAVE_CONFIG_H", "-DUSE_OPENSSL_PBKDF2", + "-Wall", + "-Werror", + "-Wno-error=implicit-function-declaration", + "-Wno-error=unused-variable", ], export_include_dirs: [ |