xref: /aosp12/frameworks/base/tools/aapt2/Android.mk
  • Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1LOCAL_PATH := $(call my-dir)
2
3include $(CLEAR_VARS)
4
5aapt2_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
9aapt2_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
18aapt2_results :=
19
20include $(call all-makefiles-under,$(LOCAL_PATH))
21

闽ICP备2022004144号-1闽公网安备35021102001383号

OpenHarmony source code served by {OpenGrok Contact:jevonbin@qq.com