diff --git a/gn/chip/java/rules.gni b/gn/chip/java/rules.gni index e6472e22071c9b..14f3b9029fcfb4 100644 --- a/gn/chip/java/rules.gni +++ b/gn/chip/java/rules.gni @@ -121,6 +121,11 @@ template("android_library") { javac_flags += [ "-classpath", "${android_sdk_root}/platforms/android-${android_sdk_version}/android.jar", + "-Xlint:-options", + "-source", + "8", + "-target", + "8", ] } }