• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Add a couple include paths to use stlport.
2
3# Only use this on the device or emulator.
4ifeq ($(TARGET_SIMULATOR),true)
5$(error STLPort not suitable for the simulator! $(LOCAL_PATH))
6endif
7
8ifdef LOCAL_NDK_VERSION
9stlport_NDK_VERSION_ROOT := $(HISTORICAL_NDK_VERSIONS_ROOT)/android-ndk-r$(LOCAL_NDK_VERSION)/platforms/android-$(LOCAL_SDK_VERSION)/arch-$(TARGET_ARCH)
10LOCAL_C_INCLUDES := \
11	$(stlport_NDK_VERSION_ROOT) \
12	external/stlport/stlport \
13	$(LOCAL_C_INCLUDES)
14
15LOCAL_CFLAGS += -DBUILD_WITH_NDK=1
16else
17# Make sure bionic is first so we can include system headers.
18LOCAL_C_INCLUDES := \
19	bionic \
20	external/stlport/stlport \
21	$(LOCAL_C_INCLUDES)
22endif
23