Remove VTS_ROOT_PATH.
We don't need to consult a separate path anymore because these tests
statically include their passthrough impl, like this:
// Allow dlsym'ing self for statically linked passthrough implementations
ldflags: ["-rdynamic"],
// These are static libs only for testing purposes and portability. Shared
// libs should be used on device.
static_libs: ["android.hardware.tests.msgq@1.0"],
whole_static_libs: ["android.hardware.tests.msgq@1.0-impl"],
So, since it is no longer needed, removing this user/userdebug
difference.
Fixes: 123891184
Test: boot
Change-Id: Ic9b85e98725d20f3dcf6446689768ba129b4a5cf
diff --git a/transport/ServiceManagement.cpp b/transport/ServiceManagement.cpp
index bb690f4..c58a247 100644
--- a/transport/ServiceManagement.cpp
+++ b/transport/ServiceManagement.cpp
@@ -382,13 +382,6 @@
} else if (!eachLib(handle, "SELF", sym)) {
return;
}
-
- const char* vtsRootPath = std::getenv("VTS_ROOT_PATH");
- if (vtsRootPath && strlen(vtsRootPath) > 0) {
- const std::string halLibraryPathVtsOverride =
- std::string(vtsRootPath) + HAL_LIBRARY_PATH_SYSTEM;
- paths.insert(paths.begin(), halLibraryPathVtsOverride);
- }
}
#endif