File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,8 @@ LOCAL_STATIC_LIBRARIES := \
3838 $(common_static_libraries )
3939include $(BUILD_STATIC_LIBRARY )
4040
41+ ifeq ($(HOST_OS ) ,linux)
42+
4143include $(CLEAR_VARS )
4244LOCAL_CFLAGS := $(common_cflags ) -D_GNU_SOURCE -DFEC_NO_KLOG
4345LOCAL_C_INCLUDES := $(common_c_includes )
@@ -53,4 +55,6 @@ LOCAL_STATIC_LIBRARIES := \
5355 $(common_static_libraries )
5456include $(BUILD_HOST_STATIC_LIBRARY )
5557
58+ endif # HOST_OS == linux
59+
5660include $(LOCAL_PATH ) /test/Android.mk
Original file line number Diff line number Diff line change 11LOCAL_PATH: = $(call my-dir)
22
3+ ifeq ($(HOST_OS ) ,linux)
4+
35include $(CLEAR_VARS )
46LOCAL_CLANG := true
57LOCAL_SANITIZE := integer
@@ -26,3 +28,5 @@ LOCAL_STATIC_LIBRARIES := libfec_rs_host
2628LOCAL_CFLAGS := -Wall -Werror -D_GNU_SOURCE
2729LOCAL_C_INCLUDES += external/fec
2830include $(BUILD_HOST_EXECUTABLE )
31+
32+ endif # HOST_OS == linux
You can’t perform that action at this time.
0 commit comments