From ce53d14f0645b6050c2b6358cf5488701ec3d0f4 Mon Sep 17 00:00:00 2001 From: Paul Keith Date: Sat, 19 Jan 2019 18:03:15 +0100 Subject: livedisplay: legacymm: Wire it up Change-Id: Ic580ceb333c361444d4e009db1a34ccca8fbbbfc --- legacymm/Android.bp | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) (limited to 'legacymm/Android.bp') diff --git a/legacymm/Android.bp b/legacymm/Android.bp index 701bb51..32ed897 100644 --- a/legacymm/Android.bp +++ b/legacymm/Android.bp @@ -12,27 +12,22 @@ // See the License for the specific language governing permissions and // limitations under the License. -cc_library_shared { - // FIXME: this should only be -impl for a passthrough hal. - // In most cases, to convert this to a binderized implementation, you should: - // - change '-impl' to '-service' here and make it a cc_binary instead of a - // cc_library_shared. - // - add a *.rc file for this module. - // - delete HIDL_FETCH_I* functions. - // - call configureRpcThreadpool and registerAsService on the instance. - // You may also want to append '-impl/-service' with a specific identifier like - // '-vendor' or '-' etc to distinguish it. - name: "vendor.lineage.livedisplay@2.0-impl", +cc_binary { + name: "vendor.lineage.livedisplay@2.0-service-legacymm", + init_rc: ["vendor.lineage.livedisplay@2.0-service-legacymm.rc"], + defaults: ["hidl_defaults"], relative_install_path: "hw", - // FIXME: this should be 'vendor: true' for modules that will eventually be - // on AOSP. proprietary: true, srcs: [ "ColorBalance.cpp", "DisplayModes.cpp", "PictureAdjustment.cpp", + "service.cpp", ], shared_libs: [ + "libbase", + "libbinder", + "libdl", "libhidlbase", "libhidltransport", "libutils", -- cgit v1.2.3