summaryrefslogtreecommitdiffstats
path: root/sensors/1.0
diff options
context:
space:
mode:
authorSteven Moreland <smoreland@google.com>2017-02-13 09:59:06 -0800
committerSteven Moreland <smoreland@google.com>2017-02-13 15:03:41 -0800
commita0da1a1c3dadac195e598890360c7b9226874ba8 (patch)
treeeeab0787c1485eb42edd5aabace854fd7a245d9a /sensors/1.0
parentff4224809f8cf3e6d56c1dfdfd21adf340390e99 (diff)
downloadplatform_hardware_interfaces-a0da1a1c3dadac195e598890360c7b9226874ba8.tar.gz
platform_hardware_interfaces-a0da1a1c3dadac195e598890360c7b9226874ba8.tar.bz2
platform_hardware_interfaces-a0da1a1c3dadac195e598890360c7b9226874ba8.zip
Move hidl shims to the vendor partition. (2/2)
We need google shims on the vendor partition because they are providing an implementation of a vendor defined interface. They were written by google just as a courtesy/to make the transition easier. They're basically a set for vendors to assemble their hal implementations from. Bug: 34135607 Test: marlin persist.hal.binderization on/off Change-Id: I2e2af5af39264cf290259755bb9b2eb9827a21f5
Diffstat (limited to 'sensors/1.0')
-rw-r--r--sensors/1.0/default/Android.bp1
-rw-r--r--sensors/1.0/default/Android.mk1
-rw-r--r--sensors/1.0/default/android.hardware.sensors@1.0-service.rc2
3 files changed, 3 insertions, 1 deletions
diff --git a/sensors/1.0/default/Android.bp b/sensors/1.0/default/Android.bp
index 994febe22a..3930504c9f 100644
--- a/sensors/1.0/default/Android.bp
+++ b/sensors/1.0/default/Android.bp
@@ -1,5 +1,6 @@
cc_library_shared {
name: "android.hardware.sensors@1.0-impl",
+ proprietary: true,
relative_install_path: "hw",
srcs: ["Sensors.cpp"],
shared_libs: [
diff --git a/sensors/1.0/default/Android.mk b/sensors/1.0/default/Android.mk
index f37c3cb8fe..6a1aab4249 100644
--- a/sensors/1.0/default/Android.mk
+++ b/sensors/1.0/default/Android.mk
@@ -2,6 +2,7 @@ LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE_RELATIVE_PATH := hw
+LOCAL_PROPRIETARY_MODULE := true
LOCAL_MODULE := android.hardware.sensors@1.0-service
LOCAL_INIT_RC := android.hardware.sensors@1.0-service.rc
LOCAL_SRC_FILES := \
diff --git a/sensors/1.0/default/android.hardware.sensors@1.0-service.rc b/sensors/1.0/default/android.hardware.sensors@1.0-service.rc
index 2cba0fc0cb..2360863a04 100644
--- a/sensors/1.0/default/android.hardware.sensors@1.0-service.rc
+++ b/sensors/1.0/default/android.hardware.sensors@1.0-service.rc
@@ -1,4 +1,4 @@
-service sensors-hal-1-0 /system/bin/hw/android.hardware.sensors@1.0-service
+service sensors-hal-1-0 /vendor/bin/hw/android.hardware.sensors@1.0-service
class main
user system
group system readproc