Clean up dependencies of peerconnection_unittest.
There were a number of unused includes and undeclared
dependencies. I removed the includes that were causing
problems and added dependencies for the includes that
turned out to be needed.
Bug: webrtc:7239,webrtc:6828
Change-Id: I5b57f9b8411d969e96eaa46fb49101b7b7c32284
Reviewed-on: https://webrtc-review.googlesource.com/1185
Commit-Queue: Patrik Höglund <phoglund@webrtc.org>
Reviewed-by: Taylor Brandstetter <deadbeef@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#19858}
diff --git a/pc/test/androidtestinitializer.cc b/pc/test/androidtestinitializer.cc
index c9525f8..f39a3e7 100644
--- a/pc/test/androidtestinitializer.cc
+++ b/pc/test/androidtestinitializer.cc
@@ -12,6 +12,7 @@
#include <pthread.h>
+
#include "rtc_base/ignore_wundef.h"
// Note: this dependency is dangerous since it reaches into Chromium's base.
@@ -22,8 +23,13 @@
#include "base/android/jni_android.h"
RTC_POP_IGNORING_WUNDEF()
+
#include "modules/utility/include/jvm_android.h"
#include "rtc_base/checks.h"
+
+// TODO(phoglund): This include is also to a target we can't really depend on.
+// We need to either break it out into a smaller target or find some way to
+// not use it.
#include "rtc_base/ssladapter.h"
namespace webrtc {