aboutsummaryrefslogtreecommitdiff
path: root/hidl2aidl
diff options
context:
space:
mode:
Diffstat (limited to 'hidl2aidl')
-rw-r--r--hidl2aidl/test/2.0/Android.bp22
-rw-r--r--hidl2aidl/test/Android.bp7
2 files changed, 29 insertions, 0 deletions
diff --git a/hidl2aidl/test/2.0/Android.bp b/hidl2aidl/test/2.0/Android.bp
new file mode 100644
index 00000000..a3e140e0
--- /dev/null
+++ b/hidl2aidl/test/2.0/Android.bp
@@ -0,0 +1,22 @@
+
+package {
+ // See: http://go/android-license-faq
+ // A large-scale-change added 'default_applicable_licenses' to import
+ // all of the 'license_kinds' from "system_tools_hidl_license"
+ // to get the below license kinds:
+ // SPDX-license-identifier-Apache-2.0
+ default_applicable_licenses: ["system_tools_hidl_license"],
+}
+
+hidl_interface {
+ name: "hidl2aidl.test@2.0",
+ root: "hidl2aidl.test",
+ srcs: [
+ "IFoo.hal",
+ ],
+ interfaces: [
+ "android.hidl.base@1.0",
+ "hidl2aidl.test@1.0",
+ ],
+ gen_java: true,
+}
diff --git a/hidl2aidl/test/Android.bp b/hidl2aidl/test/Android.bp
index 408baef3..5b6412fc 100644
--- a/hidl2aidl/test/Android.bp
+++ b/hidl2aidl/test/Android.bp
@@ -40,6 +40,13 @@ genrule_defaults {
"mv $(genDir)/include/hidl2aidl/test/extension/translate-ndk.h $(genDir)/hidl2aidl/test/extension/ && " +
"mv $(genDir)/include/hidl2aidl/test/extension/translate-cpp.h $(genDir)/hidl2aidl/test/extension/ ",
srcs: [
+ ":android.hidl.base@1.0_hal",
+ ":android.hidl.safe_union@1.0_hal",
+ ":hidl2aidl.test@1.0_hal",
+ ":hidl2aidl.test@1.1_hal",
+ ":hidl2aidl.test@1.2_hal",
+ ":hidl2aidl.test@2.0_hal",
+ ":hidl2aidl.test.extension@1.2_hal",
"1.0/IBar.hal",
"1.0/IFoo.hal",
"1.0/types.hal",