diff options
author | Paul Keith <javelinanddart@gmail.com> | 2019-01-18 17:58:26 +0100 |
---|---|---|
committer | Luca Stefani <luca.stefani.ge1@gmail.com> | 2019-02-04 14:43:29 +0100 |
commit | b49ed5560006528f0813838108d9b30fe11b331c (patch) | |
tree | ba91ba62cb8b6c7417a86d833794361487a9edcb /Android.bp | |
parent | 7368c8e98850c5c32b9a702ab1bad5aeab616faf (diff) | |
download | lineage-sdk-b49ed5560006528f0813838108d9b30fe11b331c.tar.gz lineage-sdk-b49ed5560006528f0813838108d9b30fe11b331c.tar.bz2 lineage-sdk-b49ed5560006528f0813838108d9b30fe11b331c.zip |
sdk: Add HIDL compat in LineageHardwareManager
* While we're at it, hide the use of getSupportedFeatures(),
since it only works for lineagehw java features, not hidl
* Cleanup some minor styling/organization issues
Change-Id: I905010bc7c6d7d8578eeca501be23f665127aa27
Diffstat (limited to 'Android.bp')
-rw-r--r-- | Android.bp | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -1,5 +1,5 @@ // -// Copyright (C) 2018 The LineageOS Project +// Copyright (C) 2018-2019 The LineageOS Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -61,6 +61,11 @@ lineage_sdk_LOCAL_JAVA_LIBRARIES = [ "android-support-v14-preference", ] +lineage_sdk_LOCAL_STATIC_JAVA_LIBRARIES = [ + "vendor.lineage.livedisplay-V2.0-java", + "vendor.lineage.touch-V1.0-java", +] + // READ ME: ######################################################## // // When updating this list of aidl files, consider if that aidl is @@ -74,7 +79,7 @@ lineage_sdk_LOCAL_JAVA_LIBRARIES = [ java_library { name: "org.lineageos.platform", - static_libs: ["telephony-ext"], + static_libs: ["telephony-ext"] + lineage_sdk_LOCAL_STATIC_JAVA_LIBRARIES, libs: [ "services", @@ -101,7 +106,7 @@ java_library { java_library_static { name: "org.lineageos.platform.internal", required: ["services"], - static_libs: ["telephony-ext"], + static_libs: ["telephony-ext"] + lineage_sdk_LOCAL_STATIC_JAVA_LIBRARIES, libs: lineage_sdk_LOCAL_JAVA_LIBRARIES, srcs: [ @@ -125,6 +130,7 @@ java_library_static { name: "org.lineageos.platform.sdk", required: ["services"], libs: lineage_sdk_LOCAL_JAVA_LIBRARIES, + static_libs: lineage_sdk_LOCAL_STATIC_JAVA_LIBRARIES, srcs: [ lineage_sdk_src + "/**/*.java", |