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

Commit a3d36a8c authored by Tao Bao's avatar Tao Bao
Browse files

init: Build init_tests only for the first arch.

Not all the dependent shared libs are installed on device with both
arches. For example, we don't have 32-bit `libfs_mgr.so` or
`libbootloader_message.so` on marlin, which would cause 32-bit
`init_tests` to fail.

Bug: 112494634
Test: Run (64-bit) init_tests on marlin.
Test: `m -j continuous_native_tests` with aosp_marlin-userdebug. Check
      that only 64-bit init_tests is included in
      `continuous_native_tests.zip`.
Change-Id: I999d58750d48c34df7dbabccf8863a6ccaf0b83c
parent 66209ca9
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -151,6 +151,7 @@ cc_binary {
cc_test {
    name: "init_tests",
    defaults: ["init_defaults"],
    compile_multilib: "first",
    srcs: [
        "devices_test.cpp",
        "init_test.cpp",