build-unit-test-docker: minor dependency tweaks
Add explicit dependency for objmgr -> phosphor-dbus-interfaces.
Make formatting more consistent.
Remove googletest dependencies when '-Dtests=disabled' is passed.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I3a3d7aa290c850181a6c2edaeed1af7df8c44d26
diff --git a/scripts/build-unit-test-docker b/scripts/build-unit-test-docker
index 860f6d7..7760153 100755
--- a/scripts/build-unit-test-docker
+++ b/scripts/build-unit-test-docker
@@ -201,9 +201,10 @@
),
"openbmc/phosphor-objmgr": PackageDef(
depends=[
- "boost",
"CLIUtils/CLI11",
+ "boost",
"leethomason/tinyxml2",
+ "openbmc/phosphor-dbus-interfaces",
"openbmc/phosphor-logging",
"openbmc/sdbusplus",
],
@@ -242,7 +243,10 @@
],
),
"openbmc/sdeventplus": PackageDef(
- depends=["Naios/function2", "openbmc/stdplus"],
+ depends=[
+ "Naios/function2",
+ "openbmc/stdplus",
+ ],
build_type="meson",
config_flags=[
"-Dexamples=false",
@@ -250,7 +254,10 @@
],
),
"openbmc/stdplus": PackageDef(
- depends=["fmtlib/fmt", "Naios/function2", "google/googletest"],
+ depends=[
+ "Naios/function2",
+ "fmtlib/fmt",
+ ],
build_type="meson",
config_flags=[
"-Dexamples=false",