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

# 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