1# This file is autogenerated by hidl-gen. Do not edit manually.
2
3LOCAL_PATH := $(call my-dir)
4
5################################################################################
6
7include $(CLEAR_VARS)
8LOCAL_MODULE := android.hardware.gnss-V1.0-java
9LOCAL_MODULE_CLASS := JAVA_LIBRARIES
10
11intermediates := $(call local-generated-sources-dir, COMMON)
12
13HIDL := $(HOST_OUT_EXECUTABLES)/hidl-gen$(HOST_EXECUTABLE_SUFFIX)
14
15LOCAL_JAVA_LIBRARIES := \
16    android.hidl.base-V1.0-java \
17
18
19#
20# Build types.hal (GnssConstellationType)
21#
22GEN := $(intermediates)/android/hardware/gnss/V1_0/GnssConstellationType.java
23$(GEN): $(HIDL)
24$(GEN): PRIVATE_HIDL := $(HIDL)
25$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal
26$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
27$(GEN): PRIVATE_CUSTOM_TOOL = \
28        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
29        -Ljava \
30        -randroid.hardware:hardware/interfaces \
31        -randroid.hidl:system/libhidl/transport \
32        android.hardware.gnss@1.0::types.GnssConstellationType
33
34$(GEN): $(LOCAL_PATH)/types.hal
35	$(transform-generated-source)
36LOCAL_GENERATED_SOURCES += $(GEN)
37
38#
39# Build types.hal (GnssLocation)
40#
41GEN := $(intermediates)/android/hardware/gnss/V1_0/GnssLocation.java
42$(GEN): $(HIDL)
43$(GEN): PRIVATE_HIDL := $(HIDL)
44$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal
45$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
46$(GEN): PRIVATE_CUSTOM_TOOL = \
47        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
48        -Ljava \
49        -randroid.hardware:hardware/interfaces \
50        -randroid.hidl:system/libhidl/transport \
51        android.hardware.gnss@1.0::types.GnssLocation
52
53$(GEN): $(LOCAL_PATH)/types.hal
54	$(transform-generated-source)
55LOCAL_GENERATED_SOURCES += $(GEN)
56
57#
58# Build types.hal (GnssLocationFlags)
59#
60GEN := $(intermediates)/android/hardware/gnss/V1_0/GnssLocationFlags.java
61$(GEN): $(HIDL)
62$(GEN): PRIVATE_HIDL := $(HIDL)
63$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal
64$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
65$(GEN): PRIVATE_CUSTOM_TOOL = \
66        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
67        -Ljava \
68        -randroid.hardware:hardware/interfaces \
69        -randroid.hidl:system/libhidl/transport \
70        android.hardware.gnss@1.0::types.GnssLocationFlags
71
72$(GEN): $(LOCAL_PATH)/types.hal
73	$(transform-generated-source)
74LOCAL_GENERATED_SOURCES += $(GEN)
75
76#
77# Build types.hal (GnssMax)
78#
79GEN := $(intermediates)/android/hardware/gnss/V1_0/GnssMax.java
80$(GEN): $(HIDL)
81$(GEN): PRIVATE_HIDL := $(HIDL)
82$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal
83$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
84$(GEN): PRIVATE_CUSTOM_TOOL = \
85        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
86        -Ljava \
87        -randroid.hardware:hardware/interfaces \
88        -randroid.hidl:system/libhidl/transport \
89        android.hardware.gnss@1.0::types.GnssMax
90
91$(GEN): $(LOCAL_PATH)/types.hal
92	$(transform-generated-source)
93LOCAL_GENERATED_SOURCES += $(GEN)
94
95#
96# Build IAGnss.hal
97#
98GEN := $(intermediates)/android/hardware/gnss/V1_0/IAGnss.java
99$(GEN): $(HIDL)
100$(GEN): PRIVATE_HIDL := $(HIDL)
101$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IAGnss.hal
102$(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/IAGnssCallback.hal
103$(GEN): $(LOCAL_PATH)/IAGnssCallback.hal
104$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
105$(GEN): PRIVATE_CUSTOM_TOOL = \
106        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
107        -Ljava \
108        -randroid.hardware:hardware/interfaces \
109        -randroid.hidl:system/libhidl/transport \
110        android.hardware.gnss@1.0::IAGnss
111
112$(GEN): $(LOCAL_PATH)/IAGnss.hal
113	$(transform-generated-source)
114LOCAL_GENERATED_SOURCES += $(GEN)
115
116#
117# Build IAGnssCallback.hal
118#
119GEN := $(intermediates)/android/hardware/gnss/V1_0/IAGnssCallback.java
120$(GEN): $(HIDL)
121$(GEN): PRIVATE_HIDL := $(HIDL)
122$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IAGnssCallback.hal
123$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
124$(GEN): PRIVATE_CUSTOM_TOOL = \
125        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
126        -Ljava \
127        -randroid.hardware:hardware/interfaces \
128        -randroid.hidl:system/libhidl/transport \
129        android.hardware.gnss@1.0::IAGnssCallback
130
131$(GEN): $(LOCAL_PATH)/IAGnssCallback.hal
132	$(transform-generated-source)
133LOCAL_GENERATED_SOURCES += $(GEN)
134
135#
136# Build IAGnssRil.hal
137#
138GEN := $(intermediates)/android/hardware/gnss/V1_0/IAGnssRil.java
139$(GEN): $(HIDL)
140$(GEN): PRIVATE_HIDL := $(HIDL)
141$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IAGnssRil.hal
142$(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/IAGnssRilCallback.hal
143$(GEN): $(LOCAL_PATH)/IAGnssRilCallback.hal
144$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
145$(GEN): PRIVATE_CUSTOM_TOOL = \
146        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
147        -Ljava \
148        -randroid.hardware:hardware/interfaces \
149        -randroid.hidl:system/libhidl/transport \
150        android.hardware.gnss@1.0::IAGnssRil
151
152$(GEN): $(LOCAL_PATH)/IAGnssRil.hal
153	$(transform-generated-source)
154LOCAL_GENERATED_SOURCES += $(GEN)
155
156#
157# Build IAGnssRilCallback.hal
158#
159GEN := $(intermediates)/android/hardware/gnss/V1_0/IAGnssRilCallback.java
160$(GEN): $(HIDL)
161$(GEN): PRIVATE_HIDL := $(HIDL)
162$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IAGnssRilCallback.hal
163$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
164$(GEN): PRIVATE_CUSTOM_TOOL = \
165        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
166        -Ljava \
167        -randroid.hardware:hardware/interfaces \
168        -randroid.hidl:system/libhidl/transport \
169        android.hardware.gnss@1.0::IAGnssRilCallback
170
171$(GEN): $(LOCAL_PATH)/IAGnssRilCallback.hal
172	$(transform-generated-source)
173LOCAL_GENERATED_SOURCES += $(GEN)
174
175#
176# Build IGnss.hal
177#
178GEN := $(intermediates)/android/hardware/gnss/V1_0/IGnss.java
179$(GEN): $(HIDL)
180$(GEN): PRIVATE_HIDL := $(HIDL)
181$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IGnss.hal
182$(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/IAGnss.hal
183$(GEN): $(LOCAL_PATH)/IAGnss.hal
184$(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/IAGnssRil.hal
185$(GEN): $(LOCAL_PATH)/IAGnssRil.hal
186$(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/IGnssBatching.hal
187$(GEN): $(LOCAL_PATH)/IGnssBatching.hal
188$(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/IGnssCallback.hal
189$(GEN): $(LOCAL_PATH)/IGnssCallback.hal
190$(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/IGnssConfiguration.hal
191$(GEN): $(LOCAL_PATH)/IGnssConfiguration.hal
192$(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/IGnssDebug.hal
193$(GEN): $(LOCAL_PATH)/IGnssDebug.hal
194$(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/IGnssGeofencing.hal
195$(GEN): $(LOCAL_PATH)/IGnssGeofencing.hal
196$(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/IGnssMeasurement.hal
197$(GEN): $(LOCAL_PATH)/IGnssMeasurement.hal
198$(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/IGnssNavigationMessage.hal
199$(GEN): $(LOCAL_PATH)/IGnssNavigationMessage.hal
200$(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/IGnssNi.hal
201$(GEN): $(LOCAL_PATH)/IGnssNi.hal
202$(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/IGnssXtra.hal
203$(GEN): $(LOCAL_PATH)/IGnssXtra.hal
204$(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/types.hal
205$(GEN): $(LOCAL_PATH)/types.hal
206$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
207$(GEN): PRIVATE_CUSTOM_TOOL = \
208        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
209        -Ljava \
210        -randroid.hardware:hardware/interfaces \
211        -randroid.hidl:system/libhidl/transport \
212        android.hardware.gnss@1.0::IGnss
213
214$(GEN): $(LOCAL_PATH)/IGnss.hal
215	$(transform-generated-source)
216LOCAL_GENERATED_SOURCES += $(GEN)
217
218#
219# Build IGnssBatching.hal
220#
221GEN := $(intermediates)/android/hardware/gnss/V1_0/IGnssBatching.java
222$(GEN): $(HIDL)
223$(GEN): PRIVATE_HIDL := $(HIDL)
224$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IGnssBatching.hal
225$(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/IGnssBatchingCallback.hal
226$(GEN): $(LOCAL_PATH)/IGnssBatchingCallback.hal
227$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
228$(GEN): PRIVATE_CUSTOM_TOOL = \
229        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
230        -Ljava \
231        -randroid.hardware:hardware/interfaces \
232        -randroid.hidl:system/libhidl/transport \
233        android.hardware.gnss@1.0::IGnssBatching
234
235$(GEN): $(LOCAL_PATH)/IGnssBatching.hal
236	$(transform-generated-source)
237LOCAL_GENERATED_SOURCES += $(GEN)
238
239#
240# Build IGnssBatchingCallback.hal
241#
242GEN := $(intermediates)/android/hardware/gnss/V1_0/IGnssBatchingCallback.java
243$(GEN): $(HIDL)
244$(GEN): PRIVATE_HIDL := $(HIDL)
245$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IGnssBatchingCallback.hal
246$(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/types.hal
247$(GEN): $(LOCAL_PATH)/types.hal
248$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
249$(GEN): PRIVATE_CUSTOM_TOOL = \
250        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
251        -Ljava \
252        -randroid.hardware:hardware/interfaces \
253        -randroid.hidl:system/libhidl/transport \
254        android.hardware.gnss@1.0::IGnssBatchingCallback
255
256$(GEN): $(LOCAL_PATH)/IGnssBatchingCallback.hal
257	$(transform-generated-source)
258LOCAL_GENERATED_SOURCES += $(GEN)
259
260#
261# Build IGnssCallback.hal
262#
263GEN := $(intermediates)/android/hardware/gnss/V1_0/IGnssCallback.java
264$(GEN): $(HIDL)
265$(GEN): PRIVATE_HIDL := $(HIDL)
266$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IGnssCallback.hal
267$(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/types.hal
268$(GEN): $(LOCAL_PATH)/types.hal
269$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
270$(GEN): PRIVATE_CUSTOM_TOOL = \
271        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
272        -Ljava \
273        -randroid.hardware:hardware/interfaces \
274        -randroid.hidl:system/libhidl/transport \
275        android.hardware.gnss@1.0::IGnssCallback
276
277$(GEN): $(LOCAL_PATH)/IGnssCallback.hal
278	$(transform-generated-source)
279LOCAL_GENERATED_SOURCES += $(GEN)
280
281#
282# Build IGnssConfiguration.hal
283#
284GEN := $(intermediates)/android/hardware/gnss/V1_0/IGnssConfiguration.java
285$(GEN): $(HIDL)
286$(GEN): PRIVATE_HIDL := $(HIDL)
287$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IGnssConfiguration.hal
288$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
289$(GEN): PRIVATE_CUSTOM_TOOL = \
290        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
291        -Ljava \
292        -randroid.hardware:hardware/interfaces \
293        -randroid.hidl:system/libhidl/transport \
294        android.hardware.gnss@1.0::IGnssConfiguration
295
296$(GEN): $(LOCAL_PATH)/IGnssConfiguration.hal
297	$(transform-generated-source)
298LOCAL_GENERATED_SOURCES += $(GEN)
299
300#
301# Build IGnssDebug.hal
302#
303GEN := $(intermediates)/android/hardware/gnss/V1_0/IGnssDebug.java
304$(GEN): $(HIDL)
305$(GEN): PRIVATE_HIDL := $(HIDL)
306$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IGnssDebug.hal
307$(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/types.hal
308$(GEN): $(LOCAL_PATH)/types.hal
309$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
310$(GEN): PRIVATE_CUSTOM_TOOL = \
311        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
312        -Ljava \
313        -randroid.hardware:hardware/interfaces \
314        -randroid.hidl:system/libhidl/transport \
315        android.hardware.gnss@1.0::IGnssDebug
316
317$(GEN): $(LOCAL_PATH)/IGnssDebug.hal
318	$(transform-generated-source)
319LOCAL_GENERATED_SOURCES += $(GEN)
320
321#
322# Build IGnssGeofenceCallback.hal
323#
324GEN := $(intermediates)/android/hardware/gnss/V1_0/IGnssGeofenceCallback.java
325$(GEN): $(HIDL)
326$(GEN): PRIVATE_HIDL := $(HIDL)
327$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IGnssGeofenceCallback.hal
328$(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/types.hal
329$(GEN): $(LOCAL_PATH)/types.hal
330$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
331$(GEN): PRIVATE_CUSTOM_TOOL = \
332        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
333        -Ljava \
334        -randroid.hardware:hardware/interfaces \
335        -randroid.hidl:system/libhidl/transport \
336        android.hardware.gnss@1.0::IGnssGeofenceCallback
337
338$(GEN): $(LOCAL_PATH)/IGnssGeofenceCallback.hal
339	$(transform-generated-source)
340LOCAL_GENERATED_SOURCES += $(GEN)
341
342#
343# Build IGnssGeofencing.hal
344#
345GEN := $(intermediates)/android/hardware/gnss/V1_0/IGnssGeofencing.java
346$(GEN): $(HIDL)
347$(GEN): PRIVATE_HIDL := $(HIDL)
348$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IGnssGeofencing.hal
349$(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/IGnssGeofenceCallback.hal
350$(GEN): $(LOCAL_PATH)/IGnssGeofenceCallback.hal
351$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
352$(GEN): PRIVATE_CUSTOM_TOOL = \
353        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
354        -Ljava \
355        -randroid.hardware:hardware/interfaces \
356        -randroid.hidl:system/libhidl/transport \
357        android.hardware.gnss@1.0::IGnssGeofencing
358
359$(GEN): $(LOCAL_PATH)/IGnssGeofencing.hal
360	$(transform-generated-source)
361LOCAL_GENERATED_SOURCES += $(GEN)
362
363#
364# Build IGnssMeasurement.hal
365#
366GEN := $(intermediates)/android/hardware/gnss/V1_0/IGnssMeasurement.java
367$(GEN): $(HIDL)
368$(GEN): PRIVATE_HIDL := $(HIDL)
369$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IGnssMeasurement.hal
370$(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/IGnssMeasurementCallback.hal
371$(GEN): $(LOCAL_PATH)/IGnssMeasurementCallback.hal
372$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
373$(GEN): PRIVATE_CUSTOM_TOOL = \
374        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
375        -Ljava \
376        -randroid.hardware:hardware/interfaces \
377        -randroid.hidl:system/libhidl/transport \
378        android.hardware.gnss@1.0::IGnssMeasurement
379
380$(GEN): $(LOCAL_PATH)/IGnssMeasurement.hal
381	$(transform-generated-source)
382LOCAL_GENERATED_SOURCES += $(GEN)
383
384#
385# Build IGnssMeasurementCallback.hal
386#
387GEN := $(intermediates)/android/hardware/gnss/V1_0/IGnssMeasurementCallback.java
388$(GEN): $(HIDL)
389$(GEN): PRIVATE_HIDL := $(HIDL)
390$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IGnssMeasurementCallback.hal
391$(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/types.hal
392$(GEN): $(LOCAL_PATH)/types.hal
393$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
394$(GEN): PRIVATE_CUSTOM_TOOL = \
395        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
396        -Ljava \
397        -randroid.hardware:hardware/interfaces \
398        -randroid.hidl:system/libhidl/transport \
399        android.hardware.gnss@1.0::IGnssMeasurementCallback
400
401$(GEN): $(LOCAL_PATH)/IGnssMeasurementCallback.hal
402	$(transform-generated-source)
403LOCAL_GENERATED_SOURCES += $(GEN)
404
405#
406# Build IGnssNavigationMessage.hal
407#
408GEN := $(intermediates)/android/hardware/gnss/V1_0/IGnssNavigationMessage.java
409$(GEN): $(HIDL)
410$(GEN): PRIVATE_HIDL := $(HIDL)
411$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IGnssNavigationMessage.hal
412$(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/IGnssNavigationMessageCallback.hal
413$(GEN): $(LOCAL_PATH)/IGnssNavigationMessageCallback.hal
414$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
415$(GEN): PRIVATE_CUSTOM_TOOL = \
416        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
417        -Ljava \
418        -randroid.hardware:hardware/interfaces \
419        -randroid.hidl:system/libhidl/transport \
420        android.hardware.gnss@1.0::IGnssNavigationMessage
421
422$(GEN): $(LOCAL_PATH)/IGnssNavigationMessage.hal
423	$(transform-generated-source)
424LOCAL_GENERATED_SOURCES += $(GEN)
425
426#
427# Build IGnssNavigationMessageCallback.hal
428#
429GEN := $(intermediates)/android/hardware/gnss/V1_0/IGnssNavigationMessageCallback.java
430$(GEN): $(HIDL)
431$(GEN): PRIVATE_HIDL := $(HIDL)
432$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IGnssNavigationMessageCallback.hal
433$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
434$(GEN): PRIVATE_CUSTOM_TOOL = \
435        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
436        -Ljava \
437        -randroid.hardware:hardware/interfaces \
438        -randroid.hidl:system/libhidl/transport \
439        android.hardware.gnss@1.0::IGnssNavigationMessageCallback
440
441$(GEN): $(LOCAL_PATH)/IGnssNavigationMessageCallback.hal
442	$(transform-generated-source)
443LOCAL_GENERATED_SOURCES += $(GEN)
444
445#
446# Build IGnssNi.hal
447#
448GEN := $(intermediates)/android/hardware/gnss/V1_0/IGnssNi.java
449$(GEN): $(HIDL)
450$(GEN): PRIVATE_HIDL := $(HIDL)
451$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IGnssNi.hal
452$(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/IGnssNiCallback.hal
453$(GEN): $(LOCAL_PATH)/IGnssNiCallback.hal
454$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
455$(GEN): PRIVATE_CUSTOM_TOOL = \
456        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
457        -Ljava \
458        -randroid.hardware:hardware/interfaces \
459        -randroid.hidl:system/libhidl/transport \
460        android.hardware.gnss@1.0::IGnssNi
461
462$(GEN): $(LOCAL_PATH)/IGnssNi.hal
463	$(transform-generated-source)
464LOCAL_GENERATED_SOURCES += $(GEN)
465
466#
467# Build IGnssNiCallback.hal
468#
469GEN := $(intermediates)/android/hardware/gnss/V1_0/IGnssNiCallback.java
470$(GEN): $(HIDL)
471$(GEN): PRIVATE_HIDL := $(HIDL)
472$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IGnssNiCallback.hal
473$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
474$(GEN): PRIVATE_CUSTOM_TOOL = \
475        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
476        -Ljava \
477        -randroid.hardware:hardware/interfaces \
478        -randroid.hidl:system/libhidl/transport \
479        android.hardware.gnss@1.0::IGnssNiCallback
480
481$(GEN): $(LOCAL_PATH)/IGnssNiCallback.hal
482	$(transform-generated-source)
483LOCAL_GENERATED_SOURCES += $(GEN)
484
485#
486# Build IGnssXtra.hal
487#
488GEN := $(intermediates)/android/hardware/gnss/V1_0/IGnssXtra.java
489$(GEN): $(HIDL)
490$(GEN): PRIVATE_HIDL := $(HIDL)
491$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IGnssXtra.hal
492$(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/IGnssXtraCallback.hal
493$(GEN): $(LOCAL_PATH)/IGnssXtraCallback.hal
494$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
495$(GEN): PRIVATE_CUSTOM_TOOL = \
496        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
497        -Ljava \
498        -randroid.hardware:hardware/interfaces \
499        -randroid.hidl:system/libhidl/transport \
500        android.hardware.gnss@1.0::IGnssXtra
501
502$(GEN): $(LOCAL_PATH)/IGnssXtra.hal
503	$(transform-generated-source)
504LOCAL_GENERATED_SOURCES += $(GEN)
505
506#
507# Build IGnssXtraCallback.hal
508#
509GEN := $(intermediates)/android/hardware/gnss/V1_0/IGnssXtraCallback.java
510$(GEN): $(HIDL)
511$(GEN): PRIVATE_HIDL := $(HIDL)
512$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IGnssXtraCallback.hal
513$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
514$(GEN): PRIVATE_CUSTOM_TOOL = \
515        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
516        -Ljava \
517        -randroid.hardware:hardware/interfaces \
518        -randroid.hidl:system/libhidl/transport \
519        android.hardware.gnss@1.0::IGnssXtraCallback
520
521$(GEN): $(LOCAL_PATH)/IGnssXtraCallback.hal
522	$(transform-generated-source)
523LOCAL_GENERATED_SOURCES += $(GEN)
524include $(BUILD_JAVA_LIBRARY)
525
526
527################################################################################
528
529include $(CLEAR_VARS)
530LOCAL_MODULE := android.hardware.gnss-V1.0-java-static
531LOCAL_MODULE_CLASS := JAVA_LIBRARIES
532
533intermediates := $(call local-generated-sources-dir, COMMON)
534
535HIDL := $(HOST_OUT_EXECUTABLES)/hidl-gen$(HOST_EXECUTABLE_SUFFIX)
536
537LOCAL_STATIC_JAVA_LIBRARIES := \
538    android.hidl.base-V1.0-java-static \
539
540
541#
542# Build types.hal (GnssConstellationType)
543#
544GEN := $(intermediates)/android/hardware/gnss/V1_0/GnssConstellationType.java
545$(GEN): $(HIDL)
546$(GEN): PRIVATE_HIDL := $(HIDL)
547$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal
548$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
549$(GEN): PRIVATE_CUSTOM_TOOL = \
550        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
551        -Ljava \
552        -randroid.hardware:hardware/interfaces \
553        -randroid.hidl:system/libhidl/transport \
554        android.hardware.gnss@1.0::types.GnssConstellationType
555
556$(GEN): $(LOCAL_PATH)/types.hal
557	$(transform-generated-source)
558LOCAL_GENERATED_SOURCES += $(GEN)
559
560#
561# Build types.hal (GnssLocation)
562#
563GEN := $(intermediates)/android/hardware/gnss/V1_0/GnssLocation.java
564$(GEN): $(HIDL)
565$(GEN): PRIVATE_HIDL := $(HIDL)
566$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal
567$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
568$(GEN): PRIVATE_CUSTOM_TOOL = \
569        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
570        -Ljava \
571        -randroid.hardware:hardware/interfaces \
572        -randroid.hidl:system/libhidl/transport \
573        android.hardware.gnss@1.0::types.GnssLocation
574
575$(GEN): $(LOCAL_PATH)/types.hal
576	$(transform-generated-source)
577LOCAL_GENERATED_SOURCES += $(GEN)
578
579#
580# Build types.hal (GnssLocationFlags)
581#
582GEN := $(intermediates)/android/hardware/gnss/V1_0/GnssLocationFlags.java
583$(GEN): $(HIDL)
584$(GEN): PRIVATE_HIDL := $(HIDL)
585$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal
586$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
587$(GEN): PRIVATE_CUSTOM_TOOL = \
588        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
589        -Ljava \
590        -randroid.hardware:hardware/interfaces \
591        -randroid.hidl:system/libhidl/transport \
592        android.hardware.gnss@1.0::types.GnssLocationFlags
593
594$(GEN): $(LOCAL_PATH)/types.hal
595	$(transform-generated-source)
596LOCAL_GENERATED_SOURCES += $(GEN)
597
598#
599# Build types.hal (GnssMax)
600#
601GEN := $(intermediates)/android/hardware/gnss/V1_0/GnssMax.java
602$(GEN): $(HIDL)
603$(GEN): PRIVATE_HIDL := $(HIDL)
604$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/types.hal
605$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
606$(GEN): PRIVATE_CUSTOM_TOOL = \
607        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
608        -Ljava \
609        -randroid.hardware:hardware/interfaces \
610        -randroid.hidl:system/libhidl/transport \
611        android.hardware.gnss@1.0::types.GnssMax
612
613$(GEN): $(LOCAL_PATH)/types.hal
614	$(transform-generated-source)
615LOCAL_GENERATED_SOURCES += $(GEN)
616
617#
618# Build IAGnss.hal
619#
620GEN := $(intermediates)/android/hardware/gnss/V1_0/IAGnss.java
621$(GEN): $(HIDL)
622$(GEN): PRIVATE_HIDL := $(HIDL)
623$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IAGnss.hal
624$(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/IAGnssCallback.hal
625$(GEN): $(LOCAL_PATH)/IAGnssCallback.hal
626$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
627$(GEN): PRIVATE_CUSTOM_TOOL = \
628        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
629        -Ljava \
630        -randroid.hardware:hardware/interfaces \
631        -randroid.hidl:system/libhidl/transport \
632        android.hardware.gnss@1.0::IAGnss
633
634$(GEN): $(LOCAL_PATH)/IAGnss.hal
635	$(transform-generated-source)
636LOCAL_GENERATED_SOURCES += $(GEN)
637
638#
639# Build IAGnssCallback.hal
640#
641GEN := $(intermediates)/android/hardware/gnss/V1_0/IAGnssCallback.java
642$(GEN): $(HIDL)
643$(GEN): PRIVATE_HIDL := $(HIDL)
644$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IAGnssCallback.hal
645$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
646$(GEN): PRIVATE_CUSTOM_TOOL = \
647        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
648        -Ljava \
649        -randroid.hardware:hardware/interfaces \
650        -randroid.hidl:system/libhidl/transport \
651        android.hardware.gnss@1.0::IAGnssCallback
652
653$(GEN): $(LOCAL_PATH)/IAGnssCallback.hal
654	$(transform-generated-source)
655LOCAL_GENERATED_SOURCES += $(GEN)
656
657#
658# Build IAGnssRil.hal
659#
660GEN := $(intermediates)/android/hardware/gnss/V1_0/IAGnssRil.java
661$(GEN): $(HIDL)
662$(GEN): PRIVATE_HIDL := $(HIDL)
663$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IAGnssRil.hal
664$(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/IAGnssRilCallback.hal
665$(GEN): $(LOCAL_PATH)/IAGnssRilCallback.hal
666$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
667$(GEN): PRIVATE_CUSTOM_TOOL = \
668        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
669        -Ljava \
670        -randroid.hardware:hardware/interfaces \
671        -randroid.hidl:system/libhidl/transport \
672        android.hardware.gnss@1.0::IAGnssRil
673
674$(GEN): $(LOCAL_PATH)/IAGnssRil.hal
675	$(transform-generated-source)
676LOCAL_GENERATED_SOURCES += $(GEN)
677
678#
679# Build IAGnssRilCallback.hal
680#
681GEN := $(intermediates)/android/hardware/gnss/V1_0/IAGnssRilCallback.java
682$(GEN): $(HIDL)
683$(GEN): PRIVATE_HIDL := $(HIDL)
684$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IAGnssRilCallback.hal
685$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
686$(GEN): PRIVATE_CUSTOM_TOOL = \
687        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
688        -Ljava \
689        -randroid.hardware:hardware/interfaces \
690        -randroid.hidl:system/libhidl/transport \
691        android.hardware.gnss@1.0::IAGnssRilCallback
692
693$(GEN): $(LOCAL_PATH)/IAGnssRilCallback.hal
694	$(transform-generated-source)
695LOCAL_GENERATED_SOURCES += $(GEN)
696
697#
698# Build IGnss.hal
699#
700GEN := $(intermediates)/android/hardware/gnss/V1_0/IGnss.java
701$(GEN): $(HIDL)
702$(GEN): PRIVATE_HIDL := $(HIDL)
703$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IGnss.hal
704$(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/IAGnss.hal
705$(GEN): $(LOCAL_PATH)/IAGnss.hal
706$(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/IAGnssRil.hal
707$(GEN): $(LOCAL_PATH)/IAGnssRil.hal
708$(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/IGnssBatching.hal
709$(GEN): $(LOCAL_PATH)/IGnssBatching.hal
710$(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/IGnssCallback.hal
711$(GEN): $(LOCAL_PATH)/IGnssCallback.hal
712$(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/IGnssConfiguration.hal
713$(GEN): $(LOCAL_PATH)/IGnssConfiguration.hal
714$(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/IGnssDebug.hal
715$(GEN): $(LOCAL_PATH)/IGnssDebug.hal
716$(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/IGnssGeofencing.hal
717$(GEN): $(LOCAL_PATH)/IGnssGeofencing.hal
718$(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/IGnssMeasurement.hal
719$(GEN): $(LOCAL_PATH)/IGnssMeasurement.hal
720$(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/IGnssNavigationMessage.hal
721$(GEN): $(LOCAL_PATH)/IGnssNavigationMessage.hal
722$(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/IGnssNi.hal
723$(GEN): $(LOCAL_PATH)/IGnssNi.hal
724$(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/IGnssXtra.hal
725$(GEN): $(LOCAL_PATH)/IGnssXtra.hal
726$(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/types.hal
727$(GEN): $(LOCAL_PATH)/types.hal
728$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
729$(GEN): PRIVATE_CUSTOM_TOOL = \
730        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
731        -Ljava \
732        -randroid.hardware:hardware/interfaces \
733        -randroid.hidl:system/libhidl/transport \
734        android.hardware.gnss@1.0::IGnss
735
736$(GEN): $(LOCAL_PATH)/IGnss.hal
737	$(transform-generated-source)
738LOCAL_GENERATED_SOURCES += $(GEN)
739
740#
741# Build IGnssBatching.hal
742#
743GEN := $(intermediates)/android/hardware/gnss/V1_0/IGnssBatching.java
744$(GEN): $(HIDL)
745$(GEN): PRIVATE_HIDL := $(HIDL)
746$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IGnssBatching.hal
747$(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/IGnssBatchingCallback.hal
748$(GEN): $(LOCAL_PATH)/IGnssBatchingCallback.hal
749$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
750$(GEN): PRIVATE_CUSTOM_TOOL = \
751        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
752        -Ljava \
753        -randroid.hardware:hardware/interfaces \
754        -randroid.hidl:system/libhidl/transport \
755        android.hardware.gnss@1.0::IGnssBatching
756
757$(GEN): $(LOCAL_PATH)/IGnssBatching.hal
758	$(transform-generated-source)
759LOCAL_GENERATED_SOURCES += $(GEN)
760
761#
762# Build IGnssBatchingCallback.hal
763#
764GEN := $(intermediates)/android/hardware/gnss/V1_0/IGnssBatchingCallback.java
765$(GEN): $(HIDL)
766$(GEN): PRIVATE_HIDL := $(HIDL)
767$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IGnssBatchingCallback.hal
768$(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/types.hal
769$(GEN): $(LOCAL_PATH)/types.hal
770$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
771$(GEN): PRIVATE_CUSTOM_TOOL = \
772        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
773        -Ljava \
774        -randroid.hardware:hardware/interfaces \
775        -randroid.hidl:system/libhidl/transport \
776        android.hardware.gnss@1.0::IGnssBatchingCallback
777
778$(GEN): $(LOCAL_PATH)/IGnssBatchingCallback.hal
779	$(transform-generated-source)
780LOCAL_GENERATED_SOURCES += $(GEN)
781
782#
783# Build IGnssCallback.hal
784#
785GEN := $(intermediates)/android/hardware/gnss/V1_0/IGnssCallback.java
786$(GEN): $(HIDL)
787$(GEN): PRIVATE_HIDL := $(HIDL)
788$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IGnssCallback.hal
789$(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/types.hal
790$(GEN): $(LOCAL_PATH)/types.hal
791$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
792$(GEN): PRIVATE_CUSTOM_TOOL = \
793        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
794        -Ljava \
795        -randroid.hardware:hardware/interfaces \
796        -randroid.hidl:system/libhidl/transport \
797        android.hardware.gnss@1.0::IGnssCallback
798
799$(GEN): $(LOCAL_PATH)/IGnssCallback.hal
800	$(transform-generated-source)
801LOCAL_GENERATED_SOURCES += $(GEN)
802
803#
804# Build IGnssConfiguration.hal
805#
806GEN := $(intermediates)/android/hardware/gnss/V1_0/IGnssConfiguration.java
807$(GEN): $(HIDL)
808$(GEN): PRIVATE_HIDL := $(HIDL)
809$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IGnssConfiguration.hal
810$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
811$(GEN): PRIVATE_CUSTOM_TOOL = \
812        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
813        -Ljava \
814        -randroid.hardware:hardware/interfaces \
815        -randroid.hidl:system/libhidl/transport \
816        android.hardware.gnss@1.0::IGnssConfiguration
817
818$(GEN): $(LOCAL_PATH)/IGnssConfiguration.hal
819	$(transform-generated-source)
820LOCAL_GENERATED_SOURCES += $(GEN)
821
822#
823# Build IGnssDebug.hal
824#
825GEN := $(intermediates)/android/hardware/gnss/V1_0/IGnssDebug.java
826$(GEN): $(HIDL)
827$(GEN): PRIVATE_HIDL := $(HIDL)
828$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IGnssDebug.hal
829$(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/types.hal
830$(GEN): $(LOCAL_PATH)/types.hal
831$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
832$(GEN): PRIVATE_CUSTOM_TOOL = \
833        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
834        -Ljava \
835        -randroid.hardware:hardware/interfaces \
836        -randroid.hidl:system/libhidl/transport \
837        android.hardware.gnss@1.0::IGnssDebug
838
839$(GEN): $(LOCAL_PATH)/IGnssDebug.hal
840	$(transform-generated-source)
841LOCAL_GENERATED_SOURCES += $(GEN)
842
843#
844# Build IGnssGeofenceCallback.hal
845#
846GEN := $(intermediates)/android/hardware/gnss/V1_0/IGnssGeofenceCallback.java
847$(GEN): $(HIDL)
848$(GEN): PRIVATE_HIDL := $(HIDL)
849$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IGnssGeofenceCallback.hal
850$(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/types.hal
851$(GEN): $(LOCAL_PATH)/types.hal
852$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
853$(GEN): PRIVATE_CUSTOM_TOOL = \
854        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
855        -Ljava \
856        -randroid.hardware:hardware/interfaces \
857        -randroid.hidl:system/libhidl/transport \
858        android.hardware.gnss@1.0::IGnssGeofenceCallback
859
860$(GEN): $(LOCAL_PATH)/IGnssGeofenceCallback.hal
861	$(transform-generated-source)
862LOCAL_GENERATED_SOURCES += $(GEN)
863
864#
865# Build IGnssGeofencing.hal
866#
867GEN := $(intermediates)/android/hardware/gnss/V1_0/IGnssGeofencing.java
868$(GEN): $(HIDL)
869$(GEN): PRIVATE_HIDL := $(HIDL)
870$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IGnssGeofencing.hal
871$(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/IGnssGeofenceCallback.hal
872$(GEN): $(LOCAL_PATH)/IGnssGeofenceCallback.hal
873$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
874$(GEN): PRIVATE_CUSTOM_TOOL = \
875        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
876        -Ljava \
877        -randroid.hardware:hardware/interfaces \
878        -randroid.hidl:system/libhidl/transport \
879        android.hardware.gnss@1.0::IGnssGeofencing
880
881$(GEN): $(LOCAL_PATH)/IGnssGeofencing.hal
882	$(transform-generated-source)
883LOCAL_GENERATED_SOURCES += $(GEN)
884
885#
886# Build IGnssMeasurement.hal
887#
888GEN := $(intermediates)/android/hardware/gnss/V1_0/IGnssMeasurement.java
889$(GEN): $(HIDL)
890$(GEN): PRIVATE_HIDL := $(HIDL)
891$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IGnssMeasurement.hal
892$(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/IGnssMeasurementCallback.hal
893$(GEN): $(LOCAL_PATH)/IGnssMeasurementCallback.hal
894$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
895$(GEN): PRIVATE_CUSTOM_TOOL = \
896        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
897        -Ljava \
898        -randroid.hardware:hardware/interfaces \
899        -randroid.hidl:system/libhidl/transport \
900        android.hardware.gnss@1.0::IGnssMeasurement
901
902$(GEN): $(LOCAL_PATH)/IGnssMeasurement.hal
903	$(transform-generated-source)
904LOCAL_GENERATED_SOURCES += $(GEN)
905
906#
907# Build IGnssMeasurementCallback.hal
908#
909GEN := $(intermediates)/android/hardware/gnss/V1_0/IGnssMeasurementCallback.java
910$(GEN): $(HIDL)
911$(GEN): PRIVATE_HIDL := $(HIDL)
912$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IGnssMeasurementCallback.hal
913$(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/types.hal
914$(GEN): $(LOCAL_PATH)/types.hal
915$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
916$(GEN): PRIVATE_CUSTOM_TOOL = \
917        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
918        -Ljava \
919        -randroid.hardware:hardware/interfaces \
920        -randroid.hidl:system/libhidl/transport \
921        android.hardware.gnss@1.0::IGnssMeasurementCallback
922
923$(GEN): $(LOCAL_PATH)/IGnssMeasurementCallback.hal
924	$(transform-generated-source)
925LOCAL_GENERATED_SOURCES += $(GEN)
926
927#
928# Build IGnssNavigationMessage.hal
929#
930GEN := $(intermediates)/android/hardware/gnss/V1_0/IGnssNavigationMessage.java
931$(GEN): $(HIDL)
932$(GEN): PRIVATE_HIDL := $(HIDL)
933$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IGnssNavigationMessage.hal
934$(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/IGnssNavigationMessageCallback.hal
935$(GEN): $(LOCAL_PATH)/IGnssNavigationMessageCallback.hal
936$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
937$(GEN): PRIVATE_CUSTOM_TOOL = \
938        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
939        -Ljava \
940        -randroid.hardware:hardware/interfaces \
941        -randroid.hidl:system/libhidl/transport \
942        android.hardware.gnss@1.0::IGnssNavigationMessage
943
944$(GEN): $(LOCAL_PATH)/IGnssNavigationMessage.hal
945	$(transform-generated-source)
946LOCAL_GENERATED_SOURCES += $(GEN)
947
948#
949# Build IGnssNavigationMessageCallback.hal
950#
951GEN := $(intermediates)/android/hardware/gnss/V1_0/IGnssNavigationMessageCallback.java
952$(GEN): $(HIDL)
953$(GEN): PRIVATE_HIDL := $(HIDL)
954$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IGnssNavigationMessageCallback.hal
955$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
956$(GEN): PRIVATE_CUSTOM_TOOL = \
957        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
958        -Ljava \
959        -randroid.hardware:hardware/interfaces \
960        -randroid.hidl:system/libhidl/transport \
961        android.hardware.gnss@1.0::IGnssNavigationMessageCallback
962
963$(GEN): $(LOCAL_PATH)/IGnssNavigationMessageCallback.hal
964	$(transform-generated-source)
965LOCAL_GENERATED_SOURCES += $(GEN)
966
967#
968# Build IGnssNi.hal
969#
970GEN := $(intermediates)/android/hardware/gnss/V1_0/IGnssNi.java
971$(GEN): $(HIDL)
972$(GEN): PRIVATE_HIDL := $(HIDL)
973$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IGnssNi.hal
974$(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/IGnssNiCallback.hal
975$(GEN): $(LOCAL_PATH)/IGnssNiCallback.hal
976$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
977$(GEN): PRIVATE_CUSTOM_TOOL = \
978        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
979        -Ljava \
980        -randroid.hardware:hardware/interfaces \
981        -randroid.hidl:system/libhidl/transport \
982        android.hardware.gnss@1.0::IGnssNi
983
984$(GEN): $(LOCAL_PATH)/IGnssNi.hal
985	$(transform-generated-source)
986LOCAL_GENERATED_SOURCES += $(GEN)
987
988#
989# Build IGnssNiCallback.hal
990#
991GEN := $(intermediates)/android/hardware/gnss/V1_0/IGnssNiCallback.java
992$(GEN): $(HIDL)
993$(GEN): PRIVATE_HIDL := $(HIDL)
994$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IGnssNiCallback.hal
995$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
996$(GEN): PRIVATE_CUSTOM_TOOL = \
997        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
998        -Ljava \
999        -randroid.hardware:hardware/interfaces \
1000        -randroid.hidl:system/libhidl/transport \
1001        android.hardware.gnss@1.0::IGnssNiCallback
1002
1003$(GEN): $(LOCAL_PATH)/IGnssNiCallback.hal
1004	$(transform-generated-source)
1005LOCAL_GENERATED_SOURCES += $(GEN)
1006
1007#
1008# Build IGnssXtra.hal
1009#
1010GEN := $(intermediates)/android/hardware/gnss/V1_0/IGnssXtra.java
1011$(GEN): $(HIDL)
1012$(GEN): PRIVATE_HIDL := $(HIDL)
1013$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IGnssXtra.hal
1014$(GEN): PRIVATE_DEPS += $(LOCAL_PATH)/IGnssXtraCallback.hal
1015$(GEN): $(LOCAL_PATH)/IGnssXtraCallback.hal
1016$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
1017$(GEN): PRIVATE_CUSTOM_TOOL = \
1018        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
1019        -Ljava \
1020        -randroid.hardware:hardware/interfaces \
1021        -randroid.hidl:system/libhidl/transport \
1022        android.hardware.gnss@1.0::IGnssXtra
1023
1024$(GEN): $(LOCAL_PATH)/IGnssXtra.hal
1025	$(transform-generated-source)
1026LOCAL_GENERATED_SOURCES += $(GEN)
1027
1028#
1029# Build IGnssXtraCallback.hal
1030#
1031GEN := $(intermediates)/android/hardware/gnss/V1_0/IGnssXtraCallback.java
1032$(GEN): $(HIDL)
1033$(GEN): PRIVATE_HIDL := $(HIDL)
1034$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IGnssXtraCallback.hal
1035$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
1036$(GEN): PRIVATE_CUSTOM_TOOL = \
1037        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
1038        -Ljava \
1039        -randroid.hardware:hardware/interfaces \
1040        -randroid.hidl:system/libhidl/transport \
1041        android.hardware.gnss@1.0::IGnssXtraCallback
1042
1043$(GEN): $(LOCAL_PATH)/IGnssXtraCallback.hal
1044	$(transform-generated-source)
1045LOCAL_GENERATED_SOURCES += $(GEN)
1046include $(BUILD_STATIC_JAVA_LIBRARY)
1047
1048
1049################################################################################
1050
1051include $(CLEAR_VARS)
1052LOCAL_MODULE := android.hardware.gnss-V1.0-java-constants
1053LOCAL_MODULE_CLASS := JAVA_LIBRARIES
1054
1055intermediates := $(call local-generated-sources-dir, COMMON)
1056
1057HIDL := $(HOST_OUT_EXECUTABLES)/hidl-gen$(HOST_EXECUTABLE_SUFFIX)
1058#
1059GEN := $(intermediates)/android/hardware/gnss/V1_0/Constants.java
1060$(GEN): $(HIDL)
1061$(GEN): $(LOCAL_PATH)/types.hal
1062$(GEN): $(LOCAL_PATH)/IAGnss.hal
1063$(GEN): $(LOCAL_PATH)/IAGnssCallback.hal
1064$(GEN): $(LOCAL_PATH)/IAGnssRil.hal
1065$(GEN): $(LOCAL_PATH)/IAGnssRilCallback.hal
1066$(GEN): $(LOCAL_PATH)/IGnss.hal
1067$(GEN): $(LOCAL_PATH)/IGnssBatching.hal
1068$(GEN): $(LOCAL_PATH)/IGnssBatchingCallback.hal
1069$(GEN): $(LOCAL_PATH)/IGnssCallback.hal
1070$(GEN): $(LOCAL_PATH)/IGnssConfiguration.hal
1071$(GEN): $(LOCAL_PATH)/IGnssDebug.hal
1072$(GEN): $(LOCAL_PATH)/IGnssGeofenceCallback.hal
1073$(GEN): $(LOCAL_PATH)/IGnssGeofencing.hal
1074$(GEN): $(LOCAL_PATH)/IGnssMeasurement.hal
1075$(GEN): $(LOCAL_PATH)/IGnssMeasurementCallback.hal
1076$(GEN): $(LOCAL_PATH)/IGnssNavigationMessage.hal
1077$(GEN): $(LOCAL_PATH)/IGnssNavigationMessageCallback.hal
1078$(GEN): $(LOCAL_PATH)/IGnssNi.hal
1079$(GEN): $(LOCAL_PATH)/IGnssNiCallback.hal
1080$(GEN): $(LOCAL_PATH)/IGnssXtra.hal
1081$(GEN): $(LOCAL_PATH)/IGnssXtraCallback.hal
1082
1083$(GEN): PRIVATE_HIDL := $(HIDL)
1084$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
1085$(GEN): PRIVATE_CUSTOM_TOOL = \
1086        $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
1087        -Ljava-constants \
1088        -randroid.hardware:hardware/interfaces \
1089        -randroid.hidl:system/libhidl/transport \
1090        android.hardware.gnss@1.0
1091
1092$(GEN):
1093	$(transform-generated-source)
1094LOCAL_GENERATED_SOURCES += $(GEN)
1095# Avoid dependency cycle of framework.jar -> this-library -> framework.jar
1096LOCAL_NO_STANDARD_LIBRARIES := true
1097LOCAL_JAVA_LIBRARIES := core-oj
1098
1099include $(BUILD_STATIC_JAVA_LIBRARY)
1100
1101
1102
1103include $(call all-makefiles-under,$(LOCAL_PATH))
1104