diff options
author | Paul Keith <javelinanddart@gmail.com> | 2019-01-19 18:03:15 +0100 |
---|---|---|
committer | dianlujitao <dianlujitao@lineageos.org> | 2019-02-04 11:35:34 +0800 |
commit | ce53d14f0645b6050c2b6358cf5488701ec3d0f4 (patch) | |
tree | f611009694c4121f41ccde09800964add9cd6a68 /legacymm/Android.bp | |
parent | c6e1c35a9c4c06ba8397cd67e835487527b1cc1d (diff) | |
download | android_hardware_lineage_livedisplay-ce53d14f0645b6050c2b6358cf5488701ec3d0f4.tar.gz android_hardware_lineage_livedisplay-ce53d14f0645b6050c2b6358cf5488701ec3d0f4.tar.bz2 android_hardware_lineage_livedisplay-ce53d14f0645b6050c2b6358cf5488701ec3d0f4.zip |
livedisplay: legacymm: Wire it up
Change-Id: Ic580ceb333c361444d4e009db1a34ccca8fbbbfc
Diffstat (limited to 'legacymm/Android.bp')
-rw-r--r-- | legacymm/Android.bp | 21 |
1 files changed, 8 insertions, 13 deletions
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 '-<hardware identifier>' 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", |