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

Commit dcb92358 authored by Dehao Chen's avatar Dehao Chen Committed by Android Git Automerger
Browse files

am 67ce4110: Merge "Check existance of profile directory for specific device." into lmp-dev

* commit '67ce4110':
  Check existance of profile directory for specific device.
parents 16535800 67ce4110
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -29,10 +29,10 @@ else
      $(combo_2nd_arch_prefix)TARGET_FDO_PROFILE_PATH := vendor/google_data/fdo_profile
    endif

    ifneq ($(strip $(wildcard $($(combo_2nd_arch_prefix)TARGET_FDO_PROFILE_PATH))),)
    ifneq ($(strip $(wildcard $($(combo_2nd_arch_prefix)TARGET_FDO_PROFILE_PATH)/$(PRODUCT_OUT))),)
      $(combo_2nd_arch_prefix)TARGET_FDO_CFLAGS := -fprofile-use=$($(combo_2nd_arch_prefix)TARGET_FDO_PROFILE_PATH) -DANDROID_FDO -fprofile-correction -Wcoverage-mismatch -Wno-error
    else
      $(warning Profile directory $($(combo_2nd_arch_prefix)TARGET_FDO_PROFILE_PATH) does not exist. Turn off FDO.)
      $(warning Profile directory $($(combo_2nd_arch_prefix)TARGET_FDO_PROFILE_PATH)/$(PRODUCT_OUT) does not exist. Turn off FDO.)
    endif
  endif
endif