Include $(BUILD_COPY_HEADERS) in upper-level makefiles
This makes sure copy_headers.mk only be included onces, no matter
it's for the 1st arch or the 2nd arch.
Change-Id: I80a558fbdb52861f176bd27a21c302069a5cc3ce
diff --git a/core/shared_library.mk b/core/shared_library.mk
index 25f6eb7..87b6068 100644
--- a/core/shared_library.mk
+++ b/core/shared_library.mk
@@ -41,3 +41,8 @@
endif # TARGET_2ND_ARCH
my_module_arch_supported :=
+
+###########################################################
+## Copy headers to the install tree
+###########################################################
+include $(BUILD_COPY_HEADERS)