OSDN Git Service

libcamera_metata is re-exporting headers from libcutils
authorJiyong Park <jiyong@google.com>
Thu, 22 Mar 2018 08:19:38 +0000 (17:19 +0900)
committerJiyong Park <jiyong@google.com>
Thu, 22 Mar 2018 08:19:38 +0000 (17:19 +0900)
camera_metada.h is including cutils/compiler.h. Re-exporting headers
from libcutils so that clients can use camera_metadata.h without
referring to the libcutils header explicitly.

Bug: 73723591
Test: m -j
Change-Id: I23e512923c0619e5d471ddf46550e81323f61d0e

camera/Android.bp

index 4b234be..cee3115 100644 (file)
@@ -11,6 +11,7 @@ cc_library_shared {
     include_dirs: ["system/media/private/camera/include"],
     local_include_dirs: ["include"],
     export_include_dirs: ["include"],
+    export_shared_lib_headers: ["libcutils"],
 
     shared_libs: [
         "libcutils",