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

Commit bd7e1a38 authored by Pirama Arumuga Nainar's avatar Pirama Arumuga Nainar Committed by Gerrit Code Review
Browse files

Merge "Set a BIONIC_COVERAGE .mk variable"

parents 70ca7c6a b1b4e1e3
Loading
Loading
Loading
Loading
+16 −0
Original line number Diff line number Diff line
@@ -331,6 +331,22 @@ else
JAVA_TMPDIR_ARG :=
endif

# http://b/210012154 Set BIONIC_COVERAGE if coverage is enabled for bionic.  This
# disable continuous coverage and removes '%c' from init.environ.rc:LLVM_PROFILE_FILE
ifeq ($(NATIVE_COVERAGE_PATHS),*)
  ifeq ($(filter bionic%,$(NATIVE_COVERAGE_EXCLUDE_PATHS)),)
	BIONIC_COVERAGE := true
  else
	BIONIC_COVERAGE := false
  endif
else
  ifeq ($(filter bionic%,$(NATIVE_COVERAGE_PATHS)),)
	BIONIC_COVERAGE := false
  else
	BIONIC_COVERAGE := true
  endif
endif

# ###############################################################
# Include sub-configuration files
# ###############################################################