diff options
author | Steven Moreland <smoreland@google.com> | 2017-11-13 09:20:37 -0800 |
---|---|---|
committer | Steven Moreland <smoreland@google.com> | 2017-11-13 10:00:18 -0800 |
commit | 8db261bc99e1e673d3eb6dad73278e8a5311aadd (patch) | |
tree | c722c5b2d801da80ea171ab03d1ae4d85059ec1c /gatekeeper/1.0 | |
parent | 446e97afaf2619030c44b23a07c1074349ca816f (diff) | |
download | platform_hardware_interfaces-8db261bc99e1e673d3eb6dad73278e8a5311aadd.tar.gz platform_hardware_interfaces-8db261bc99e1e673d3eb6dad73278e8a5311aadd.tar.bz2 platform_hardware_interfaces-8db261bc99e1e673d3eb6dad73278e8a5311aadd.zip |
Updating makefiles for hidl_interface.
Bug: 64487114
Test: manual
Merged-In: Ie13d9e014cf2b81c18c67f551b4644fb9f0ba812
Change-Id: Ie13d9e014cf2b81c18c67f551b4644fb9f0ba812
Diffstat (limited to 'gatekeeper/1.0')
-rw-r--r-- | gatekeeper/1.0/Android.bp | 168 |
1 files changed, 11 insertions, 157 deletions
diff --git a/gatekeeper/1.0/Android.bp b/gatekeeper/1.0/Android.bp index dad29790b8..7dc2133ff6 100644 --- a/gatekeeper/1.0/Android.bp +++ b/gatekeeper/1.0/Android.bp @@ -1,168 +1,22 @@ -// This file is autogenerated by hidl-gen. Do not edit manually. +// This file is autogenerated by hidl-gen -Landroidbp. -filegroup { - name: "android.hardware.gatekeeper@1.0_hal", - srcs: [ - "types.hal", - "IGatekeeper.hal", - ], -} - -genrule { - name: "android.hardware.gatekeeper@1.0_genc++", - tools: ["hidl-gen"], - cmd: "$(location hidl-gen) -o $(genDir) -Lc++-sources -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.gatekeeper@1.0", - srcs: [ - ":android.hardware.gatekeeper@1.0_hal", - ], - out: [ - "android/hardware/gatekeeper/1.0/types.cpp", - "android/hardware/gatekeeper/1.0/GatekeeperAll.cpp", - ], -} - -genrule { - name: "android.hardware.gatekeeper@1.0_genc++_headers", - tools: ["hidl-gen"], - cmd: "$(location hidl-gen) -o $(genDir) -Lc++-headers -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.gatekeeper@1.0", - srcs: [ - ":android.hardware.gatekeeper@1.0_hal", - ], - out: [ - "android/hardware/gatekeeper/1.0/types.h", - "android/hardware/gatekeeper/1.0/hwtypes.h", - "android/hardware/gatekeeper/1.0/IGatekeeper.h", - "android/hardware/gatekeeper/1.0/IHwGatekeeper.h", - "android/hardware/gatekeeper/1.0/BnHwGatekeeper.h", - "android/hardware/gatekeeper/1.0/BpHwGatekeeper.h", - "android/hardware/gatekeeper/1.0/BsGatekeeper.h", - ], -} - -cc_library { +hidl_interface { name: "android.hardware.gatekeeper@1.0", - defaults: ["hidl-module-defaults"], - generated_sources: ["android.hardware.gatekeeper@1.0_genc++"], - generated_headers: ["android.hardware.gatekeeper@1.0_genc++_headers"], - export_generated_headers: ["android.hardware.gatekeeper@1.0_genc++_headers"], - vendor_available: true, + root: "android.hardware", vndk: { enabled: true, }, - shared_libs: [ - "libhidlbase", - "libhidltransport", - "libhwbinder", - "liblog", - "libutils", - "libcutils", - ], - export_shared_lib_headers: [ - "libhidlbase", - "libhidltransport", - "libhwbinder", - "libutils", - ], -} - -genrule { - name: "android.hardware.gatekeeper-V1.0-java_gen_java", - tools: ["hidl-gen"], - cmd: "$(location hidl-gen) -o $(genDir) -Ljava -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.gatekeeper@1.0", srcs: [ - ":android.hardware.gatekeeper@1.0_hal", - ], - out: [ - "android/hardware/gatekeeper/V1_0/GatekeeperResponse.java", - "android/hardware/gatekeeper/V1_0/GatekeeperStatusCode.java", - "android/hardware/gatekeeper/V1_0/IGatekeeper.java", - ], -} - -java_library { - name: "android.hardware.gatekeeper-V1.0-java", - no_framework_libs: true, - defaults: ["hidl-java-module-defaults"], - srcs: [":android.hardware.gatekeeper-V1.0-java_gen_java"], - libs: [ - "hwbinder", - "android.hidl.base-V1.0-java", - ] -} - -// This package does not export any types. Not creating java constants export. - - -genrule { - name: "android.hardware.gatekeeper@1.0-adapter-helper_genc++", - tools: ["hidl-gen"], - cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-sources -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.gatekeeper@1.0", - srcs: [ - ":android.hardware.gatekeeper@1.0_hal", - ], - out: [ - "android/hardware/gatekeeper/1.0/AGatekeeper.cpp", - ], -} - -genrule { - name: "android.hardware.gatekeeper@1.0-adapter-helper_genc++_headers", - tools: ["hidl-gen"], - cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-headers -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.gatekeeper@1.0", - srcs: [ - ":android.hardware.gatekeeper@1.0_hal", - ], - out: [ - "android/hardware/gatekeeper/1.0/AGatekeeper.h", + "types.hal", + "IGatekeeper.hal", ], -} - -cc_library { - name: "android.hardware.gatekeeper@1.0-adapter-helper", - defaults: ["hidl-module-defaults"], - generated_sources: ["android.hardware.gatekeeper@1.0-adapter-helper_genc++"], - generated_headers: ["android.hardware.gatekeeper@1.0-adapter-helper_genc++_headers"], - export_generated_headers: ["android.hardware.gatekeeper@1.0-adapter-helper_genc++_headers"], - vendor_available: true, - shared_libs: [ - "libhidlbase", - "libhidltransport", - "libhwbinder", - "liblog", - "libutils", - "libcutils", - "libhidladapter", - "android.hardware.gatekeeper@1.0", - "android.hidl.base@1.0-adapter-helper", + interfaces: [ + "android.hidl.base@1.0", ], - export_shared_lib_headers: [ - "libhidlbase", - "libhidltransport", - "libhwbinder", - "libutils", - "libhidladapter", - "android.hardware.gatekeeper@1.0", - "android.hidl.base@1.0-adapter-helper", + types: [ + "GatekeeperResponse", + "GatekeeperStatusCode", ], + gen_java: true, } -genrule { - name: "android.hardware.gatekeeper@1.0-adapter_genc++", - tools: ["hidl-gen"], - cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-main -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.gatekeeper@1.0", - out: ["main.cpp"] -} - -cc_test { - name: "android.hardware.gatekeeper@1.0-adapter", - defaults: ["hidl-module-defaults"], - shared_libs: [ - "libhidladapter", - "libhidlbase", - "libhidltransport", - "libutils", - "android.hardware.gatekeeper@1.0", - "android.hardware.gatekeeper@1.0-adapter-helper", - ], - generated_sources: ["android.hardware.gatekeeper@1.0-adapter_genc++"], -} |