platform_hardware_interfaces/soundtrigger/aidl
Jiyong Park bb73ba4e68 Add -Wno-missing-permission-annotation for soundtrigger3
Soundtrigger3 has been built with "-Werror -Weverything" (from
Android.bp) and "-Weverything -Wno-missing-permission-annotation" (from
the AIDL build system). The former is added only for the ToT version of
an AIDL interface.

So far, soundtrigger3 wasn't frozen and therefore the implicit version 1
was the ToT version. As a result, absence of @RequiresPermission in its
interface didn't break the build due to the automatically added
"-Wno-missing-permission-annotation" despite that it had "-Werror".

However, this is causing build breakage as soundtrigger3 now has version
1 and 2 (ToT) and the version 1 is built *without*
  "-Wno-missing-permission-annotation".

Fixing this by manually adding the diag flag so that it's applied to all
versions.

Bug: 225941299
Test: m
Change-Id: I3a43fc77997ef900b0f173c88530f570e436bc77
2022-03-31 12:01:43 +09:00
..
aidl_api/android.hardware.soundtrigger3 Freeze AIDL APIs for TM 2022-03-31 12:01:39 +09:00
android/hardware/soundtrigger3 Organize imports and fix formatting 2022-01-20 13:48:03 -08:00
cli Update use of a.m.a.c.AudioConfig in sthal_cli_3 2021-08-31 18:13:20 -07:00
Android.bp Add -Wno-missing-permission-annotation for soundtrigger3 2022-03-31 12:01:43 +09:00