Remove references to libchrome
Removed dependencies on libchrome which was used mostly for logging
and switched over to standard Android log macros.
Bug: None
Test: `m -j32` still succeeds
Change-Id: I0a841c19c15c02f9a031af200e82837f9450d88a
diff --git a/libs/vr/libdvrgraphics/timer_query.cpp b/libs/vr/libdvrgraphics/timer_query.cpp
index dcc6216..23d2b7c 100644
--- a/libs/vr/libdvrgraphics/timer_query.cpp
+++ b/libs/vr/libdvrgraphics/timer_query.cpp
@@ -1,7 +1,7 @@
#include "include/private/dvr/graphics/timer_query.h"
#include <GLES2/gl2ext.h>
-#include <base/logging.h>
+#include <log/log.h>
namespace android {
namespace dvr {
@@ -38,7 +38,7 @@
double SyncTimerQuery::FlushAndGetTimeInMS() {
if (timer_.query_ == 0) {
- LOG(ERROR) << "Error: Only call FlushAndGetTimeInMS() once.";
+ ALOGE("Error: Only call FlushAndGetTimeInMS() once.");
return 0.0;
}
timer_.End();
@@ -51,7 +51,7 @@
GLint disjoint_occurred = 0;
glGetIntegerv(GL_GPU_DISJOINT_EXT, &disjoint_occurred);
if (disjoint_occurred) {
- LOG(ERROR) << "Disjoint occurred.";
+ ALOGE("Disjoint occurred.");
timer_.Delete();
return 0.0;
}