| 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: "[email protected]", |
| //relative_install_path: "hw", |
| // FIXME: this should be 'vendor: true' for modules that will eventually be |
| // on AOSP. |
| vendor: true, |
| srcs: [ |
| "1.0/esehal/src/checksum.c", |
| "1.0/esehal/src/iso7816_t1.c", |
| "1.0/esehal/src/libse-gto.c", |
| "1.0/esehal/src/spi.c", |
| "1.0/esehal/src/transport.c", |
| "1.0/esehal/src/log.c", |
| "1.0/SecureElement.cpp", |
| ], |
| |
| local_include_dirs: [ |
| "1.0/esehal/src", |
| ], |
| |
| cflags: [ |
| "-DANDROID", |
| "-DENABLE_LOGGING=1", |
| "-DENABLE_DEBUG=1", |
| "-Wno-unused-parameter", |
| "-Wno-unused-private-field", |
| "-Wno-error", |
| "-Wreturn-type", |
| ], |
| |
| shared_libs: [ |
| "libbase", |
| "libcutils", |
| "libhardware", |
| "libhidlbase", |
| "libhidltransport", |
| "libhwbinder", |
| "liblog", |
| "libutils", |
| "[email protected]", |
| ], |
| |
| } |
| |
| cc_binary { |
| name: "[email protected]", |
| relative_install_path: "hw", |
| init_rc: ["1.0/[email protected]"], |
| vendor: true, |
| defaults: ["hidl_defaults"], |
| srcs: [ |
| "1.0/GtoService.cpp", |
| ], |
| |
| shared_libs: [ |
| "[email protected]", |
| "[email protected]", |
| "libbase", |
| "libcutils", |
| "libhardware", |
| "libhidlbase", |
| "libhidltransport", |
| "libhwbinder", |
| "liblog", |
| "libutils", |
| ], |
| } |
| |
| 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: "[email protected]", |
| //relative_install_path: "hw", |
| // FIXME: this should be 'vendor: true' for modules that will eventually be |
| // on AOSP. |
| vendor: true, |
| srcs: [ |
| "1.0/esehal/src/checksum.c", |
| "1.0/esehal/src/iso7816_t1.c", |
| "1.0/esehal/src/libse-gto.c", |
| "1.0/esehal/src/spi.c", |
| "1.0/esehal/src/transport.c", |
| "1.0/esehal/src/log.c", |
| "1.1/SecureElement.cpp", |
| ], |
| |
| local_include_dirs: [ |
| "1.0/esehal/src", |
| ], |
| |
| cflags: [ |
| "-DANDROID", |
| "-DENABLE_LOGGING=1", |
| "-DENABLE_DEBUG=1", |
| "-Wno-unused-parameter", |
| "-Wno-unused-private-field", |
| "-Wno-error", |
| "-Wreturn-type", |
| ], |
| |
| shared_libs: [ |
| "libbase", |
| "libcutils", |
| "libhardware", |
| "libhidlbase", |
| "libhidltransport", |
| "libhwbinder", |
| "liblog", |
| "libutils", |
| "[email protected]", |
| "[email protected]", |
| ], |
| |
| } |
| |
| cc_binary { |
| name: "[email protected]", |
| relative_install_path: "hw", |
| init_rc: ["1.1/[email protected]"], |
| vendor: true, |
| defaults: ["hidl_defaults"], |
| srcs: [ |
| "1.1/GtoService.cpp", |
| ], |
| |
| shared_libs: [ |
| "[email protected]", |
| "[email protected]", |
| "[email protected]", |
| "[email protected]", |
| "libbase", |
| "libcutils", |
| "libhardware", |
| "libhidlbase", |
| "libhidltransport", |
| "libhwbinder", |
| "liblog", |
| "libutils", |
| ], |
| } |
| |
| 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: "[email protected]", |
| //relative_install_path: "hw", |
| // FIXME: this should be 'vendor: true' for modules that will eventually be |
| // on AOSP. |
| vendor: true, |
| srcs: [ |
| "1.0/esehal/src/checksum.c", |
| "1.0/esehal/src/iso7816_t1.c", |
| "1.0/esehal/src/libse-gto.c", |
| "1.0/esehal/src/spi.c", |
| "1.0/esehal/src/transport.c", |
| "1.0/esehal/src/log.c", |
| "1.2/SecureElement.cpp", |
| ], |
| |
| local_include_dirs: [ |
| "1.0/esehal/src", |
| ], |
| |
| cflags: [ |
| "-DANDROID", |
| "-DENABLE_LOGGING=1", |
| "-DENABLE_DEBUG=1", |
| "-Wno-unused-parameter", |
| "-Wno-unused-private-field", |
| "-Wno-error", |
| "-Wreturn-type", |
| ], |
| |
| shared_libs: [ |
| "libbase", |
| "libcutils", |
| "libhardware", |
| "libhidlbase", |
| "libhidltransport", |
| "libhwbinder", |
| "liblog", |
| "libutils", |
| "[email protected]", |
| "[email protected]", |
| "[email protected]", |
| ], |
| |
| } |
| |
| cc_binary { |
| name: "[email protected]", |
| relative_install_path: "hw", |
| init_rc: ["1.2/[email protected]"], |
| vendor: true, |
| defaults: ["hidl_defaults"], |
| srcs: [ |
| "1.2/GtoService.cpp", |
| ], |
| |
| shared_libs: [ |
| "[email protected]", |
| "[email protected]", |
| "[email protected]", |
| "[email protected]", |
| "[email protected]", |
| "[email protected]", |
| "libbase", |
| "libcutils", |
| "libhardware", |
| "libhidlbase", |
| "libhidltransport", |
| "libhwbinder", |
| "liblog", |
| "libutils", |
| ], |
| } |