update aconfig lib setup for host test
Test targets should use test variant of aconfig lib. especially those
that are run on host. There is no storage backend on host, therefore
using prod codegen will not work properly.
Change-Id: I27b04f030fc70f64dbf890387ffb61a467623b9e
diff --git a/camera/Android.bp b/camera/Android.bp
index 9e1efae..b6241f4 100644
--- a/camera/Android.bp
+++ b/camera/Android.bp
@@ -54,7 +54,13 @@
cc_aconfig_library {
name: "camera_platform_flags_c_lib",
aconfig_declarations: "camera_platform_flags",
+}
+
+cc_aconfig_library {
+ name: "camera_platform_flags_c_lib_for_test",
+ aconfig_declarations: "camera_platform_flags",
host_supported: true,
+ mode: "test",
}
java_aconfig_library {