File tree Expand file tree Collapse file tree 6 files changed +1218
-0
lines changed Expand file tree Collapse file tree 6 files changed +1218
-0
lines changed Original file line number Diff line number Diff line change @@ -105,3 +105,5 @@ LOCAL_STATIC_LIBRARIES := libsparse_host libz
105105LOCAL_SHARED_LIBRARIES := libcrypto-host libbase
106106LOCAL_CFLAGS += -Wall -Werror
107107include $(BUILD_HOST_EXECUTABLE )
108+
109+ include $(call first-makefiles-under,$(LOCAL_PATH ) )
Original file line number Diff line number Diff line change 1+ LOCAL_PATH: = $(call my-dir)
2+
3+ ifeq ($(HOST_OS ) ,linux)
4+
5+ include $(CLEAR_VARS )
6+ LOCAL_CLANG := true
7+ LOCAL_SANITIZE := integer
8+ LOCAL_MODULE := fec
9+ LOCAL_SRC_FILES := main.cpp image.cpp
10+ LOCAL_MODULE_TAGS := optional
11+ LOCAL_STATIC_LIBRARIES := \
12+ libsparse_host \
13+ libz \
14+ libcrypto_static \
15+ libfec_host \
16+ libfec_rs_host \
17+ libext4_utils_host \
18+ libsquashfs_utils_host
19+ LOCAL_SHARED_LIBRARIES := libbase
20+ LOCAL_CFLAGS += -Wall -Werror -O3
21+ LOCAL_C_INCLUDES += external/fec
22+ include $(BUILD_HOST_EXECUTABLE )
23+
24+ endif # HOST_OS == linux
25+
26+ include $(CLEAR_VARS )
27+ LOCAL_CLANG := true
28+ LOCAL_SANITIZE := integer
29+ LOCAL_MODULE := fec
30+ LOCAL_FORCE_STATIC_EXECUTABLE := true
31+ LOCAL_SRC_FILES := main.cpp image.cpp
32+ LOCAL_MODULE_TAGS := optional
33+ LOCAL_STATIC_LIBRARIES := \
34+ libcrypto_static \
35+ libfec \
36+ libfec_rs \
37+ libbase \
38+ libext4_utils_static \
39+ libsquashfs_utils \
40+ libcutils
41+ LOCAL_CFLAGS += -Wall -Werror -O3 -DIMAGE_NO_SPARSE=1
42+ LOCAL_C_INCLUDES += external/fec
43+ include $(BUILD_EXECUTABLE )
You can’t perform that action at this time.
0 commit comments