Update VTS tests for AudioControl AIDL HAL version 2

Bug: 154906631
Test: atest VtsAidlHalAudioControlTest

Signed-off-by: Francois Gaffie <francois.gaffie@renault.com>
Change-Id: Iea05f7bfcc102ccd5d79b2f29c3fbf179044e537
Merged-In: Iea05f7bfcc102ccd5d79b2f29c3fbf179044e537
(cherry picked from commit e5af282ccc36ac9a95a1a0a815c831aeb8ad23fd)
diff --git a/automotive/audiocontrol/aidl/vts/Android.bp b/automotive/audiocontrol/aidl/vts/Android.bp
index 6856b91..3d4be48 100644
--- a/automotive/audiocontrol/aidl/vts/Android.bp
+++ b/automotive/audiocontrol/aidl/vts/Android.bp
@@ -37,11 +37,16 @@
         "libxml2",
     ],
     static_libs: [
-        "android.hardware.automotive.audiocontrol-V1-cpp",
+        "android.hardware.automotive.audiocontrol-V2-cpp",
+        "android.hardware.audio.common-V1-cpp",
+        "android.media.audio.common.types-V1-cpp",
         "libgmock",
     ],
     test_suites: [
         "general-tests",
         "vts",
     ],
+    cflags: [
+        "-Wno-deprecated-declarations",
+    ],
 }