Merge "Don't call $(my_path_comp) if $(dir $(LOCAL_PATH)) is TOP" am: 15fbad3dfa am: d4aef1614a am: 249430d062 am: e6d1bf14e7

Original change: https://android-review.googlesource.com/c/platform/build/+/1396208

Change-Id: Ia4709853b5667ade9a0710968d102f741c84506a
This commit is contained in:
Yo Chiang 2020-08-12 05:07:11 +00:00 committed by Automerger Merge Worker
commit 518a3a20b5
1 changed files with 3 additions and 1 deletions

View File

@ -487,7 +487,9 @@ $(_local_path_target): $(my_register_name)
ifndef $(_local_path_target) ifndef $(_local_path_target)
$(_local_path_target) := true $(_local_path_target) := true
$(eval $(call my_path_comp,$(_local_path),$(_local_path_target))) ifneq (,$(findstring /,$(_local_path)))
$(eval $(call my_path_comp,$(_local_path),$(_local_path_target)))
endif
endif endif
_local_path := _local_path :=