aboutsummaryrefslogtreecommitdiffstats
path: root/system/OpenglSystemCommon
diff options
context:
space:
mode:
authorLingfeng Yang <lfy@google.com>2020-10-03 00:42:40 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2020-10-03 00:42:40 +0000
commit4f8dd7c231827d4647c5438dc9369dab187475c6 (patch)
tree1fd0ec0199b303080abd2c612641963564b7d12f /system/OpenglSystemCommon
parentb9c79eb5b2fdb680b38c93f4b39a822d95d41f01 (diff)
parente926f0a067487d3f284f3ad61fbb7f8a5030f856 (diff)
downloaddevice_generic_goldfish-opengl-master.tar.gz
device_generic_goldfish-opengl-master.tar.bz2
device_generic_goldfish-opengl-master.zip
Merge "Revert "Make it easier to locally unit test guest/host combined tracing""HEADmaster
Diffstat (limited to 'system/OpenglSystemCommon')
-rw-r--r--system/OpenglSystemCommon/HostConnection.cpp10
1 files changed, 1 insertions, 9 deletions
diff --git a/system/OpenglSystemCommon/HostConnection.cpp b/system/OpenglSystemCommon/HostConnection.cpp
index 7ddf277f..7d309fbd 100644
--- a/system/OpenglSystemCommon/HostConnection.cpp
+++ b/system/OpenglSystemCommon/HostConnection.cpp
@@ -17,10 +17,6 @@
#include "cutils/properties.h"
-#ifdef HOST_BUILD
-#include "android/base/Tracing.h"
-#endif
-
#ifdef GOLDFISH_NO_GL
struct gl_client_context_t {
int placeholder;
@@ -363,11 +359,7 @@ HostConnection::HostConnection() :
m_grallocOnly(true),
m_noHostError(true),
m_rendernodeFd(-1),
- m_rendernodeFdOwned(false) {
-#ifdef HOST_BUILD
- android::base::initializeTracing();
-#endif
-}
+ m_rendernodeFdOwned(false) { }
HostConnection::~HostConnection()
{