aboutsummaryrefslogtreecommitdiff
path: root/Android.mk
blob: e33c1bd5ca48d340ce937440855f9b6a41f31cd0 (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
# http://b/15193147
# Whitelist devices that are still allowed to use stlport. This will prevent any
# new devices from making the same mistakes.
STLPORT_WHITELIST := \
    deb \
    flo \
    flounder \
    fugu \
    grouper \
    hammerhead \
    mako \
    manta \
    shamu \
    tilapia \

ifneq (,$(filter $(TARGET_DEVICE),$(STLPORT_WHITELIST)))

LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)
LOCAL_MODULE := libstlport
LOCAL_MODULE_CLASS := SHARED_LIBRARIES
LOCAL_MODULE_SUFFIX := .so
LOCAL_SRC_FILES := $(TARGET_DEVICE)/$(LOCAL_MODULE).so

ifeq ($(TARGET_IS_64_BIT),true)
LOCAL_MULTILIB := both
LOCAL_SRC_FILES_32 := $(TARGET_DEVICE)/32/$(LOCAL_MODULE).so
endif

include $(BUILD_PREBUILT)

endif