Home | History | Annotate | Download | only in lib
      1 # Copyright (C) 2015 The Android Open Source Project
      2 
      3 LOCAL_PATH:= $(call my-dir)
      4 
      5 liblz4_src_files := lz4.c lz4hc.c lz4frame.c xxhash.c
      6 
      7 include $(CLEAR_VARS)
      8 LOCAL_MODULE := liblz4
      9 LOCAL_MULTILIB := both
     10 LOCAL_SRC_FILES := $(liblz4_src_files)
     11 LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)
     12 include $(BUILD_HOST_STATIC_LIBRARY)
     13 
     14 include $(CLEAR_VARS)
     15 LOCAL_MODULE := liblz4
     16 LOCAL_MULTILIB := both
     17 LOCAL_WHOLE_STATIC_LIBRARIES := liblz4
     18 LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)
     19 include $(BUILD_HOST_SHARED_LIBRARY)
     20 
     21 include $(CLEAR_VARS)
     22 LOCAL_MODULE := liblz4
     23 LOCAL_SRC_FILES := $(liblz4_src_files)
     24 LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)
     25 include $(BUILD_STATIC_LIBRARY)
     26 
     27 include $(CLEAR_VARS)
     28 LOCAL_MODULE := liblz4
     29 LOCAL_WHOLE_STATIC_LIBRARIES := liblz4
     30 LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)
     31 include $(BUILD_SHARED_LIBRARY)
     32