summaryrefslogtreecommitdiffstats
path: root/core/64_bit_blacklist.mk
blob: 9f16536958689a48bb0fd44061c44e5873f3b4bb (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
32
33
34
35
36
37
38
39
40
41
ifneq ($(TARGET_2ND_ARCH),)

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


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

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

# depends on frameworks/av
_64_bit_directory_blacklist += \
	external/srec \
	hardware/libhardware_legacy/audio \
	hardware/libhardware/modules/audio_remote_submix \
	frameworks/wilhelm \
	frameworks/opt \
	frameworks/ex \

_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