commit | f01c7aec0d7f7db784531a5ce18a87afa9e9c0f1 | [log] [tgz] |
---|---|---|
author | Yu Shan <shanyu@google.com> | Mon May 20 13:03:41 2024 -0700 |
committer | Yu Shan <shanyu@google.com> | Mon May 20 16:48:19 2024 -0700 |
tree | 697802a187e1881e1526becac8257067c817568e | |
parent | 5ddb4185f2716e2d131f0b17be68bc87cb4b9d40 [diff] |
Add require_root to FakeVehicleHardwareTest. According to b/329690075, vendor tests need root to use vendor lib, otherwise atest will cause link error. Test: atest FakeVehicleHardwareTest on cf_auto Flag: EXEMPT bug Bug: 341762230 Change-Id: I6bab19b20e6fe91dbdb2a6526172a5dd1d092ff5
diff --git a/automotive/vehicle/aidl/impl/fake_impl/hardware/test/Android.bp b/automotive/vehicle/aidl/impl/fake_impl/hardware/test/Android.bp index 664c877..9f002dd 100644 --- a/automotive/vehicle/aidl/impl/fake_impl/hardware/test/Android.bp +++ b/automotive/vehicle/aidl/impl/fake_impl/hardware/test/Android.bp
@@ -56,6 +56,8 @@ defaults: [ "VehicleHalDefaults", ], + // Need root to use vendor lib: libgrpc++. + require_root: true, test_suites: ["device-tests"], }