Merge "Add is-board-platform2/is-board-platform-in-list2" am: 562e71bb7e
Original change: https://android-review.googlesource.com/c/platform/build/+/1810519 Change-Id: Ib08d954173122209a680ced3dd1c0841d5b6b7b9
This commit is contained in:
@@ -100,6 +100,16 @@ define product-copy-files-by-pattern
|
||||
$(join $(patsubst %,$(1),$(3)),$(patsubst %,:$(2),$(3)))
|
||||
endef
|
||||
|
||||
# Return empty unless the board matches
|
||||
define is-board-platform2
|
||||
$(filter $(1), $(TARGET_BOARD_PLATFORM))
|
||||
endef
|
||||
|
||||
# Return empty unless the board is in the list
|
||||
define is-board-platform-in-list2
|
||||
$(filter $(1),$(TARGET_BOARD_PLATFORM))
|
||||
endef
|
||||
|
||||
# ---------------------------------------------------------------
|
||||
# Check for obsolete PRODUCT- and APP- goals
|
||||
ifeq ($(CALLED_FROM_SETUP),true)
|
||||
|
Reference in New Issue
Block a user