1LOCAL_PATH := $(call my-dir) 2 3include $(CLEAR_VARS) 4 5# Target for running host unit tests on post/pre-submit. 6.PHONY: aapt2_run_host_unit_tests 7aapt2_run_host_unit_tests: PRIVATE_GTEST_OPTIONS := --gtest_output=xml:$(DIST_DIR)/gtest/aapt2_host_unit_tests_result.xml 8aapt2_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 11include $(call all-makefiles-under,$(LOCAL_PATH)) 12