Adding ability to add configs via adb command-line. The input
must be in serialized binary format. Also fixes small issue
in build rule related to proto lib.

Test: Manually tested that ADB command works without crashing.

Change-Id: Iba2e677561ff500adb601a598f73e8a7b32540e5
diff --git a/cmds/statsd/src/main.cpp b/cmds/statsd/src/main.cpp
index 2c721c7..f9265c6 100644
--- a/cmds/statsd/src/main.cpp
+++ b/cmds/statsd/src/main.cpp
@@ -57,7 +57,9 @@
 
     // Put the printer one first, so it will print before the real ones.
     reader->AddListener(new LogEntryPrinter(STDOUT_FILENO));
-    reader->AddListener(new StatsLogProcessor());
+    sp<StatsLogProcessor> main_processor = new StatsLogProcessor();
+    data->service->setProcessor(main_processor);
+    reader->AddListener(main_processor);
 
     // TODO: Construct and add real LogListners here.