From a0da1a1c3dadac195e598890360c7b9226874ba8 Mon Sep 17 00:00:00 2001 From: Steven Moreland Date: Mon, 13 Feb 2017 09:59:06 -0800 Subject: 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 --- contexthub/1.0/default/Android.bp | 1 + contexthub/1.0/default/Android.mk | 1 + contexthub/1.0/default/android.hardware.contexthub@1.0-service.rc | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) (limited to 'contexthub') diff --git a/contexthub/1.0/default/Android.bp b/contexthub/1.0/default/Android.bp index 7c5f79d70..0e1dc7758 100644 --- a/contexthub/1.0/default/Android.bp +++ b/contexthub/1.0/default/Android.bp @@ -16,6 +16,7 @@ cc_library_shared { name: "android.hardware.contexthub@1.0-impl", + proprietary: true, relative_install_path: "hw", srcs: ["Contexthub.cpp"], shared_libs: [ diff --git a/contexthub/1.0/default/Android.mk b/contexthub/1.0/default/Android.mk index ad40878ce..cc36b7f5c 100644 --- a/contexthub/1.0/default/Android.mk +++ b/contexthub/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.contexthub@1.0-service LOCAL_INIT_RC := android.hardware.contexthub@1.0-service.rc LOCAL_SRC_FILES := \ diff --git a/contexthub/1.0/default/android.hardware.contexthub@1.0-service.rc b/contexthub/1.0/default/android.hardware.contexthub@1.0-service.rc index 8dba85f5c..5677ec296 100644 --- a/contexthub/1.0/default/android.hardware.contexthub@1.0-service.rc +++ b/contexthub/1.0/default/android.hardware.contexthub@1.0-service.rc @@ -1,4 +1,4 @@ -service contexthub-hal-1-0 /system/bin/hw/android.hardware.contexthub@1.0-service +service contexthub-hal-1-0 /vendor/bin/hw/android.hardware.contexthub@1.0-service class hal user system group system -- cgit v1.2.3