Allow implicit-fallthrough warnings locally. DO NOT MERGE.
It will be a global error by default.
This change is not needed for goog/master.
Test: make checkbuild
Bug: 112564944
Change-Id: Ia716882a2796bdb2222067499906b04b15d661d8
Exempt-From-Owner-Approval: do not block on new warnings
diff --git a/media/libmediaplayer2/nuplayer2/Android.bp b/media/libmediaplayer2/nuplayer2/Android.bp
index c8ddc11..4906a36 100644
--- a/media/libmediaplayer2/nuplayer2/Android.bp
+++ b/media/libmediaplayer2/nuplayer2/Android.bp
@@ -33,6 +33,8 @@
cflags: [
"-Werror",
"-Wall",
+ // Allow implicit fallthroughs in NuPlayer2Driver.cpp until they are fixed.
+ "-Wno-error=implicit-fallthrough",
],
product_variables: {