• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1$(call record-module-type,HOST_SHARED_LIBRARY)
2LOCAL_IS_HOST_MODULE := true
3my_prefix := HOST_
4LOCAL_HOST_PREFIX :=
5include $(BUILD_SYSTEM)/multilib.mk
6
7ifndef LOCAL_MODULE_HOST_ARCH
8ifndef my_module_multilib
9# libraries default to building for both architecturess
10my_module_multilib := both
11endif
12endif
13
14LOCAL_2ND_ARCH_VAR_PREFIX :=
15include $(BUILD_SYSTEM)/module_arch_supported.mk
16
17ifeq ($(my_module_arch_supported),true)
18include $(BUILD_SYSTEM)/host_shared_library_internal.mk
19endif
20
21ifdef HOST_2ND_ARCH
22LOCAL_2ND_ARCH_VAR_PREFIX := $(HOST_2ND_ARCH_VAR_PREFIX)
23include $(BUILD_SYSTEM)/module_arch_supported.mk
24ifeq ($(my_module_arch_supported),true)
25# Build for HOST_2ND_ARCH
26LOCAL_BUILT_MODULE :=
27LOCAL_INSTALLED_MODULE :=
28LOCAL_INTERMEDIATE_TARGETS :=
29
30include $(BUILD_SYSTEM)/host_shared_library_internal.mk
31endif
32LOCAL_2ND_ARCH_VAR_PREFIX :=
33endif  # HOST_2ND_ARCH
34
35my_module_arch_supported :=
36
37###########################################################
38## Copy headers to the install tree
39###########################################################
40ifdef LOCAL_COPY_HEADERS
41$(if $(filter true,$(BUILD_BROKEN_USES_BUILD_COPY_HEADERS)),\
42  $(call pretty-warning,LOCAL_COPY_HEADERS is deprecated. See $(CHANGES_URL)#copy_headers),\
43  $(call pretty-error,LOCAL_COPY_HEADERS is obsolete. See $(CHANGES_URL)#copy_headers))
44include $(BUILD_SYSTEM)/copy_headers.mk
45endif
46