Loading libcutils/Android.mk +34 −22 Original line number Diff line number Diff line Loading @@ -32,7 +32,12 @@ commonSources := \ sched_policy.c \ iosched_policy.c \ str_parms.c \ fs_config.c \ fs_config.c # some files must not be compiled when building against Mingw # they correspond to features not used by our host development tools # which are also hard or even impossible to port to native Win32 nonWindowsSources := \ fs.c \ multiuser.c \ socket_inaddr_any_server.c \ Loading @@ -43,7 +48,7 @@ commonSources := \ socket_network_client.c \ sockets.c \ hostSources := \ nonWindowsHostSources := \ ashmem-host.c \ trace-host.c Loading @@ -51,18 +56,24 @@ hostSources := \ # Shared and static library for host # ======================================================== LOCAL_MODULE := libcutils LOCAL_SRC_FILES := $(commonSources) $(hostSources) dlmalloc_stubs.c LOCAL_SRC_FILES := $(commonSources) dlmalloc_stubs.c LOCAL_SRC_FILES_darwin := $(nonWindowsSources) $(nonWindowsHostSources) LOCAL_SRC_FILES_linux := $(nonWindowsSources) $(nonWindowsHostSources) LOCAL_STATIC_LIBRARIES := liblog LOCAL_CFLAGS := -Werror -Wall -Wextra LOCAL_CFLAGS_darwin := -Werror -Wall -Wextra LOCAL_CFLAGS_linux := -Werror -Wall -Wextra LOCAL_MULTILIB := both LOCAL_MODULE_HOST_OS := darwin linux LOCAL_MODULE_HOST_OS := darwin linux windows include $(BUILD_HOST_STATIC_LIBRARY) include $(CLEAR_VARS) LOCAL_MODULE := libcutils LOCAL_SRC_FILES := $(commonSources) $(hostSources) dlmalloc_stubs.c LOCAL_SRC_FILES := $(commonSources) dlmalloc_stubs.c LOCAL_SRC_FILES_darwin := $(nonWindowsSources) $(nonWindowsHostSources) LOCAL_SRC_FILES_linux := $(nonWindowsSources) $(nonWindowsHostSources) LOCAL_SHARED_LIBRARIES := liblog LOCAL_CFLAGS := -Werror -Wall -Wextra LOCAL_CFLAGS_darwin := -Werror -Wall -Wextra LOCAL_CFLAGS_linux := -Werror -Wall -Wextra LOCAL_MULTILIB := both include $(BUILD_HOST_SHARED_LIBRARY) Loading @@ -74,6 +85,7 @@ include $(BUILD_HOST_SHARED_LIBRARY) include $(CLEAR_VARS) LOCAL_MODULE := libcutils LOCAL_SRC_FILES := $(commonSources) \ $(nonWindowsSources) \ android_reboot.c \ ashmem-dev.c \ debugger.c \ Loading Loading
libcutils/Android.mk +34 −22 Original line number Diff line number Diff line Loading @@ -32,7 +32,12 @@ commonSources := \ sched_policy.c \ iosched_policy.c \ str_parms.c \ fs_config.c \ fs_config.c # some files must not be compiled when building against Mingw # they correspond to features not used by our host development tools # which are also hard or even impossible to port to native Win32 nonWindowsSources := \ fs.c \ multiuser.c \ socket_inaddr_any_server.c \ Loading @@ -43,7 +48,7 @@ commonSources := \ socket_network_client.c \ sockets.c \ hostSources := \ nonWindowsHostSources := \ ashmem-host.c \ trace-host.c Loading @@ -51,18 +56,24 @@ hostSources := \ # Shared and static library for host # ======================================================== LOCAL_MODULE := libcutils LOCAL_SRC_FILES := $(commonSources) $(hostSources) dlmalloc_stubs.c LOCAL_SRC_FILES := $(commonSources) dlmalloc_stubs.c LOCAL_SRC_FILES_darwin := $(nonWindowsSources) $(nonWindowsHostSources) LOCAL_SRC_FILES_linux := $(nonWindowsSources) $(nonWindowsHostSources) LOCAL_STATIC_LIBRARIES := liblog LOCAL_CFLAGS := -Werror -Wall -Wextra LOCAL_CFLAGS_darwin := -Werror -Wall -Wextra LOCAL_CFLAGS_linux := -Werror -Wall -Wextra LOCAL_MULTILIB := both LOCAL_MODULE_HOST_OS := darwin linux LOCAL_MODULE_HOST_OS := darwin linux windows include $(BUILD_HOST_STATIC_LIBRARY) include $(CLEAR_VARS) LOCAL_MODULE := libcutils LOCAL_SRC_FILES := $(commonSources) $(hostSources) dlmalloc_stubs.c LOCAL_SRC_FILES := $(commonSources) dlmalloc_stubs.c LOCAL_SRC_FILES_darwin := $(nonWindowsSources) $(nonWindowsHostSources) LOCAL_SRC_FILES_linux := $(nonWindowsSources) $(nonWindowsHostSources) LOCAL_SHARED_LIBRARIES := liblog LOCAL_CFLAGS := -Werror -Wall -Wextra LOCAL_CFLAGS_darwin := -Werror -Wall -Wextra LOCAL_CFLAGS_linux := -Werror -Wall -Wextra LOCAL_MULTILIB := both include $(BUILD_HOST_SHARED_LIBRARY) Loading @@ -74,6 +85,7 @@ include $(BUILD_HOST_SHARED_LIBRARY) include $(CLEAR_VARS) LOCAL_MODULE := libcutils LOCAL_SRC_FILES := $(commonSources) \ $(nonWindowsSources) \ android_reboot.c \ ashmem-dev.c \ debugger.c \ Loading