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

Commit fae075f3 authored by Jooyung Han's avatar Jooyung Han
Browse files

Make servicemanager.microdroid uninstallable

`atest servicemanager_test` builds targets in the module directory,
which installs modules defined in the directory as well. This causes
servicemanager.microdroid to be installed and `m droid` next time will
result in a bad state (having both servicemanager instances with .rc
files)

Making the microdroid variant as `installable: false` so that it's not
installed in the target output directory. It's okay for microdroid
because the midrodroid build rule bundles it anyway.

Bug: n/a
Test: MicrodroidHostTestCases
Change-Id: I682c7beefd697f388694d6435491854597db1ab2
parent 6df92f08
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -53,6 +53,9 @@ cc_binary {
    init_rc: ["servicemanager.microdroid.rc"],
    srcs: ["main.cpp"],
    bootstrap: true,
    // Prevent this from being installed when running tests in this directory.
    // This is okay because microdorid build rule can bundle this anyway.
    installable: false,
}

cc_binary {