Revert "Wire up mojo tracing (#3047)"

This patch depends on another patch that hasn't landed yet.

This reverts commit 2a657e55a90307decc50f56f3512ae0d412bcef4.
This commit is contained in:
Adam Barth 2016-09-21 12:29:11 -07:00
parent 2a657e55a9
commit 4acfeefb58
2 changed files with 7 additions and 5 deletions

View File

@ -29,10 +29,6 @@ source_set("glue") {
deps += [
"//lib/mtl",
]
public_deps = [
"//mojo/services/tracing/cpp",
]
} else {
sources += [
"drain_data_pipe_job_base.cc",

View File

@ -3,7 +3,13 @@
// found in the LICENSE file.
#if defined(__Fuchsia__)
#include "mojo/services/tracing/cpp/macros.h"
#define TRACE_EVENT0(a, b)
#define TRACE_EVENT1(a, b, c, d)
#define TRACE_EVENT2(a, b, c, d, e, f)
#define TRACE_EVENT_ASYNC_BEGIN0(a, b, c)
#define TRACE_EVENT_ASYNC_END0(a, b, c)
#define TRACE_EVENT_ASYNC_BEGIN1(a, b, c, d, e)
#define TRACE_EVENT_ASYNC_END1(a, b, c, d, e)
#else
#include "base/trace_event/trace_event.h"
#endif // defined(__Fuchsia__)