OSDN Git Service

Add libstatssocket to linkerconfig
authorMuhammad Qureshi <muhammadq@google.com>
Wed, 12 Feb 2020 15:49:48 +0000 (07:49 -0800)
committerJeffrey Huang <jeffreyhuang@google.com>
Thu, 13 Feb 2020 19:21:24 +0000 (11:21 -0800)
Bug: 145923416
Test: m
Test: fastboot flashall
Change-Id: If3936e1a22fb7b0c055fb8fbf121c423e30b068e

contents/namespace/apexplatform.cc
contents/namespace/systemdefault.cc
generator/variableloader.cc

index 2594729..9e315f9 100644 (file)
@@ -45,6 +45,7 @@ std::vector<std::string> required_libs = {
     "libpac.so",
     // statsd
     "libstatspull.so",
+    "libstatssocket.so",
 };
 }  // namespace
 
index c447a9f..98296ab 100644 (file)
@@ -122,6 +122,7 @@ Namespace BuildSystemDefaultNamespace([[maybe_unused]] const Context& ctx) {
       "libneuralnetworks.so",
       // statsd
       "libstatspull.so",
+      "libstatssocket.so",
   });
 
   ns.AddProvides(GetSystemStubLibraries());
index 3cfd769..69009b3 100644 (file)
@@ -64,7 +64,6 @@ std::vector<std::string> stub_libraries = {
     "libmediandk.so",
     "libnativewindow.so",
     "libneuralnetworks_packageinfo.so",
-    "libstatssocket.so",
     "libsync.so",
     "libvndksupport.so",
     "libvulkan.so",