mesa/src/android_stub/cutils_stub.cpp
Yiwei Zhang 2881b43d2c android_stub: update platform headers to include atrace
1. Add tracing headers
2. Update to reflect relocated headers
3. Remove redundant apex/window.h

Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org>
Reviewed-by: Chia-I Wu <olvaffe@gmail.com>
Reviewed-by: Ryan Neph <ryanneph@google.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13255>
2021-10-09 00:42:32 +00:00

32 lines
340 B
C++

#include <cutils/properties.h>
#include <cutils/trace.h>
extern "C" {
int
property_get(const char *key, char *value, const char *default_value)
{
return 0;
}
void
atrace_begin_body(const char * /*name*/)
{
}
void
atrace_end_body()
{
}
void
atrace_init()
{
}
uint64_t
atrace_get_enabled_tags()
{
return ATRACE_TAG_NOT_READY;
}
}