summaryrefslogtreecommitdiffstats
path: root/core/64_bit_blacklist.mk
blob: 75e1e33ef8f867e1e3b88fe3de131f0be01b2899 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
ifneq ($(TARGET_2ND_ARCH),)

# JNI - needs 64-bit VM
_64_bit_directory_blacklist += \
        packages/

# Chromium/V8: needs 64-bit support
_64_bit_directory_blacklist += \
	external/chromium-libpac \
	external/chromium_org \
	external/v8 \
	frameworks/webview \

# misc build errors
_64_bit_directory_blacklist += \
	device/generic/goldfish/opengl \
	device/generic/goldfish/camera \

_64_bit_directory_blacklist_pattern := $(addsuffix %,$(_64_bit_directory_blacklist))

define directory_is_64_bit_blacklisted
$(if $(filter $(_64_bit_directory_blacklist_pattern),$(1)),true)
endef
else
define directory_is_64_bit_blacklisted
endef
endif