From 65430f8de60c8b9f90a2e5e30da6d36f03e5860c Mon Sep 17 00:00:00 2001 From: Oliver Nguyen Date: Mon, 1 Apr 2024 15:35:28 -0700 Subject: [PATCH] Move native coverage output directory. Native coverage will be written to /data/local/tmp instead of /data/misc/trace, allowing coverage tests to run on non-coverage builds. Test: atest libunwindstack_unit_test --experimental-coverage Test: m droid && acloud create --local-image Bug: 332390317 Change-Id: I5840cef04a6e0dc3c749c53121176e1ea42029a0 --- rootdir/Android.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rootdir/Android.mk b/rootdir/Android.mk index 593bb1e34..0d5abbff4 100644 --- a/rootdir/Android.mk +++ b/rootdir/Android.mk @@ -85,9 +85,9 @@ endif EXPORT_GLOBAL_CLANG_COVERAGE_OPTIONS := ifeq ($(CLANG_COVERAGE),true) ifeq ($(CLANG_COVERAGE_CONTINUOUS_MODE),true) - EXPORT_GLOBAL_CLANG_COVERAGE_OPTIONS := export LLVM_PROFILE_FILE /data/misc/trace/clang%c-%20m.profraw + EXPORT_GLOBAL_CLANG_COVERAGE_OPTIONS := export LLVM_PROFILE_FILE /data/local/tmp/clang%c-%20m.profraw else - EXPORT_GLOBAL_CLANG_COVERAGE_OPTIONS := export LLVM_PROFILE_FILE /data/misc/trace/clang-%20m.profraw + EXPORT_GLOBAL_CLANG_COVERAGE_OPTIONS := export LLVM_PROFILE_FILE /data/local/tmp/clang-%20m.profraw endif endif