Separate g711 decoder from Codec2 plugin

g711 decoder is now built as separate static
library which is included in Codec2 plugin.

Test: Build libcodec2_soft_g711alawdec and libcodec2_soft_g711mlawdec
Bug: 151599224

Change-Id: Iaea9338a017a043f1614b63212708d6a94be8cb3
diff --git a/media/codec2/components/g711/Android.bp b/media/codec2/components/g711/Android.bp
index 3ede68c..0101b1a 100644
--- a/media/codec2/components/g711/Android.bp
+++ b/media/codec2/components/g711/Android.bp
@@ -7,6 +7,8 @@
 
     srcs: ["C2SoftG711Dec.cpp"],
 
+    static_libs: ["codecs_g711dec"],
+
     cflags: [
         "-DALAW",
     ],
@@ -20,4 +22,6 @@
     ],
 
     srcs: ["C2SoftG711Dec.cpp"],
+
+    static_libs: ["codecs_g711dec"],
 }