Loading sensors/2.0/multihal/Android.bp +24 −3 Original line number Original line Diff line number Diff line Loading @@ -43,10 +43,10 @@ cc_binary { srcs: [ srcs: [ "service.cpp", "service.cpp", "HalProxy.cpp", "HalProxy.cpp", "ScopedWakelock.cpp", ], ], init_rc: ["android.hardware.sensors@2.0-service-multihal.rc"], init_rc: ["android.hardware.sensors@2.0-service-multihal.rc"], vintf_fragments: ["android.hardware.sensors@2.0-multihal.xml"], vintf_fragments: ["android.hardware.sensors@2.0-multihal.xml"], shared_libs: ["android.hardware.sensors@2.0-ScopedWakelock"] } } cc_library_headers { cc_library_headers { Loading @@ -55,19 +55,40 @@ cc_library_headers { export_include_dirs: ["include"], export_include_dirs: ["include"], } } cc_library_shared { name: "android.hardware.sensors@2.0-ScopedWakelock", defaults: [ "hidl_defaults", "android.hardware.sensors@2.0-multihal-defaults", ], srcs: [ "ScopedWakelock.cpp", ], vendor_available: true, export_header_lib_headers: [ "android.hardware.sensors@2.0-multihal.header" ] } // The below targets should only be used for testing. // The below targets should only be used for testing. cc_test_library { cc_test_library { name: "android.hardware.sensors@2.0-HalProxy", name: "android.hardware.sensors@2.0-HalProxy", defaults: ["android.hardware.sensors@2.0-multihal-defaults"], defaults: [ "hidl_defaults", "android.hardware.sensors@2.0-multihal-defaults", ], vendor_available: true, vendor_available: true, srcs: [ srcs: [ "HalProxy.cpp", "HalProxy.cpp", "ScopedWakelock.cpp", ], ], export_header_lib_headers: [ export_header_lib_headers: [ "android.hardware.sensors@2.0-multihal.header", "android.hardware.sensors@2.0-multihal.header", ], ], export_shared_lib_headers: [ "android.hardware.sensors@2.0-ScopedWakelock", ], shared_libs: [ shared_libs: [ "libutils", "libutils", "android.hardware.sensors@2.0-ScopedWakelock", ], ], } } sensors/2.0/multihal/tests/Android.bp +2 −0 Original line number Original line Diff line number Diff line Loading @@ -25,6 +25,7 @@ cc_defaults { shared_libs: [ shared_libs: [ "android.hardware.sensors@1.0", "android.hardware.sensors@1.0", "android.hardware.sensors@2.0", "android.hardware.sensors@2.0", "android.hardware.sensors@2.0-ScopedWakelock", "libcutils", "libcutils", "libfmq", "libfmq", "libhardware", "libhardware", Loading Loading @@ -83,6 +84,7 @@ cc_test { shared_libs: [ shared_libs: [ "android.hardware.sensors@1.0", "android.hardware.sensors@1.0", "android.hardware.sensors@2.0", "android.hardware.sensors@2.0", "android.hardware.sensors@2.0-ScopedWakelock", "libbase", "libbase", "libcutils", "libcutils", "libfmq", "libfmq", Loading Loading
sensors/2.0/multihal/Android.bp +24 −3 Original line number Original line Diff line number Diff line Loading @@ -43,10 +43,10 @@ cc_binary { srcs: [ srcs: [ "service.cpp", "service.cpp", "HalProxy.cpp", "HalProxy.cpp", "ScopedWakelock.cpp", ], ], init_rc: ["android.hardware.sensors@2.0-service-multihal.rc"], init_rc: ["android.hardware.sensors@2.0-service-multihal.rc"], vintf_fragments: ["android.hardware.sensors@2.0-multihal.xml"], vintf_fragments: ["android.hardware.sensors@2.0-multihal.xml"], shared_libs: ["android.hardware.sensors@2.0-ScopedWakelock"] } } cc_library_headers { cc_library_headers { Loading @@ -55,19 +55,40 @@ cc_library_headers { export_include_dirs: ["include"], export_include_dirs: ["include"], } } cc_library_shared { name: "android.hardware.sensors@2.0-ScopedWakelock", defaults: [ "hidl_defaults", "android.hardware.sensors@2.0-multihal-defaults", ], srcs: [ "ScopedWakelock.cpp", ], vendor_available: true, export_header_lib_headers: [ "android.hardware.sensors@2.0-multihal.header" ] } // The below targets should only be used for testing. // The below targets should only be used for testing. cc_test_library { cc_test_library { name: "android.hardware.sensors@2.0-HalProxy", name: "android.hardware.sensors@2.0-HalProxy", defaults: ["android.hardware.sensors@2.0-multihal-defaults"], defaults: [ "hidl_defaults", "android.hardware.sensors@2.0-multihal-defaults", ], vendor_available: true, vendor_available: true, srcs: [ srcs: [ "HalProxy.cpp", "HalProxy.cpp", "ScopedWakelock.cpp", ], ], export_header_lib_headers: [ export_header_lib_headers: [ "android.hardware.sensors@2.0-multihal.header", "android.hardware.sensors@2.0-multihal.header", ], ], export_shared_lib_headers: [ "android.hardware.sensors@2.0-ScopedWakelock", ], shared_libs: [ shared_libs: [ "libutils", "libutils", "android.hardware.sensors@2.0-ScopedWakelock", ], ], } }
sensors/2.0/multihal/tests/Android.bp +2 −0 Original line number Original line Diff line number Diff line Loading @@ -25,6 +25,7 @@ cc_defaults { shared_libs: [ shared_libs: [ "android.hardware.sensors@1.0", "android.hardware.sensors@1.0", "android.hardware.sensors@2.0", "android.hardware.sensors@2.0", "android.hardware.sensors@2.0-ScopedWakelock", "libcutils", "libcutils", "libfmq", "libfmq", "libhardware", "libhardware", Loading Loading @@ -83,6 +84,7 @@ cc_test { shared_libs: [ shared_libs: [ "android.hardware.sensors@1.0", "android.hardware.sensors@1.0", "android.hardware.sensors@2.0", "android.hardware.sensors@2.0", "android.hardware.sensors@2.0-ScopedWakelock", "libbase", "libbase", "libcutils", "libcutils", "libfmq", "libfmq", Loading