summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Android.bp54
-rw-r--r--audio/2.0/Android.bp5
-rw-r--r--audio/2.0/Android.mk44
-rw-r--r--audio/Android.bp6
-rw-r--r--audio/common/2.0/Android.bp5
-rw-r--r--audio/common/2.0/Android.mk37
-rw-r--r--audio/effect/2.0/Android.bp5
-rw-r--r--audio/effect/2.0/Android.mk51
-rw-r--r--benchmarks/Android.bp4
-rw-r--r--biometrics/Android.bp4
-rw-r--r--biometrics/fingerprint/2.1/Android.bp5
-rw-r--r--bluetooth/Android.bp4
-rw-r--r--boot/Android.bp4
-rw-r--r--broadcastradio/1.0/Android.bp5
-rw-r--r--broadcastradio/Android.bp4
-rw-r--r--example/Android.bp4
-rw-r--r--example/extension/light/2.0/Android.bp5
-rw-r--r--gnss/1.0/Android.bp5
-rw-r--r--gnss/Android.bp4
-rw-r--r--graphics/Android.bp9
-rw-r--r--graphics/allocator/2.0/Android.bp5
-rw-r--r--graphics/allocator/2.0/Android.mk38
-rw-r--r--graphics/composer/2.1/Android.bp5
-rw-r--r--light/2.0/Android.bp5
-rw-r--r--light/Android.bp4
-rw-r--r--memtrack/1.0/Android.bp5
-rw-r--r--memtrack/Android.bp5
-rw-r--r--nfc/Android.bp6
-rw-r--r--power/1.0/Android.bp5
-rw-r--r--power/Android.bp5
-rw-r--r--radio/Android.bp4
-rw-r--r--sensors/1.0/Android.bp5
-rw-r--r--sensors/1.0/Android.mk38
-rw-r--r--sensors/Android.bp5
-rw-r--r--soundtrigger/2.0/Android.bp5
-rw-r--r--soundtrigger/Android.bp4
-rw-r--r--tests/Android.bp16
-rw-r--r--thermal/1.0/Android.bp5
-rw-r--r--thermal/Android.bp5
-rw-r--r--tv/Android.bp4
-rw-r--r--tv/input/1.0/Android.bp5
-rwxr-xr-xupdate-makefiles.sh33
-rw-r--r--vehicle/2.0/Android.bp5
-rw-r--r--vehicle/Android.bp4
-rw-r--r--vibrator/1.0/Android.bp5
-rw-r--r--vibrator/Android.bp5
-rw-r--r--vr/1.0/Android.bp5
-rw-r--r--vr/1.0/Android.mk64
-rw-r--r--vr/Android.bp5
-rw-r--r--wifi/Android.bp5
50 files changed, 510 insertions, 64 deletions
diff --git a/Android.bp b/Android.bp
index 1e930dcd..7aef46b3 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,55 +1,3 @@
1// This is an autogenerated file, do not edit.
2subdirs = [ 1subdirs = [
3 "audio/2.0", 2 "*"
4 "audio/2.0/default",
5 "audio/common/2.0",
6 "audio/effect/2.0",
7 "benchmarks/msgq/1.0",
8 "biometrics/fingerprint/2.1",
9 "bluetooth/1.0",
10 "boot/1.0",
11 "broadcastradio/1.0",
12 "example/extension/light/2.0",
13 "gnss/1.0",
14 "graphics/allocator/2.0",
15 "graphics/allocator/2.0/default",
16 "graphics/composer/2.1",
17 "graphics/composer/2.1/default",
18 "graphics/mapper/2.0",
19 "graphics/mapper/2.0/default",
20 "light/2.0",
21 "memtrack/1.0",
22 "memtrack/1.0/default",
23 "nfc/1.0",
24 "nfc/1.0/default",
25 "nfc/1.0/vts/functional",
26 "power/1.0",
27 "power/1.0/default",
28 "radio/1.0",
29 "sensors/1.0",
30 "sensors/1.0/default",
31 "soundtrigger/2.0",
32 "tests/bar/1.0",
33 "tests/bar/1.0/default",
34 "tests/baz/1.0",
35 "tests/expression/1.0",
36 "tests/foo/1.0",
37 "tests/foo/1.0/default",
38 "tests/foo/1.0/default/lib",
39 "tests/libhwbinder/1.0",
40 "tests/libhwbinder/1.0/default",
41 "tests/msgq/1.0",
42 "tests/pointer/1.0",
43 "tests/pointer/1.0/default",
44 "tests/pointer/1.0/default/lib",
45 "thermal/1.0",
46 "thermal/1.0/default",
47 "tv/input/1.0",
48 "vehicle/2.0",
49 "vibrator/1.0",
50 "vibrator/1.0/default",
51 "vr/1.0",
52 "vr/1.0/default",
53 "wifi/1.0",
54 "wifi/supplicant/1.0",
55] 3]
diff --git a/audio/2.0/Android.bp b/audio/2.0/Android.bp
index 5edb0427..2fd2d67a 100644
--- a/audio/2.0/Android.bp
+++ b/audio/2.0/Android.bp
@@ -93,4 +93,9 @@ cc_library_shared {
93 "android.hardware.audio.common@2.0", 93 "android.hardware.audio.common@2.0",
94 "android.hardware.audio.effect@2.0", 94 "android.hardware.audio.effect@2.0",
95 ], 95 ],
96export_shared_lib_headers: [
97 "libhidl",
98 "libhwbinder",
99 "libutils",
100 ],
96} 101}
diff --git a/audio/2.0/Android.mk b/audio/2.0/Android.mk
new file mode 100644
index 00000000..8557ea22
--- /dev/null
+++ b/audio/2.0/Android.mk
@@ -0,0 +1,44 @@
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.audio@2.0-java-constants
9LOCAL_MODULE_CLASS := JAVA_LIBRARIES
10
11intermediates := $(local-generated-sources-dir)
12
13HIDL := $(HOST_OUT_EXECUTABLES)/hidl-gen$(HOST_EXECUTABLE_SUFFIX)
14#
15GEN := $(intermediates)/android/hardware/audio/2.0/Constants.java
16$(GEN): $(HIDL)
17$(GEN): $(LOCAL_PATH)/types.hal
18$(GEN): $(LOCAL_PATH)/IDevice.hal
19$(GEN): $(LOCAL_PATH)/IDevicesFactory.hal
20$(GEN): $(LOCAL_PATH)/IPrimaryDevice.hal
21$(GEN): $(LOCAL_PATH)/IStream.hal
22$(GEN): $(LOCAL_PATH)/IStreamIn.hal
23$(GEN): $(LOCAL_PATH)/IStreamOut.hal
24$(GEN): $(LOCAL_PATH)/IStreamOutCallback.hal
25
26$(GEN): PRIVATE_HIDL := $(HIDL)
27$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
28$(GEN): PRIVATE_CUSTOM_TOOL = \
29 $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
30 -Ljava-constants -randroid.hardware:hardware/interfaces \
31 android.hardware.audio@2.0
32
33$(GEN):
34 $(transform-generated-source)
35LOCAL_GENERATED_SOURCES += $(GEN)
36# Avoid dependency cycle of framework.jar -> this-library -> framework.jar
37LOCAL_NO_STANDARD_LIBRARIES := true
38LOCAL_JAVA_LIBRARIES := core-oj
39
40include $(BUILD_STATIC_JAVA_LIBRARY)
41
42
43
44include $(call all-makefiles-under,$(LOCAL_PATH))
diff --git a/audio/Android.bp b/audio/Android.bp
new file mode 100644
index 00000000..4117288b
--- /dev/null
+++ b/audio/Android.bp
@@ -0,0 +1,6 @@
1// This is an autogenerated file, do not edit.
2subdirs = [
3 "2.0",
4 "common/2.0",
5 "effect/2.0",
6]
diff --git a/audio/common/2.0/Android.bp b/audio/common/2.0/Android.bp
index 655c0c9f..783623a4 100644
--- a/audio/common/2.0/Android.bp
+++ b/audio/common/2.0/Android.bp
@@ -35,4 +35,9 @@ cc_library_shared {
35 "libutils", 35 "libutils",
36 "libcutils", 36 "libcutils",
37 ], 37 ],
38export_shared_lib_headers: [
39 "libhidl",
40 "libhwbinder",
41 "libutils",
42 ],
38} 43}
diff --git a/audio/common/2.0/Android.mk b/audio/common/2.0/Android.mk
new file mode 100644
index 00000000..f8346b14
--- /dev/null
+++ b/audio/common/2.0/Android.mk
@@ -0,0 +1,37 @@
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.audio.common@2.0-java-constants
9LOCAL_MODULE_CLASS := JAVA_LIBRARIES
10
11intermediates := $(local-generated-sources-dir)
12
13HIDL := $(HOST_OUT_EXECUTABLES)/hidl-gen$(HOST_EXECUTABLE_SUFFIX)
14#
15GEN := $(intermediates)/android/hardware/audio/common/2.0/Constants.java
16$(GEN): $(HIDL)
17$(GEN): $(LOCAL_PATH)/types.hal
18
19$(GEN): PRIVATE_HIDL := $(HIDL)
20$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
21$(GEN): PRIVATE_CUSTOM_TOOL = \
22 $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
23 -Ljava-constants -randroid.hardware:hardware/interfaces \
24 android.hardware.audio.common@2.0
25
26$(GEN):
27 $(transform-generated-source)
28LOCAL_GENERATED_SOURCES += $(GEN)
29# Avoid dependency cycle of framework.jar -> this-library -> framework.jar
30LOCAL_NO_STANDARD_LIBRARIES := true
31LOCAL_JAVA_LIBRARIES := core-oj
32
33include $(BUILD_STATIC_JAVA_LIBRARY)
34
35
36
37include $(call all-makefiles-under,$(LOCAL_PATH))
diff --git a/audio/effect/2.0/Android.bp b/audio/effect/2.0/Android.bp
index 4dd2b1ea..31c1b90c 100644
--- a/audio/effect/2.0/Android.bp
+++ b/audio/effect/2.0/Android.bp
@@ -148,4 +148,9 @@ cc_library_shared {
148 "libcutils", 148 "libcutils",
149 "android.hardware.audio.common@2.0", 149 "android.hardware.audio.common@2.0",
150 ], 150 ],
151export_shared_lib_headers: [
152 "libhidl",
153 "libhwbinder",
154 "libutils",
155 ],
151} 156}
diff --git a/audio/effect/2.0/Android.mk b/audio/effect/2.0/Android.mk
new file mode 100644
index 00000000..a30de1c8
--- /dev/null
+++ b/audio/effect/2.0/Android.mk
@@ -0,0 +1,51 @@
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.audio.effect@2.0-java-constants
9LOCAL_MODULE_CLASS := JAVA_LIBRARIES
10
11intermediates := $(local-generated-sources-dir)
12
13HIDL := $(HOST_OUT_EXECUTABLES)/hidl-gen$(HOST_EXECUTABLE_SUFFIX)
14#
15GEN := $(intermediates)/android/hardware/audio/effect/2.0/Constants.java
16$(GEN): $(HIDL)
17$(GEN): $(LOCAL_PATH)/types.hal
18$(GEN): $(LOCAL_PATH)/IAcousticEchoCancelerEffect.hal
19$(GEN): $(LOCAL_PATH)/IAutomaticGainControlEffect.hal
20$(GEN): $(LOCAL_PATH)/IBassBoostEffect.hal
21$(GEN): $(LOCAL_PATH)/IDownmixEffect.hal
22$(GEN): $(LOCAL_PATH)/IEffect.hal
23$(GEN): $(LOCAL_PATH)/IEffectBufferProviderCallback.hal
24$(GEN): $(LOCAL_PATH)/IEffectsFactory.hal
25$(GEN): $(LOCAL_PATH)/IEnvironmentalReverbEffect.hal
26$(GEN): $(LOCAL_PATH)/IEqualizerEffect.hal
27$(GEN): $(LOCAL_PATH)/ILoudnessEnhancerEffect.hal
28$(GEN): $(LOCAL_PATH)/INoiseSuppressionEffect.hal
29$(GEN): $(LOCAL_PATH)/IPresetReverbEffect.hal
30$(GEN): $(LOCAL_PATH)/IVirtualizerEffect.hal
31$(GEN): $(LOCAL_PATH)/IVisualizerEffect.hal
32
33$(GEN): PRIVATE_HIDL := $(HIDL)
34$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
35$(GEN): PRIVATE_CUSTOM_TOOL = \
36 $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
37 -Ljava-constants -randroid.hardware:hardware/interfaces \
38 android.hardware.audio.effect@2.0
39
40$(GEN):
41 $(transform-generated-source)
42LOCAL_GENERATED_SOURCES += $(GEN)
43# Avoid dependency cycle of framework.jar -> this-library -> framework.jar
44LOCAL_NO_STANDARD_LIBRARIES := true
45LOCAL_JAVA_LIBRARIES := core-oj
46
47include $(BUILD_STATIC_JAVA_LIBRARY)
48
49
50
51include $(call all-makefiles-under,$(LOCAL_PATH))
diff --git a/benchmarks/Android.bp b/benchmarks/Android.bp
new file mode 100644
index 00000000..ab0f308b
--- /dev/null
+++ b/benchmarks/Android.bp
@@ -0,0 +1,4 @@
1// This is an autogenerated file, do not edit.
2subdirs = [
3 "msgq/1.0",
4]
diff --git a/biometrics/Android.bp b/biometrics/Android.bp
new file mode 100644
index 00000000..eea46048
--- /dev/null
+++ b/biometrics/Android.bp
@@ -0,0 +1,4 @@
1// This is an autogenerated file, do not edit.
2subdirs = [
3 "fingerprint/2.1",
4]
diff --git a/biometrics/fingerprint/2.1/Android.bp b/biometrics/fingerprint/2.1/Android.bp
index 77b41b8b..e1fd7555 100644
--- a/biometrics/fingerprint/2.1/Android.bp
+++ b/biometrics/fingerprint/2.1/Android.bp
@@ -51,4 +51,9 @@ cc_library_shared {
51 "libutils", 51 "libutils",
52 "libcutils", 52 "libcutils",
53 ], 53 ],
54export_shared_lib_headers: [
55 "libhidl",
56 "libhwbinder",
57 "libutils",
58 ],
54} 59}
diff --git a/bluetooth/Android.bp b/bluetooth/Android.bp
new file mode 100644
index 00000000..bbb3e4ba
--- /dev/null
+++ b/bluetooth/Android.bp
@@ -0,0 +1,4 @@
1// This is an autogenerated file, do not edit.
2subdirs = [
3 "1.0",
4]
diff --git a/boot/Android.bp b/boot/Android.bp
new file mode 100644
index 00000000..bbb3e4ba
--- /dev/null
+++ b/boot/Android.bp
@@ -0,0 +1,4 @@
1// This is an autogenerated file, do not edit.
2subdirs = [
3 "1.0",
4]
diff --git a/broadcastradio/1.0/Android.bp b/broadcastradio/1.0/Android.bp
index 44af4aaf..7883d677 100644
--- a/broadcastradio/1.0/Android.bp
+++ b/broadcastradio/1.0/Android.bp
@@ -67,4 +67,9 @@ cc_library_shared {
67 "libutils", 67 "libutils",
68 "libcutils", 68 "libcutils",
69 ], 69 ],
70export_shared_lib_headers: [
71 "libhidl",
72 "libhwbinder",
73 "libutils",
74 ],
70} 75}
diff --git a/broadcastradio/Android.bp b/broadcastradio/Android.bp
new file mode 100644
index 00000000..bbb3e4ba
--- /dev/null
+++ b/broadcastradio/Android.bp
@@ -0,0 +1,4 @@
1// This is an autogenerated file, do not edit.
2subdirs = [
3 "1.0",
4]
diff --git a/example/Android.bp b/example/Android.bp
new file mode 100644
index 00000000..ea6dbb51
--- /dev/null
+++ b/example/Android.bp
@@ -0,0 +1,4 @@
1// This is an autogenerated file, do not edit.
2subdirs = [
3 "extension/light/2.0",
4]
diff --git a/example/extension/light/2.0/Android.bp b/example/extension/light/2.0/Android.bp
index 42f34f25..3e6d2b18 100644
--- a/example/extension/light/2.0/Android.bp
+++ b/example/extension/light/2.0/Android.bp
@@ -44,4 +44,9 @@ cc_library_shared {
44 "libcutils", 44 "libcutils",
45 "android.hardware.light@2.0", 45 "android.hardware.light@2.0",
46 ], 46 ],
47export_shared_lib_headers: [
48 "libhidl",
49 "libhwbinder",
50 "libutils",
51 ],
47} 52}
diff --git a/gnss/1.0/Android.bp b/gnss/1.0/Android.bp
index a97531d9..fe90f1e6 100644
--- a/gnss/1.0/Android.bp
+++ b/gnss/1.0/Android.bp
@@ -171,4 +171,9 @@ cc_library_shared {
171 "libutils", 171 "libutils",
172 "libcutils", 172 "libcutils",
173 ], 173 ],
174export_shared_lib_headers: [
175 "libhidl",
176 "libhwbinder",
177 "libutils",
178 ],
174} 179}
diff --git a/gnss/Android.bp b/gnss/Android.bp
new file mode 100644
index 00000000..bbb3e4ba
--- /dev/null
+++ b/gnss/Android.bp
@@ -0,0 +1,4 @@
1// This is an autogenerated file, do not edit.
2subdirs = [
3 "1.0",
4]
diff --git a/graphics/Android.bp b/graphics/Android.bp
new file mode 100644
index 00000000..92bcb2ac
--- /dev/null
+++ b/graphics/Android.bp
@@ -0,0 +1,9 @@
1// This is an autogenerated file, do not edit.
2subdirs = [
3 "allocator/2.0",
4 "allocator/2.0/default",
5 "composer/2.1",
6 "composer/2.1/default",
7 "mapper/2.0",
8 "mapper/2.0/default",
9]
diff --git a/graphics/allocator/2.0/Android.bp b/graphics/allocator/2.0/Android.bp
index f29c50be..1e9edace 100644
--- a/graphics/allocator/2.0/Android.bp
+++ b/graphics/allocator/2.0/Android.bp
@@ -43,4 +43,9 @@ cc_library_shared {
43 "libutils", 43 "libutils",
44 "libcutils", 44 "libcutils",
45 ], 45 ],
46export_shared_lib_headers: [
47 "libhidl",
48 "libhwbinder",
49 "libutils",
50 ],
46} 51}
diff --git a/graphics/allocator/2.0/Android.mk b/graphics/allocator/2.0/Android.mk
new file mode 100644
index 00000000..3165fed5
--- /dev/null
+++ b/graphics/allocator/2.0/Android.mk
@@ -0,0 +1,38 @@
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.graphics.allocator@2.0-java-constants
9LOCAL_MODULE_CLASS := JAVA_LIBRARIES
10
11intermediates := $(local-generated-sources-dir)
12
13HIDL := $(HOST_OUT_EXECUTABLES)/hidl-gen$(HOST_EXECUTABLE_SUFFIX)
14#
15GEN := $(intermediates)/android/hardware/graphics/allocator/2.0/Constants.java
16$(GEN): $(HIDL)
17$(GEN): $(LOCAL_PATH)/types.hal
18$(GEN): $(LOCAL_PATH)/IAllocator.hal
19
20$(GEN): PRIVATE_HIDL := $(HIDL)
21$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
22$(GEN): PRIVATE_CUSTOM_TOOL = \
23 $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
24 -Ljava-constants -randroid.hardware:hardware/interfaces \
25 android.hardware.graphics.allocator@2.0
26
27$(GEN):
28 $(transform-generated-source)
29LOCAL_GENERATED_SOURCES += $(GEN)
30# Avoid dependency cycle of framework.jar -> this-library -> framework.jar
31LOCAL_NO_STANDARD_LIBRARIES := true
32LOCAL_JAVA_LIBRARIES := core-oj
33
34include $(BUILD_STATIC_JAVA_LIBRARY)
35
36
37
38include $(call all-makefiles-under,$(LOCAL_PATH))
diff --git a/graphics/composer/2.1/Android.bp b/graphics/composer/2.1/Android.bp
index 3c63a68e..094d09ea 100644
--- a/graphics/composer/2.1/Android.bp
+++ b/graphics/composer/2.1/Android.bp
@@ -52,4 +52,9 @@ cc_library_shared {
52 "libcutils", 52 "libcutils",
53 "android.hardware.graphics.allocator@2.0", 53 "android.hardware.graphics.allocator@2.0",
54 ], 54 ],
55export_shared_lib_headers: [
56 "libhidl",
57 "libhwbinder",
58 "libutils",
59 ],
55} 60}
diff --git a/light/2.0/Android.bp b/light/2.0/Android.bp
index a3b03a78..33b4af25 100644
--- a/light/2.0/Android.bp
+++ b/light/2.0/Android.bp
@@ -43,4 +43,9 @@ cc_library_shared {
43 "libutils", 43 "libutils",
44 "libcutils", 44 "libcutils",
45 ], 45 ],
46export_shared_lib_headers: [
47 "libhidl",
48 "libhwbinder",
49 "libutils",
50 ],
46} 51}
diff --git a/light/Android.bp b/light/Android.bp
new file mode 100644
index 00000000..c12cd4f9
--- /dev/null
+++ b/light/Android.bp
@@ -0,0 +1,4 @@
1// This is an autogenerated file, do not edit.
2subdirs = [
3 "2.0",
4]
diff --git a/memtrack/1.0/Android.bp b/memtrack/1.0/Android.bp
index 3696aeab..996dbb63 100644
--- a/memtrack/1.0/Android.bp
+++ b/memtrack/1.0/Android.bp
@@ -43,4 +43,9 @@ cc_library_shared {
43 "libutils", 43 "libutils",
44 "libcutils", 44 "libcutils",
45 ], 45 ],
46export_shared_lib_headers: [
47 "libhidl",
48 "libhwbinder",
49 "libutils",
50 ],
46} 51}
diff --git a/memtrack/Android.bp b/memtrack/Android.bp
new file mode 100644
index 00000000..ba90f2c9
--- /dev/null
+++ b/memtrack/Android.bp
@@ -0,0 +1,5 @@
1// This is an autogenerated file, do not edit.
2subdirs = [
3 "1.0",
4 "1.0/default",
5]
diff --git a/nfc/Android.bp b/nfc/Android.bp
new file mode 100644
index 00000000..ed19a370
--- /dev/null
+++ b/nfc/Android.bp
@@ -0,0 +1,6 @@
1// This is an autogenerated file, do not edit.
2subdirs = [
3 "1.0",
4 "1.0/default",
5 "1.0/vts/functional",
6]
diff --git a/power/1.0/Android.bp b/power/1.0/Android.bp
index 9b4d81e7..4b6d34b0 100644
--- a/power/1.0/Android.bp
+++ b/power/1.0/Android.bp
@@ -43,4 +43,9 @@ cc_library_shared {
43 "libutils", 43 "libutils",
44 "libcutils", 44 "libcutils",
45 ], 45 ],
46export_shared_lib_headers: [
47 "libhidl",
48 "libhwbinder",
49 "libutils",
50 ],
46} 51}
diff --git a/power/Android.bp b/power/Android.bp
new file mode 100644
index 00000000..ba90f2c9
--- /dev/null
+++ b/power/Android.bp
@@ -0,0 +1,5 @@
1// This is an autogenerated file, do not edit.
2subdirs = [
3 "1.0",
4 "1.0/default",
5]
diff --git a/radio/Android.bp b/radio/Android.bp
new file mode 100644
index 00000000..bbb3e4ba
--- /dev/null
+++ b/radio/Android.bp
@@ -0,0 +1,4 @@
1// This is an autogenerated file, do not edit.
2subdirs = [
3 "1.0",
4]
diff --git a/sensors/1.0/Android.bp b/sensors/1.0/Android.bp
index 32ee0491..5b1fd056 100644
--- a/sensors/1.0/Android.bp
+++ b/sensors/1.0/Android.bp
@@ -43,4 +43,9 @@ cc_library_shared {
43 "libutils", 43 "libutils",
44 "libcutils", 44 "libcutils",
45 ], 45 ],
46export_shared_lib_headers: [
47 "libhidl",
48 "libhwbinder",
49 "libutils",
50 ],
46} 51}
diff --git a/sensors/1.0/Android.mk b/sensors/1.0/Android.mk
new file mode 100644
index 00000000..dd9e21bf
--- /dev/null
+++ b/sensors/1.0/Android.mk
@@ -0,0 +1,38 @@
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.sensors@1.0-java-constants
9LOCAL_MODULE_CLASS := JAVA_LIBRARIES
10
11intermediates := $(local-generated-sources-dir)
12
13HIDL := $(HOST_OUT_EXECUTABLES)/hidl-gen$(HOST_EXECUTABLE_SUFFIX)
14#
15GEN := $(intermediates)/android/hardware/sensors/1.0/Constants.java
16$(GEN): $(HIDL)
17$(GEN): $(LOCAL_PATH)/types.hal
18$(GEN): $(LOCAL_PATH)/ISensors.hal
19
20$(GEN): PRIVATE_HIDL := $(HIDL)
21$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
22$(GEN): PRIVATE_CUSTOM_TOOL = \
23 $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
24 -Ljava-constants -randroid.hardware:hardware/interfaces \
25 android.hardware.sensors@1.0
26
27$(GEN):
28 $(transform-generated-source)
29LOCAL_GENERATED_SOURCES += $(GEN)
30# Avoid dependency cycle of framework.jar -> this-library -> framework.jar
31LOCAL_NO_STANDARD_LIBRARIES := true
32LOCAL_JAVA_LIBRARIES := core-oj
33
34include $(BUILD_STATIC_JAVA_LIBRARY)
35
36
37
38include $(call all-makefiles-under,$(LOCAL_PATH))
diff --git a/sensors/Android.bp b/sensors/Android.bp
new file mode 100644
index 00000000..ba90f2c9
--- /dev/null
+++ b/sensors/Android.bp
@@ -0,0 +1,5 @@
1// This is an autogenerated file, do not edit.
2subdirs = [
3 "1.0",
4 "1.0/default",
5]
diff --git a/soundtrigger/2.0/Android.bp b/soundtrigger/2.0/Android.bp
index 10a917b9..a7a42a06 100644
--- a/soundtrigger/2.0/Android.bp
+++ b/soundtrigger/2.0/Android.bp
@@ -52,4 +52,9 @@ cc_library_shared {
52 "libcutils", 52 "libcutils",
53 "android.hardware.audio.common@2.0", 53 "android.hardware.audio.common@2.0",
54 ], 54 ],
55export_shared_lib_headers: [
56 "libhidl",
57 "libhwbinder",
58 "libutils",
59 ],
55} 60}
diff --git a/soundtrigger/Android.bp b/soundtrigger/Android.bp
new file mode 100644
index 00000000..c12cd4f9
--- /dev/null
+++ b/soundtrigger/Android.bp
@@ -0,0 +1,4 @@
1// This is an autogenerated file, do not edit.
2subdirs = [
3 "2.0",
4]
diff --git a/tests/Android.bp b/tests/Android.bp
new file mode 100644
index 00000000..e9b01484
--- /dev/null
+++ b/tests/Android.bp
@@ -0,0 +1,16 @@
1// This is an autogenerated file, do not edit.
2subdirs = [
3 "bar/1.0",
4 "bar/1.0/default",
5 "baz/1.0",
6 "expression/1.0",
7 "foo/1.0",
8 "foo/1.0/default",
9 "foo/1.0/default/lib",
10 "libhwbinder/1.0",
11 "libhwbinder/1.0/default",
12 "msgq/1.0",
13 "pointer/1.0",
14 "pointer/1.0/default",
15 "pointer/1.0/default/lib",
16]
diff --git a/thermal/1.0/Android.bp b/thermal/1.0/Android.bp
index 0c5dd19b..ae64ddee 100644
--- a/thermal/1.0/Android.bp
+++ b/thermal/1.0/Android.bp
@@ -43,4 +43,9 @@ cc_library_shared {
43 "libutils", 43 "libutils",
44 "libcutils", 44 "libcutils",
45 ], 45 ],
46export_shared_lib_headers: [
47 "libhidl",
48 "libhwbinder",
49 "libutils",
50 ],
46} 51}
diff --git a/thermal/Android.bp b/thermal/Android.bp
new file mode 100644
index 00000000..ba90f2c9
--- /dev/null
+++ b/thermal/Android.bp
@@ -0,0 +1,5 @@
1// This is an autogenerated file, do not edit.
2subdirs = [
3 "1.0",
4 "1.0/default",
5]
diff --git a/tv/Android.bp b/tv/Android.bp
new file mode 100644
index 00000000..095839f4
--- /dev/null
+++ b/tv/Android.bp
@@ -0,0 +1,4 @@
1// This is an autogenerated file, do not edit.
2subdirs = [
3 "input/1.0",
4]
diff --git a/tv/input/1.0/Android.bp b/tv/input/1.0/Android.bp
index 5acb9373..895aa736 100644
--- a/tv/input/1.0/Android.bp
+++ b/tv/input/1.0/Android.bp
@@ -52,4 +52,9 @@ cc_library_shared {
52 "libcutils", 52 "libcutils",
53 "android.hardware.audio.common@2.0", 53 "android.hardware.audio.common@2.0",
54 ], 54 ],
55export_shared_lib_headers: [
56 "libhidl",
57 "libhwbinder",
58 "libutils",
59 ],
55} 60}
diff --git a/update-makefiles.sh b/update-makefiles.sh
index 939a9c71..8b820138 100755
--- a/update-makefiles.sh
+++ b/update-makefiles.sh
@@ -18,17 +18,28 @@ for p in $packages; do
18 hidl-gen -Landroidbp -r android.hardware:hardware/interfaces $p; 18 hidl-gen -Landroidbp -r android.hardware:hardware/interfaces $p;
19done 19done
20 20
21bp="hardware/interfaces/Android.bp" 21# subdirectories of hardware/interfaces which contain an Android.bp file
22androidbps=$(find hardware/interfaces/*/ \ 22android_dirs=$(find hardware/interfaces/*/ \
23 -name "Android.bp" \ 23 -name "Android.bp" \
24 -exec dirname {} \; \ 24 -printf "%h\n" \
25 | sort) 25 | cut -d "/" -f1-3 \
26 | sort | uniq)
26 27
27echo "Updating $bp" 28echo "Updating Android.bp files."
28 29
29echo "// This is an autogenerated file, do not edit." > $bp; 30for bp_dir in $android_dirs; do
30echo "subdirs = [" >> $bp; 31 bp="$bp_dir/Android.bp"
31for a in $androidbps; do 32 # locations of Android.bp files in specific subdirectory of hardware/interfaces
32 echo " \"${a#*hardware/interfaces/}\"," >> $bp; 33 android_bps=$(find $bp_dir \
34 -name "Android.bp" \
35 ! -path $bp_dir/Android.bp \
36 -printf "%h\n" \
37 | sort)
38
39 echo "// This is an autogenerated file, do not edit." > "$bp";
40 echo "subdirs = [" >> "$bp";
41 for a in $android_bps; do
42 echo " \"${a#$bp_dir/}\"," >> "$bp";
43 done
44 echo "]" >> "$bp";
33done 45done
34echo "]" >> $bp; \ No newline at end of file
diff --git a/vehicle/2.0/Android.bp b/vehicle/2.0/Android.bp
index cb30e1bd..981103c2 100644
--- a/vehicle/2.0/Android.bp
+++ b/vehicle/2.0/Android.bp
@@ -51,4 +51,9 @@ cc_library_shared {
51 "libutils", 51 "libutils",
52 "libcutils", 52 "libcutils",
53 ], 53 ],
54export_shared_lib_headers: [
55 "libhidl",
56 "libhwbinder",
57 "libutils",
58 ],
54} 59}
diff --git a/vehicle/Android.bp b/vehicle/Android.bp
new file mode 100644
index 00000000..c12cd4f9
--- /dev/null
+++ b/vehicle/Android.bp
@@ -0,0 +1,4 @@
1// This is an autogenerated file, do not edit.
2subdirs = [
3 "2.0",
4]
diff --git a/vibrator/1.0/Android.bp b/vibrator/1.0/Android.bp
index 64afdb5b..270e7bf1 100644
--- a/vibrator/1.0/Android.bp
+++ b/vibrator/1.0/Android.bp
@@ -43,4 +43,9 @@ cc_library_shared {
43 "libutils", 43 "libutils",
44 "libcutils", 44 "libcutils",
45 ], 45 ],
46export_shared_lib_headers: [
47 "libhidl",
48 "libhwbinder",
49 "libutils",
50 ],
46} 51}
diff --git a/vibrator/Android.bp b/vibrator/Android.bp
new file mode 100644
index 00000000..ba90f2c9
--- /dev/null
+++ b/vibrator/Android.bp
@@ -0,0 +1,5 @@
1// This is an autogenerated file, do not edit.
2subdirs = [
3 "1.0",
4 "1.0/default",
5]
diff --git a/vr/1.0/Android.bp b/vr/1.0/Android.bp
index 8fd00c5b..63a07896 100644
--- a/vr/1.0/Android.bp
+++ b/vr/1.0/Android.bp
@@ -39,4 +39,9 @@ cc_library_shared {
39 "libutils", 39 "libutils",
40 "libcutils", 40 "libcutils",
41 ], 41 ],
42export_shared_lib_headers: [
43 "libhidl",
44 "libhwbinder",
45 "libutils",
46 ],
42} 47}
diff --git a/vr/1.0/Android.mk b/vr/1.0/Android.mk
new file mode 100644
index 00000000..b35ca3d8
--- /dev/null
+++ b/vr/1.0/Android.mk
@@ -0,0 +1,64 @@
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.vr@1.0-java
9LOCAL_MODULE_CLASS := JAVA_LIBRARIES
10
11intermediates := $(local-generated-sources-dir)
12
13HIDL := $(HOST_OUT_EXECUTABLES)/hidl-gen$(HOST_EXECUTABLE_SUFFIX)
14
15#
16# Build IVr.hal
17#
18GEN := $(intermediates)/android/hardware/vr/1.0/IVr.java
19$(GEN): $(HIDL)
20$(GEN): PRIVATE_HIDL := $(HIDL)
21$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IVr.hal
22$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
23$(GEN): PRIVATE_CUSTOM_TOOL = \
24 $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
25 -Ljava -randroid.hardware:hardware/interfaces \
26 android.hardware.vr@1.0::IVr
27
28$(GEN): $(LOCAL_PATH)/IVr.hal
29 $(transform-generated-source)
30LOCAL_GENERATED_SOURCES += $(GEN)
31include $(BUILD_JAVA_LIBRARY)
32
33
34################################################################################
35
36include $(CLEAR_VARS)
37LOCAL_MODULE := android.hardware.vr@1.0-java-static
38LOCAL_MODULE_CLASS := JAVA_LIBRARIES
39
40intermediates := $(local-generated-sources-dir)
41
42HIDL := $(HOST_OUT_EXECUTABLES)/hidl-gen$(HOST_EXECUTABLE_SUFFIX)
43
44#
45# Build IVr.hal
46#
47GEN := $(intermediates)/android/hardware/vr/1.0/IVr.java
48$(GEN): $(HIDL)
49$(GEN): PRIVATE_HIDL := $(HIDL)
50$(GEN): PRIVATE_DEPS := $(LOCAL_PATH)/IVr.hal
51$(GEN): PRIVATE_OUTPUT_DIR := $(intermediates)
52$(GEN): PRIVATE_CUSTOM_TOOL = \
53 $(PRIVATE_HIDL) -o $(PRIVATE_OUTPUT_DIR) \
54 -Ljava -randroid.hardware:hardware/interfaces \
55 android.hardware.vr@1.0::IVr
56
57$(GEN): $(LOCAL_PATH)/IVr.hal
58 $(transform-generated-source)
59LOCAL_GENERATED_SOURCES += $(GEN)
60include $(BUILD_STATIC_JAVA_LIBRARY)
61
62
63
64include $(call all-makefiles-under,$(LOCAL_PATH))
diff --git a/vr/Android.bp b/vr/Android.bp
new file mode 100644
index 00000000..ba90f2c9
--- /dev/null
+++ b/vr/Android.bp
@@ -0,0 +1,5 @@
1// This is an autogenerated file, do not edit.
2subdirs = [
3 "1.0",
4 "1.0/default",
5]
diff --git a/wifi/Android.bp b/wifi/Android.bp
new file mode 100644
index 00000000..ea43db4e
--- /dev/null
+++ b/wifi/Android.bp
@@ -0,0 +1,5 @@
1// This is an autogenerated file, do not edit.
2subdirs = [
3 "1.0",
4 "supplicant/1.0",
5]