cameraservice_test: Create host-side build.

Some tests can run on the host. This patch creates a new build on the
host with the ExifUtilsTest only. Additional tests will be added in
future patches.

Bug: 207411352
Test: Ran test on gLinux.
Change-Id: Ia1c04f1987b65f93519bacda98bafed1881f2386
diff --git a/services/camera/libcameraservice/Android.bp b/services/camera/libcameraservice/Android.bp
index 96da0ab..2555c30 100644
--- a/services/camera/libcameraservice/Android.bp
+++ b/services/camera/libcameraservice/Android.bp
@@ -95,7 +95,6 @@
         "utils/CameraThreadState.cpp",
         "utils/CameraTraces.cpp",
         "utils/AutoConditionLock.cpp",
-        "utils/ExifUtils.cpp",
         "utils/SessionConfigurationUtils.cpp",
         "utils/SessionStatsBuilder.cpp",
         "utils/TagMonitor.cpp",
@@ -164,6 +163,7 @@
         "libprocessinfoservice_aidl",
         "libbinderthreadstateutils",
         "media_permission-aidl-cpp",
+        "libcameraservice_host",
     ],
 
     export_shared_lib_headers: [
@@ -193,3 +193,38 @@
     ],
 
 }
+
+cc_library_static {
+    name: "libcameraservice_host",
+    host_supported: true,
+
+    // Camera service source
+
+    srcs: [
+        "utils/ExifUtils.cpp",
+    ],
+
+    shared_libs: [
+        "libbase",
+        "libbinder",
+        "libcamera_metadata",
+        "libexif",
+        "liblog",
+        "libutils",
+    ],
+
+    include_dirs: [
+        "frameworks/av/camera/include",
+        "frameworks/av/camera/include/camera",
+    ],
+
+    export_include_dirs: ["."],
+
+    cflags: [
+        "-Wall",
+        "-Wextra",
+        "-Werror",
+        "-Wno-ignored-qualifiers",
+    ],
+
+}
\ No newline at end of file