| Index: src/platform/update_engine/testrunner.cc
|
| diff --git a/src/platform/update_engine/testrunner.cc b/src/platform/update_engine/testrunner.cc
|
| index 0a74480d4f39d73035b36c95564d3cc6c5884643..933c25d930b2ed2d999531f820c62212ed4bf0c3 100644
|
| --- a/src/platform/update_engine/testrunner.cc
|
| +++ b/src/platform/update_engine/testrunner.cc
|
| @@ -4,14 +4,21 @@
|
|
|
| // based on pam_google_testrunner.cc
|
|
|
| +#include <dbus/dbus-glib.h>
|
| +#include <dbus/dbus-glib-bindings.h>
|
| +#include <dbus/dbus-glib-lowlevel.h>
|
| #include <glib.h>
|
| +#include <glib-object.h>
|
| #include <gtest/gtest.h>
|
| -
|
| +#include "base/command_line.h"
|
| #include "update_engine/subprocess.h"
|
|
|
| int main(int argc, char **argv) {
|
| + ::g_type_init();
|
| g_thread_init(NULL);
|
| + dbus_g_thread_init();
|
| chromeos_update_engine::Subprocess::Init();
|
| + CommandLine::Init(argc, argv);
|
| ::testing::InitGoogleTest(&argc, argv);
|
| return RUN_ALL_TESTS();
|
| }
|
|
|