Camera: Add initial flagging support
- Add core aconfig file into frameworks/av/camera
- Add various flag libraries for use across camera stack
Test: Manual:
- Test flag library can be called in camera service
- Test flag can be flipped by tooling
Bug: 297375200
Change-Id: Ic008f6442a27f0fe5579a1f18b5e9470754b8db4
diff --git a/services/camera/libcameraservice/Android.bp b/services/camera/libcameraservice/Android.bp
index 84dcf26..ea467e7 100644
--- a/services/camera/libcameraservice/Android.bp
+++ b/services/camera/libcameraservice/Android.bp
@@ -85,6 +85,7 @@
"android.hardware.common.fmq-V1-ndk",
"android.hardware.graphics.common-V4-ndk",
"media_permission-aidl-cpp",
+ "server_configurable_flags",
],
static_libs: [
@@ -105,12 +106,13 @@
"android.hardware.camera.provider@2.6",
"android.hardware.camera.provider@2.7",
"android.hardware.camera.provider-V2-ndk",
+ "camera_platform_flags_c_lib",
"libaidlcommonsupport",
+ "libbinderthreadstateutils",
+ "libcameraservice_device_independent",
"libdynamic_depth",
"libprocessinfoservice_aidl",
- "libbinderthreadstateutils",
"media_permission-aidl-cpp",
- "libcameraservice_device_independent",
],
}