Android.mk 977 B

123456789101112131415161718192021222324252627
  1. NX_LOCAL_PATH := $(call my-dir)
  2. include $(NX_LOCAL_PATH)/cpufeatures/Android.mk
  3. LOCAL_PATH:= $(NX_LOCAL_PATH)
  4. include $(CLEAR_VARS)
  5. include $(ROOT_REPLICANT)/PlatformName.mk
  6. LOCAL_MODULE := nx
  7. LOCAL_MODULE_FILENAME := libnx.$(PLATFORM_NAME)
  8. LOCAL_C_INCLUDES := $(LOCAL_PATH)/..
  9. LOCAL_CFLAGS := -fvisibility=hidden
  10. LOCAL_SRC_FILES := android/nxcondition.c android/nxstring.c android/nxuri.c android/nxmutablestring.c android/nxdata.c android/nxsemaphore.c android/nxthread.c android/nxfile.c android/nxlog.c android/NXFileObject.cpp android/NXFileProgressiveDownloader.cpp android/nxonce.c
  11. LOCAL_SRC_FILES += linux/nxsleep.c linux/nxpath.c
  12. LOCAL_SRC_FILES += cpufeatures/cpu-features.c
  13. ifeq ($(TARGET_ARCH_ABI),armeabi-v7a)
  14. LOCAL_SRC_FILES += android-armv7/nxonce-armv6.S
  15. else
  16. LOCAL_SRC_FILES += android-armv5/nxonce-armv5.S
  17. endif
  18. LOCAL_STATIC_LIBRARIES := nu foundation
  19. LOCAL_SHARED_LIBRARIES := nu foundation jnet
  20. LOCAL_LDFLAGS := -llog
  21. include $(BUILD_SHARED_LIBRARY)