summaryrefslogtreecommitdiffstats
path: root/gnss/1.0/Android.bp
diff options
context:
space:
mode:
Diffstat (limited to 'gnss/1.0/Android.bp')
-rw-r--r--gnss/1.0/Android.bp66
1 files changed, 65 insertions, 1 deletions
diff --git a/gnss/1.0/Android.bp b/gnss/1.0/Android.bp
index 36b2095733..81920b7413 100644
--- a/gnss/1.0/Android.bp
+++ b/gnss/1.0/Android.bp
@@ -199,6 +199,71 @@ cc_library {
}
genrule {
+ name: "android.hardware.gnss-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.gnss@1.0",
+ srcs: [
+ ":android.hardware.gnss@1.0_hal",
+ ],
+ out: [
+ "android/hardware/gnss/V1_0/GnssConstellationType.java",
+ "android/hardware/gnss/V1_0/GnssLocation.java",
+ "android/hardware/gnss/V1_0/GnssLocationFlags.java",
+ "android/hardware/gnss/V1_0/GnssMax.java",
+ "android/hardware/gnss/V1_0/IAGnss.java",
+ "android/hardware/gnss/V1_0/IAGnssCallback.java",
+ "android/hardware/gnss/V1_0/IAGnssRil.java",
+ "android/hardware/gnss/V1_0/IAGnssRilCallback.java",
+ "android/hardware/gnss/V1_0/IGnss.java",
+ "android/hardware/gnss/V1_0/IGnssBatching.java",
+ "android/hardware/gnss/V1_0/IGnssBatchingCallback.java",
+ "android/hardware/gnss/V1_0/IGnssCallback.java",
+ "android/hardware/gnss/V1_0/IGnssConfiguration.java",
+ "android/hardware/gnss/V1_0/IGnssDebug.java",
+ "android/hardware/gnss/V1_0/IGnssGeofenceCallback.java",
+ "android/hardware/gnss/V1_0/IGnssGeofencing.java",
+ "android/hardware/gnss/V1_0/IGnssMeasurement.java",
+ "android/hardware/gnss/V1_0/IGnssMeasurementCallback.java",
+ "android/hardware/gnss/V1_0/IGnssNavigationMessage.java",
+ "android/hardware/gnss/V1_0/IGnssNavigationMessageCallback.java",
+ "android/hardware/gnss/V1_0/IGnssNi.java",
+ "android/hardware/gnss/V1_0/IGnssNiCallback.java",
+ "android/hardware/gnss/V1_0/IGnssXtra.java",
+ "android/hardware/gnss/V1_0/IGnssXtraCallback.java",
+ ],
+}
+
+java_library {
+ name: "android.hardware.gnss-V1.0-java",
+ no_framework_libs: true,
+ defaults: ["hidl-java-module-defaults"],
+ srcs: [":android.hardware.gnss-V1.0-java_gen_java"],
+ libs: [
+ "hwbinder",
+ "android.hidl.base-V1.0-java",
+ ]
+}
+
+genrule {
+ name: "android.hardware.gnss-V1.0-java-constants_gen_java",
+ tools: ["hidl-gen"],
+ cmd: "$(location hidl-gen) -o $(genDir) -Ljava-constants -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.gnss@1.0",
+ srcs: [
+ ":android.hardware.gnss@1.0_hal",
+ ],
+ out: [
+ "android/hardware/gnss/V1_0/Constants.java",
+ ],
+}
+
+java_library {
+ name: "android.hardware.gnss-V1.0-java-constants",
+ no_framework_libs: true,
+ defaults: ["hidl-java-module-defaults"],
+ srcs: [":android.hardware.gnss-V1.0-java-constants_gen_java"],
+}
+
+genrule {
name: "android.hardware.gnss@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.gnss@1.0",
@@ -260,7 +325,6 @@ genrule {
],
}
-
cc_library {
name: "android.hardware.gnss@1.0-adapter-helper",
defaults: ["hidl-module-defaults"],