diff options
Diffstat (limited to 'cryptfshw/1.0/Android.bp')
-rw-r--r-- | cryptfshw/1.0/Android.bp | 26 |
1 files changed, 9 insertions, 17 deletions
diff --git a/cryptfshw/1.0/Android.bp b/cryptfshw/1.0/Android.bp index 8670d24..fe511ff 100644 --- a/cryptfshw/1.0/Android.bp +++ b/cryptfshw/1.0/Android.bp @@ -12,28 +12,20 @@ // 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.qti.hardware.cryptfshw@1.0-impl", - relative_install_path: "hw", - // FIXME: this should be 'vendor: true' for modules that will eventually be - // on AOSP. - proprietary: true, +cc_library_static { + name: "vendor.qti.hardware.cryptfshw@1.0-base", + vendor: true, + defaults: ["hidl_defaults"], srcs: [ "CryptfsHw.cpp", + "CryptfsHwUtils.cpp", ], + export_include_dirs: ["."], + header_libs: ["generated_kernel_headers"], shared_libs: [ + "libbase", "libhidlbase", - "libhidltransport", "libutils", "vendor.qti.hardware.cryptfshw@1.0", - ], + ] } |