From a82561ec7f813171fe27385cb1d61b8179110b2f Mon Sep 17 00:00:00 2001 From: cheyang Date: Tue, 1 Dec 2020 14:41:08 +0800 Subject: [PATCH] android: fix build failure with libbacktrace MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit because 848e7b94 commit cause.it modify u_debug_stack_android.cpp location from src/gallium/auxiliary/util to src/util but Android.mk not modify Fixes: 848e7b94 ("Move stack debug functions to src/util") Signed-off-by: cheyang Acked-by: Tapani Pälli Part-of: (cherry picked from commit 83d1e2efd0e89191da80b62c048a9b7a471a86a3) --- .pick_status.json | 2 +- src/gallium/auxiliary/Android.mk | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.pick_status.json b/.pick_status.json index 5274baf37ca..94b0ba00805 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -148,7 +148,7 @@ "description": "android: fix build failure with libbacktrace", "nominated": true, "nomination_type": 1, - "resolution": 0, + "resolution": 1, "master_sha": null, "because_sha": "848e7b947d0d505d54d27780b052e5532c721678" }, diff --git a/src/gallium/auxiliary/Android.mk b/src/gallium/auxiliary/Android.mk index 2c3f813ac6e..0dc23ff31f6 100644 --- a/src/gallium/auxiliary/Android.mk +++ b/src/gallium/auxiliary/Android.mk @@ -36,7 +36,9 @@ LOCAL_SRC_FILES := \ $(VL_STUB_SOURCES) ifeq ($(USE_LIBBACKTRACE),true) - LOCAL_SRC_FILES += util/u_debug_stack_android.cpp + LOCAL_CFLAGS += -DHAVE_ANDROID_PLATFORM + LOCAL_SHARED_LIBRARIES += libbacktrace + LOCAL_SRC_FILES += ../../util/u_debug_stack_android.cpp endif LOCAL_C_INCLUDES := \