Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bc94d750 authored by Pirama Arumuga Nainar's avatar Pirama Arumuga Nainar Committed by Automerger Merge Worker
Browse files

Merge "Revert "Enable continuous coverage: use '%c' specifier in...

Merge "Revert "Enable continuous coverage: use '%c' specifier in LLVM_PROFILE_FILE"" am: 5418d91e am: 4408a063 am: 3ae1ae4a

Original change: https://android-review.googlesource.com/c/platform/system/core/+/1953530

Change-Id: Ieedefca7cb5e3fb486c2ac26c39e26cec5ad6152
parents 9e47d1f0 3ae1ae4a
Loading
Loading
Loading
Loading
+2 −7
Original line number Diff line number Diff line
@@ -75,15 +75,10 @@ ifeq ($(NATIVE_COVERAGE),true)
  EXPORT_GLOBAL_GCOV_OPTIONS := export GCOV_PREFIX /data/misc/trace
endif

EXPORT_GLOBAL_CLANG_COVERAGE_OPTIONS :=
ifeq ($(CLANG_COVERAGE),true)
  ifeq ($(BIONIC_COVERAGE),false)
    # http://b/210012154 Disable continuous coverage if instrumentation is on
    # for bionic/libc
    EXPORT_GLOBAL_CLANG_COVERAGE_OPTIONS := export LLVM_PROFILE_FILE /data/misc/trace/clang%c-%20m.profraw
  else
  EXPORT_GLOBAL_CLANG_COVERAGE_OPTIONS := export LLVM_PROFILE_FILE /data/misc/trace/clang-%20m.profraw
endif
endif

# Put it here instead of in init.rc module definition,
# because init.rc is conditionally included.