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:
Chih-Hung Hsieh 2019-11-15 04:08:48 -08:00
parent 9d789145fa
commit ef17769720
1 changed files with 1 additions and 1 deletions

View File

@ -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