Merge "Only allow LOCAL_IS_UNIT_TEST set to ALL_MODULES if defined."

This commit is contained in:
Treehugger Robot 2021-04-20 01:16:45 +00:00 committed by Gerrit Code Review
commit 66321c193b
1 changed files with 2 additions and 0 deletions

View File

@ -1005,7 +1005,9 @@ ALL_MODULES.$(my_register_name).TEST_MAINLINE_MODULES := $(LOCAL_TEST_MAINLINE_M
ifndef LOCAL_IS_HOST_MODULE
ALL_MODULES.$(my_register_name).FILE_CONTEXTS := $(LOCAL_FILE_CONTEXTS)
endif
ifdef LOCAL_IS_UNIT_TEST
ALL_MODULES.$(my_register_name).IS_UNIT_TEST := $(LOCAL_IS_UNIT_TEST)
endif
test_config :=
INSTALLABLE_FILES.$(LOCAL_INSTALLED_MODULE).MODULE := $(my_register_name)