* Rename hittable to hitTestable

Apparently hittable is not politically correct.

* Enable tracing on Fuchsia
This commit is contained in:
Adam Barth
2016-11-28 16:10:10 -08:00
committed by GitHub
parent 323a082f5d
commit 97507cb349
2 changed files with 15 additions and 7 deletions

View File

@@ -16,6 +16,10 @@ source_set("glue") {
sources += [
"stack_trace_fuchsia.cc",
]
public_deps = [
"//apps/tracing/lib/trace",
]
} else {
sources += [
"stack_trace_base.cc",

View File

@@ -3,13 +3,17 @@
// 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 "apps/tracing/lib/trace/event.h"
#define TRACE_EVENT0(a, b) TRACE_DURATION0(a, b)
#define TRACE_EVENT1(a, b, c, d) TRACE_DURATION1(a, b, c, d)
#define TRACE_EVENT2(a, b, c, d, e, f) TRACE_DURATION2(a, b, c, d, e, f)
#define TRACE_EVENT_ASYNC_BEGIN0(a, b, c) TRACE_ASYNC_BEGIN0(a, b, c)
#define TRACE_EVENT_ASYNC_END0(a, b, c) TRACE_ASYNC_END0(a, b, c)
#define TRACE_EVENT_ASYNC_BEGIN1(a, b, c, d, e) \
TRACE_ASYNC_BEGIN1(a, b, c, d, e)
#define TRACE_EVENT_ASYNC_END1(a, b, c, d, e) TRACE_ASYNC_END1(a, b, c, d, e)
#else
#include "base/trace_event/trace_event.h"
#endif // defined(__Fuchsia__)