diff options
author | Sen Jiang <senj@google.com> | 2016-04-04 20:26:11 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2016-04-04 20:26:11 +0000 |
commit | 90d90b27c0b82cac20deabac79e97e274856eaf8 (patch) | |
tree | 43ac657e40bf80753602b357e9d96c477a2bffc3 | |
parent | ae4cb1345c1db6584e7492930f1dac565ad9cfad (diff) | |
parent | de0b8984c071a2434915818899625b1f28aeaf2d (diff) | |
download | platform_external_libdivsufsort-90d90b27c0b82cac20deabac79e97e274856eaf8.tar.gz platform_external_libdivsufsort-90d90b27c0b82cac20deabac79e97e274856eaf8.tar.bz2 platform_external_libdivsufsort-90d90b27c0b82cac20deabac79e97e274856eaf8.zip |
Build libdivsufsort for the target. am: 2ba0b76android-wear-o-preview-4android-wear-o-preview-3android-o-preview-4android-o-preview-3android-o-preview-2android-o-preview-1android-o-iot-preview-5android-n-mr2-preview-2android-n-mr2-preview-1android-n-mr1-preview-2android-n-mr1-preview-1android-n-iot-preview-4o-previewo-iot-preview-5n-iot-preview-4
am: de0b898
* commit 'de0b8984c071a2434915818899625b1f28aeaf2d':
Build libdivsufsort for the target.
Change-Id: Ib3e17e2a245438e011df896d0d7eeedc01188563
-rw-r--r-- | Android.mk | 28 |
1 files changed, 24 insertions, 4 deletions
@@ -34,16 +34,16 @@ libdivsufsort_cflags := \ -Wextra \ -DHAVE_CONFIG_H=1 -# libdivsufsort using 32-bit integers for the suffix array (host shared lib) +# libdivsufsort using 32-bit integers for the suffix array (host static lib) include $(CLEAR_VARS) LOCAL_MODULE := libdivsufsort LOCAL_SRC_FILES := $(libdivsufsort_src_files) LOCAL_C_INCLUDES := $(libdivsufsort_c_includes) LOCAL_EXPORT_C_INCLUDE_DIRS := $(libdivsufsort_export_c_include_dirs) LOCAL_CFLAGS := $(libdivsufsort_cflags) -include $(BUILD_HOST_SHARED_LIBRARY) +include $(BUILD_HOST_STATIC_LIBRARY) -# libdivsufsort using 64-bit integers for the suffix array (host shared lib) +# libdivsufsort using 64-bit integers for the suffix array (host static lib) include $(CLEAR_VARS) LOCAL_MODULE := libdivsufsort64 LOCAL_SRC_FILES := $(libdivsufsort_src_files) @@ -52,4 +52,24 @@ LOCAL_EXPORT_C_INCLUDE_DIRS := $(libdivsufsort_export_c_include_dirs) LOCAL_CFLAGS := \ $(libdivsufsort_cflags) \ -DBUILD_DIVSUFSORT64 -include $(BUILD_HOST_SHARED_LIBRARY) +include $(BUILD_HOST_STATIC_LIBRARY) + +# libdivsufsort using 32-bit integers for the suffix array (target static lib) +include $(CLEAR_VARS) +LOCAL_MODULE := libdivsufsort +LOCAL_SRC_FILES := $(libdivsufsort_src_files) +LOCAL_C_INCLUDES := $(libdivsufsort_c_includes) +LOCAL_EXPORT_C_INCLUDE_DIRS := $(libdivsufsort_export_c_include_dirs) +LOCAL_CFLAGS := $(libdivsufsort_cflags) +include $(BUILD_STATIC_LIBRARY) + +# libdivsufsort using 64-bit integers for the suffix array (target static lib) +include $(CLEAR_VARS) +LOCAL_MODULE := libdivsufsort64 +LOCAL_SRC_FILES := $(libdivsufsort_src_files) +LOCAL_C_INCLUDES := $(libdivsufsort_c_includes) +LOCAL_EXPORT_C_INCLUDE_DIRS := $(libdivsufsort_export_c_include_dirs) +LOCAL_CFLAGS := \ + $(libdivsufsort_cflags) \ + -DBUILD_DIVSUFSORT64 +include $(BUILD_STATIC_LIBRARY) |