forked from openkylin/platform_build
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:
parent
9d789145fa
commit
ef17769720
|
@ -58,7 +58,7 @@ endif
|
||||||
|
|
||||||
$(LOCAL_BUILT_MODULE): $(LOCAL_PREBUILT_MODULE_FILE)
|
$(LOCAL_BUILT_MODULE): $(LOCAL_PREBUILT_MODULE_FILE)
|
||||||
$(transform-prebuilt-to-target)
|
$(transform-prebuilt-to-target)
|
||||||
ifneq ($(filter EXECUTABLES,$(LOCAL_MODULE_CLASS)),)
|
ifneq ($(filter EXECUTABLES NATIVE_TESTS,$(LOCAL_MODULE_CLASS)),)
|
||||||
$(hide) chmod +x $@
|
$(hide) chmod +x $@
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue