summaryrefslogtreecommitdiffstats
path: root/core/64_bit_blacklist.mk
blob: 5ad7b51a17383ab054093b76891cffd187ea5e02 (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
28
29
30
31
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 \

# not needed yet, and too many directories to blacklist individually
_64_bit_directory_blacklist += \
	frameworks/av/media/libeffects \

_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