summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Moreland <smoreland@google.com>2019-10-02 14:40:46 -0700
committerSteven Moreland <smoreland@google.com>2019-10-02 14:42:38 -0700
commitf40e5948013ac6c48da0ac94853abf44dfd0328b (patch)
tree5b6591a9a2fcbedd042cabcb3abe3df32925750f
parent6b21a983aea586b491f4e267b7a7c2b76cdc3c44 (diff)
downloadlibhidl-f40e5948013ac6c48da0ac94853abf44dfd0328b.tar.gz
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
-rw-r--r--transport/ServiceManagement.cpp7
1 files changed, 0 insertions, 7 deletions
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 @@ struct PassthroughServiceManager : IServiceManager1_1 {
} 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