diff options
author | Stefan Schake <[email protected]> | 2018-04-16 00:45:17 +0200 |
---|---|---|
committer | Tapani Pälli <[email protected]> | 2018-04-20 18:49:49 +0300 |
commit | ff904978a1d299a36b58781df47351729a8e40b6 (patch) | |
tree | 287c0a9b29bcc33ba456edb78a6b34bc5f231810 /src/gallium/auxiliary/Android.mk | |
parent | 2abd4f4b497d8a37c01df5d1466703186579afec (diff) |
gallium/util: Android backtrace support
We can't use any of the existing implementations in u_debug_stack.
Android technically has libunwind, but it's been modified to the point
where it no longer compiles with the Mesa usage. The library is also
not meant to be referenced by vendor libraries. The officially sanctioned
way of obtaining backtraces is through the Android own libbacktrace, a
C++ library. Access it through a separate C++ source file on Android only.
Signed-off-by: Stefan Schake <[email protected]>
Acked-by: Eric Engestrom <[email protected]>
Reviewed-by: Rob Herring <[email protected]>
Reviewed-by: Tapani Pälli <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/Android.mk')
-rw-r--r-- | src/gallium/auxiliary/Android.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/Android.mk b/src/gallium/auxiliary/Android.mk index 26938384fb2..acd243b8346 100644 --- a/src/gallium/auxiliary/Android.mk +++ b/src/gallium/auxiliary/Android.mk @@ -32,7 +32,8 @@ LOCAL_SRC_FILES := \ $(C_SOURCES) \ $(NIR_SOURCES) \ $(RENDERONLY_SOURCES) \ - $(VL_STUB_SOURCES) + $(VL_STUB_SOURCES) \ + util/u_debug_stack_android.cpp LOCAL_C_INCLUDES := \ $(GALLIUM_TOP)/auxiliary/util |