blob: bb93eb08e121b5db2502eabf1ed8df0be9e83de4 [file] [log] [blame]
Ying Wang4c681742010-07-20 11:08:47 -07001###########################################
2## A thin wrapper around BUILD_EXECUTABLE
3## Common flags for native tests are added.
4###########################################
5
Dan Willemsene1c6dea2016-06-22 00:27:54 -07006ifdef LOCAL_MODULE_CLASS
7ifneq ($(LOCAL_MODULE_CLASS),NATIVE_TESTS)
8$(error $(LOCAL_PATH): LOCAL_MODULE_CLASS must be NATIVE_TESTS with BUILD_HOST_NATIVE_TEST)
Dan Willemsen7fe992c2016-03-02 13:54:51 -08009endif
Dan Willemsene1c6dea2016-06-22 00:27:54 -070010endif
11
12LOCAL_MODULE_CLASS := NATIVE_TESTS
Dan Willemsen7fe992c2016-03-02 13:54:51 -080013
Christopher Ferris70ca5e52014-02-04 22:09:16 -080014include $(BUILD_SYSTEM)/target_test_internal.mk
Ying Wang4c681742010-07-20 11:08:47 -070015
Ying Wangad10cc72014-06-10 17:52:20 -070016ifndef LOCAL_MULTILIB
17ifndef LOCAL_32_BIT_ONLY
Colin Cross8c141e72014-03-24 18:39:18 -070018LOCAL_MULTILIB := both
Ying Wangad10cc72014-06-10 17:52:20 -070019endif
20endif
Colin Cross8c141e72014-03-24 18:39:18 -070021
Ying Wang4c681742010-07-20 11:08:47 -070022include $(BUILD_EXECUTABLE)