Don't install test suite files from uninstallable modules
Don't copy tests or test data to the test suite directories if the module is marked LOCAL_UNINSTALLABLE_MODULE := true. Fixes: 153758132 Test: m checkbuild Change-Id: Ibdf18807a2ffe9bb352d74880a802ad55b57f154
This commit is contained in:
@@ -597,6 +597,7 @@ endif
|
||||
## Compatibility suite files.
|
||||
###########################################################
|
||||
ifdef LOCAL_COMPATIBILITY_SUITE
|
||||
ifneq (true,$(LOCAL_UNINSTALLABLE_MODULE))
|
||||
|
||||
# If we are building a native test or benchmark and its stem variants are not defined,
|
||||
# separate the multiple architectures into subdirectories of the testcase folder.
|
||||
@@ -757,6 +758,7 @@ $(foreach suite, $(LOCAL_COMPATIBILITY_SUITE), \
|
||||
$(eval my_compat_dist_config_$(suite) := ) \
|
||||
$(eval my_compat_dist_test_data_$(suite) := ))
|
||||
|
||||
endif # LOCAL_UNINSTALLABLE_MODULE
|
||||
endif # LOCAL_COMPATIBILITY_SUITE
|
||||
|
||||
###########################################################
|
||||
|
Reference in New Issue
Block a user