Put v4l2_codec2 underneath a soong namespace am: f83441a3c9 am: ae52ea56b2 am: bce2d851c3

Original change: https://android-review.googlesource.com/c/platform/external/v4l2_codec2/+/1928162

Change-Id: If30632e779dec49f209a1ac196df1570f9e7fd48
diff --git a/Android.bp b/Android.bp
index 7f53aec..b541ecd 100644
--- a/Android.bp
+++ b/Android.bp
@@ -13,6 +13,15 @@
 // See the License for the specific language governing permissions and
 // limitations under the License.
 
+// This project defines a module named libc2plugin_store which is installed into
+// $OUT/vendor/lib/libc2plugin_store.so. Although the module can be overridden,
+// the output filename cannot (b/204136549).
+//
+// See README.md for how to use the implementation from v4l2_codec2.
+soong_namespace {
+    // No imports
+}
+
 package {
     default_applicable_licenses: ["external_v4l2_codec2_license"],
 }
@@ -41,4 +50,4 @@
     license_text: [
         "NOTICE",
     ],
-}
+}
\ No newline at end of file
diff --git a/tests/Android.mk b/tests/Android.mk
index 5053e7d..7697ee4 100644
--- a/tests/Android.mk
+++ b/tests/Android.mk
@@ -1 +1,3 @@
+ifneq ($(filter external/v4l2_codec2,$(PRODUCT_SOONG_NAMESPACES)),)
 include $(call all-subdir-makefiles)
+endif
\ No newline at end of file