Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 526a36ca authored by Jiyong Park's avatar Jiyong Park Committed by Steven Moreland
Browse files

HAL interface libs for testing are built w/o VNDK.

The HAL interfaces for testing were copied to /system/lib[64]/vndk
directory since they are built as cc_library and thus falsely recognized
as members of VNDK, which isn't true.

Build them as non-VNDK so that they are filtered out. To do so,
.hidl_for_test files are added for the test HALs and update-makefiles.sh
were ran.

Bug: 64776708
Test: no android.hardware.tests.*.so file in /system/lib[64]/vndk on
2017 pixel devices

Change-Id: I6167da8572081adfb53f432b248ac3bbee39dc42
parent 1f87d477
Loading
Loading
Loading
Loading
+0 −0

Empty file added.

+0 −3
Original line number Diff line number Diff line
@@ -74,9 +74,6 @@ cc_library {
    generated_headers: ["android.hardware.tests.bar@1.0_genc++_headers"],
    export_generated_headers: ["android.hardware.tests.bar@1.0_genc++_headers"],
    vendor_available: true,
    vndk: {
        enabled: true,
    },
    shared_libs: [
        "libhidlbase",
        "libhidltransport",
+0 −0

Empty file added.

+0 −3
Original line number Diff line number Diff line
@@ -67,9 +67,6 @@ cc_library {
    generated_headers: ["android.hardware.tests.baz@1.0_genc++_headers"],
    export_generated_headers: ["android.hardware.tests.baz@1.0_genc++_headers"],
    vendor_available: true,
    vndk: {
        enabled: true,
    },
    shared_libs: [
        "libhidlbase",
        "libhidltransport",
+0 −0

Empty file added.

Loading