diff --git a/core/Makefile b/core/Makefile index 9946d42c47..1ec40a0ceb 100644 --- a/core/Makefile +++ b/core/Makefile @@ -94,6 +94,8 @@ ifdef has_dup_copy_headers $(error duplicate header copies are no longer allowed. For more information about headers, see: https://android.googlesource.com/platform/build/soong/+/master/docs/best_practices.md#headers) endif +$(file >$(PRODUCT_OUT)/.copied_headers_list,$(TARGET_OUT_HEADERS) $(ALL_COPIED_HEADERS)) + # ----------------------------------------------------------------- # docs/index.html ifeq (,$(TARGET_BUILD_APPS))