Adam Lesinski | 2427dce | 2017-11-30 15:10:28 -0800 | [diff] [blame] | 1 | LOCAL_PATH := $(call my-dir) |
| 2 | |
Adam Lesinski | 04465e7 | 2017-11-02 15:23:36 -0700 | [diff] [blame] | 3 | include $(CLEAR_VARS) |
| 4 | |
Adam Lesinski | 2427dce | 2017-11-30 15:10:28 -0800 | [diff] [blame] | 5 | # Target for running host unit tests on post/pre-submit. |
Adam Lesinski | 04465e7 | 2017-11-02 15:23:36 -0700 | [diff] [blame] | 6 | .PHONY: aapt2_run_host_unit_tests |
| 7 | aapt2_run_host_unit_tests: PRIVATE_GTEST_OPTIONS := --gtest_output=xml:$(DIST_DIR)/gtest/aapt2_host_unit_tests_result.xml |
| 8 | aapt2_run_host_unit_tests: $(HOST_OUT_NATIVE_TESTS)/aapt2_tests/aapt2_tests |
| 9 | -$(HOST_OUT_NATIVE_TESTS)/aapt2_tests/aapt2_tests $(PRIVATE_GTEST_OPTIONS) > /dev/null 2>&1 |
| 10 | |
Adam Lesinski | 2427dce | 2017-11-30 15:10:28 -0800 | [diff] [blame] | 11 | include $(call all-makefiles-under,$(LOCAL_PATH)) |