diff options
| -rw-r--r-- | services/tests/servicestests/Android.bp | 3 | ||||
| -rw-r--r-- | tests/Input/Android.bp | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/services/tests/servicestests/Android.bp b/services/tests/servicestests/Android.bp index d8b5a07ae9f0..2620ea250ca5 100644 --- a/services/tests/servicestests/Android.bp +++ b/services/tests/servicestests/Android.bp @@ -33,6 +33,9 @@ android_test { "test-apps/DisplayManagerTestApp/src/**/*.java", ], + kotlincflags: [ + "-Werror", + ], static_libs: [ "a11ychecker", "aatf", diff --git a/tests/Input/Android.bp b/tests/Input/Android.bp index bacb5eb1cfdf..6742cbe1f19a 100644 --- a/tests/Input/Android.bp +++ b/tests/Input/Android.bp @@ -19,6 +19,9 @@ android_test { "src/**/*.kt", ], asset_dirs: ["assets"], + kotlincflags: [ + "-Werror", + ], platform_apis: true, certificate: "platform", static_libs: [ |