diff options
author | Tri Vo | 2017-02-07 21:13:25 -0600 |
---|---|---|
committer | Tri Vo | 2017-02-07 21:13:28 -0600 |
commit | ce608bec74a947ebd9875004dc5dc4594629c440 (patch) | |
tree | 74ff1a4436fc0e5cffaaa5fe731bb1089a98f35d /light/2.0/Android.bp | |
parent | bd397ba5e12238e098e9d8379f5008952e7a368b (diff) | |
download | platform-hardware-interfaces-ce608bec74a947ebd9875004dc5dc4594629c440.tar.gz platform-hardware-interfaces-ce608bec74a947ebd9875004dc5dc4594629c440.tar.xz platform-hardware-interfaces-ce608bec74a947ebd9875004dc5dc4594629c440.zip |
Migrate driver/profiler to test/vts-testcase/hal.
Bug: 34893894
Test: mmma hardware/interfaces
Change-Id: Ic72716577a5f93700c5056986aff55a76b170b5d
Diffstat (limited to 'light/2.0/Android.bp')
-rw-r--r-- | light/2.0/Android.bp | 111 |
1 files changed, 8 insertions, 103 deletions
diff --git a/light/2.0/Android.bp b/light/2.0/Android.bp index 928f1c30..74c8e504 100644 --- a/light/2.0/Android.bp +++ b/light/2.0/Android.bp | |||
@@ -1,5 +1,13 @@ | |||
1 | // This file is autogenerated by hidl-gen. Do not edit manually. | 1 | // This file is autogenerated by hidl-gen. Do not edit manually. |
2 | 2 | ||
3 | filegroup { | ||
4 | name: "android.hardware.light@2.0_hal", | ||
5 | srcs: [ | ||
6 | "types.hal", | ||
7 | "ILight.hal", | ||
8 | ], | ||
9 | } | ||
10 | |||
3 | genrule { | 11 | genrule { |
4 | name: "android.hardware.light@2.0_genc++", | 12 | name: "android.hardware.light@2.0_genc++", |
5 | tools: ["hidl-gen"], | 13 | tools: ["hidl-gen"], |
@@ -54,106 +62,3 @@ cc_library_shared { | |||
54 | "android.hidl.base@1.0", | 62 | "android.hidl.base@1.0", |
55 | ], | 63 | ], |
56 | } | 64 | } |
57 | |||
58 | genrule { | ||
59 | name: "android.hardware.light.vts.driver@2.0_genc++", | ||
60 | tools: ["hidl-gen", "vtsc"], | ||
61 | cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.light@2.0 && $(location vtsc) -mDRIVER -tSOURCE -b$(genDir) android/hardware/light/2.0/ $(genDir)/android/hardware/light/2.0/", | ||
62 | srcs: [ | ||
63 | "types.hal", | ||
64 | "ILight.hal", | ||
65 | ], | ||
66 | out: [ | ||
67 | "android/hardware/light/2.0/types.vts.cpp", | ||
68 | "android/hardware/light/2.0/Light.vts.cpp", | ||
69 | ], | ||
70 | } | ||
71 | |||
72 | genrule { | ||
73 | name: "android.hardware.light.vts.driver@2.0_genc++_headers", | ||
74 | tools: ["hidl-gen", "vtsc"], | ||
75 | cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.light@2.0 && $(location vtsc) -mDRIVER -tHEADER -b$(genDir) android/hardware/light/2.0/ $(genDir)/android/hardware/light/2.0/", | ||
76 | srcs: [ | ||
77 | "types.hal", | ||
78 | "ILight.hal", | ||
79 | ], | ||
80 | out: [ | ||
81 | "android/hardware/light/2.0/types.vts.h", | ||
82 | "android/hardware/light/2.0/Light.vts.h", | ||
83 | ], | ||
84 | } | ||
85 | |||
86 | cc_library_shared { | ||
87 | name: "android.hardware.light.vts.driver@2.0", | ||
88 | generated_sources: ["android.hardware.light.vts.driver@2.0_genc++"], | ||
89 | generated_headers: ["android.hardware.light.vts.driver@2.0_genc++_headers"], | ||
90 | export_generated_headers: ["android.hardware.light.vts.driver@2.0_genc++_headers"], | ||
91 | shared_libs: [ | ||
92 | "libhidlbase", | ||
93 | "libhidltransport", | ||
94 | "libhwbinder", | ||
95 | "liblog", | ||
96 | "libutils", | ||
97 | "libcutils", | ||
98 | "libvts_common", | ||
99 | "libvts_datatype", | ||
100 | "libvts_measurement", | ||
101 | "libvts_multidevice_proto", | ||
102 | "libcamera_metadata", | ||
103 | "libprotobuf-cpp-full", | ||
104 | "android.hidl.base@1.0", | ||
105 | "android.hardware.light@2.0", | ||
106 | ], | ||
107 | export_shared_lib_headers: [ | ||
108 | "libhidlbase", | ||
109 | "libhidltransport", | ||
110 | "libhwbinder", | ||
111 | "libutils", | ||
112 | "android.hidl.base@1.0", | ||
113 | ], | ||
114 | } | ||
115 | |||
116 | genrule { | ||
117 | name: "android.hardware.light@2.0-vts.profiler_genc++", | ||
118 | tools: ["hidl-gen", "vtsc"], | ||
119 | cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.light@2.0 && $(location vtsc) -mPROFILER -tSOURCE -b$(genDir) android/hardware/light/2.0/ $(genDir)/android/hardware/light/2.0/", | ||
120 | srcs: [ | ||
121 | "types.hal", | ||
122 | "ILight.hal", | ||
123 | ], | ||
124 | out: [ | ||
125 | "android/hardware/light/2.0/types.vts.cpp", | ||
126 | "android/hardware/light/2.0/Light.vts.cpp", | ||
127 | ], | ||
128 | } | ||
129 | |||
130 | genrule { | ||
131 | name: "android.hardware.light@2.0-vts.profiler_genc++_headers", | ||
132 | tools: ["hidl-gen", "vtsc"], | ||
133 | cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.light@2.0 && $(location vtsc) -mPROFILER -tHEADER -b$(genDir) android/hardware/light/2.0/ $(genDir)/android/hardware/light/2.0/", | ||
134 | srcs: [ | ||
135 | "types.hal", | ||
136 | "ILight.hal", | ||
137 | ], | ||
138 | out: [ | ||
139 | "android/hardware/light/2.0/types.vts.h", | ||
140 | "android/hardware/light/2.0/Light.vts.h", | ||
141 | ], | ||
142 | } | ||
143 | |||
144 | cc_library_shared { | ||
145 | name: "android.hardware.light@2.0-vts.profiler", | ||
146 | generated_sources: ["android.hardware.light@2.0-vts.profiler_genc++"], | ||
147 | generated_headers: ["android.hardware.light@2.0-vts.profiler_genc++_headers"], | ||
148 | export_generated_headers: ["android.hardware.light@2.0-vts.profiler_genc++_headers"], | ||
149 | shared_libs: [ | ||
150 | "libbase", | ||
151 | "libhidlbase", | ||
152 | "libhidltransport", | ||
153 | "libvts_profiling", | ||
154 | "libvts_multidevice_proto", | ||
155 | "libprotobuf-cpp-full", | ||
156 | "android.hidl.base@1.0", | ||
157 | "android.hardware.light@2.0", | ||
158 | ], | ||
159 | } | ||