From 9664bb1f3bb6afd5c3e9cd91ccacb6ce6fa9d38a Mon Sep 17 00:00:00 2001 From: Mauro Rossi Date: Fri, 5 Feb 2021 23:06:32 +0100 Subject: [PATCH] android: intel: Print GPU timing data based on INTEL_MEASURE Fixes the following building errors in Android: FAILED: out/target/product/x86_64/obj/SHARED_LIBRARIES/vulkan.android-x86_intermediates/LINKED/vulkan.android-x86.so ... ld.lld: error: undefined symbol: intel_measure_init ld.lld: error: undefined symbol: intel_measure_state_changed ld.lld: error: undefined symbol: intel_measure_snapshot_string ld.lld: error: undefined symbol: intel_measure_gather ld.lld: error: undefined symbol: intel_measure_frame_transition Fixes: 0f4143ec3787 ("intel: Print GPU timing data based on INTEL_MEASURE") Signed-off-by: Mauro Rossi Acked-by: Jason Ekstrand Part-of: --- src/intel/Makefile.sources | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/intel/Makefile.sources b/src/intel/Makefile.sources index 737f73abf23..d2525a44fe8 100644 --- a/src/intel/Makefile.sources +++ b/src/intel/Makefile.sources @@ -27,7 +27,9 @@ COMMON_FILES = \ common/gen_sample_positions.c \ common/gen_sample_positions.h \ common/gen_uuid.c \ - common/gen_uuid.h + common/gen_uuid.h \ + common/intel_measure.c \ + common/intel_measure.h COMPILER_FILES = \ compiler/brw_cfg.cpp \