Debian Codegraph @

tools/aapt2/Android.mk

raw symbols SCIP
1 LOCAL_PATH := $(call my-dir)
2
3 include $(CLEAR_VARS)
4
5 aapt2_results := $(call intermediates-dir-for,PACKAGING,aapt2_run_host_unit_tests)/result.xml
6
7 # Target for running host unit tests on post/pre-submit.
8 .PHONY: aapt2_run_host_unit_tests
9 aapt2_run_host_unit_tests: $(aapt2_results)
10
11 $(call dist-for-goals,aapt2_run_host_unit_tests,$(aapt2_results):gtest/aapt2_host_unit_tests_result.xml)
12
13 # Always run the tests again, even if they haven't changed
14 $(aapt2_results): .KATI_IMPLICIT_OUTPUTS := $(aapt2_results)-nocache
15 $(aapt2_results): $(HOST_OUT_NATIVE_TESTS)/aapt2_tests/aapt2_tests
16 -$(HOST_OUT_NATIVE_TESTS)/aapt2_tests/aapt2_tests --gtest_output=xml:$@ > /dev/null 2>&1
17
18 $(call declare-1p-target,$(aapt2_results))
19
20 aapt2_results :=
21
22 include $(call all-makefiles-under,$(LOCAL_PATH))