Enable tracing on Fuchsia (flutter/engine#3116)

This commit is contained in:
Adam Barth
2016-10-12 10:25:35 -07:00
committed by GitHub
parent 43fb16a7c4
commit 6be2d61c93
2 changed files with 5 additions and 7 deletions

View File

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

View File

@@ -3,13 +3,7 @@
// found in the LICENSE file.
#if defined(__Fuchsia__)
#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)
#include "lib/trace_event/macros.h"
#else
#include "base/trace_event/trace_event.h"
#endif // defined(__Fuchsia__)