Set NATIVE_TESTS executable like EXECUTABLES
* Rust test modules should have NATIVE_TESTS class, not EXECUTABLES, to work with atest --host. Bug: 140938178 Test: make rust projects Change-Id: I45c84284d894702471ea46faaa599de27ab6be51
This commit is contained in:
@@ -58,7 +58,7 @@ endif
|
||||
|
||||
$(LOCAL_BUILT_MODULE): $(LOCAL_PREBUILT_MODULE_FILE)
|
||||
$(transform-prebuilt-to-target)
|
||||
ifneq ($(filter EXECUTABLES,$(LOCAL_MODULE_CLASS)),)
|
||||
ifneq ($(filter EXECUTABLES NATIVE_TESTS,$(LOCAL_MODULE_CLASS)),)
|
||||
$(hide) chmod +x $@
|
||||
endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user