Revert "Audio V4: Split system and vendor Audio.h"
This reverts commit fc9e212f018ce41430ec8dcebc3cae3c346474bb.
Reason for revert: Breaks multiple devices
Change-Id: I816671fd92246f85c97d00819858a74e36e2929d
diff --git a/modules/audio/Android.bp b/modules/audio/Android.bp
index 7929c66..a7467c2 100644
--- a/modules/audio/Android.bp
+++ b/modules/audio/Android.bp
@@ -23,10 +23,7 @@
relative_install_path: "hw",
proprietary: true,
srcs: ["audio_hw.c"],
- header_libs: [
- "libhardware_headers",
- "android.hardware.audio.common.legacy@2.0",
- ],
+ header_libs: ["libhardware_headers"],
shared_libs: [
"liblog",
],
@@ -44,10 +41,21 @@
relative_install_path: "hw",
proprietary: true,
srcs: ["audio_hw.c"],
- header_libs: [
- "libhardware_headers",
- "android.hardware.audio.common.legacy@2.0",
+ header_libs: ["libhardware_headers"],
+ shared_libs: [
+ "liblog",
],
+ cflags: ["-Wall", "-Werror", "-Wno-unused-parameter"],
+}
+
+// The stub audio policy HAL module that can be used as a skeleton for
+// new implementations.
+cc_library_shared {
+ name: "audio_policy.stub",
+ relative_install_path: "hw",
+ proprietary: true,
+ srcs: ["audio_policy.c"],
+ header_libs: ["libhardware_headers"],
shared_libs: [
"liblog",
],