• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Add a couple include paths to use stlport.
2
3ifdef LOCAL_NDK_VERSION
4stlport_NDK_VERSION_ROOT := $(HISTORICAL_NDK_VERSIONS_ROOT)/android-ndk-r$(LOCAL_NDK_VERSION)/platforms/android-$(LOCAL_SDK_VERSION)/arch-$(TARGET_ARCH)
5LOCAL_C_INCLUDES := \
6	$(stlport_NDK_VERSION_ROOT) \
7	external/stlport/stlport \
8	$(LOCAL_C_INCLUDES)
9
10LOCAL_CFLAGS += -DBUILD_WITH_NDK=1
11else
12# Make sure bionic is first so we can include system headers.
13LOCAL_C_INCLUDES := \
14	bionic \
15	external/stlport/stlport \
16	$(LOCAL_C_INCLUDES)
17endif
18