Loading libcutils/Android.mk +6 −2 Original line number Diff line number Diff line Loading @@ -65,6 +65,12 @@ ifneq ($(strip $(USE_MINGW)),) WINDOWS_HOST_ONLY := 1 endif ifneq ($(WINDOWS_HOST_ONLY),1) commonSources += \ fs.c \ multiuser.c endif # Static library for host # ======================================================== Loading Loading @@ -101,9 +107,7 @@ LOCAL_SRC_FILES := $(commonSources) \ android_reboot.c \ ashmem-dev.c \ debugger.c \ fs.c \ klog.c \ multiuser.c \ partition_utils.c \ properties.c \ qtaguid.c \ Loading libcutils/fs.c +4 −0 Original line number Diff line number Diff line Loading @@ -148,6 +148,8 @@ fail_closed: return -1; } #ifndef __APPLE__ int fs_mkdirs(const char* path, mode_t mode) { int res = 0; int fd = 0; Loading Loading @@ -231,3 +233,5 @@ done: free(buf); return res; } #endif Loading
libcutils/Android.mk +6 −2 Original line number Diff line number Diff line Loading @@ -65,6 +65,12 @@ ifneq ($(strip $(USE_MINGW)),) WINDOWS_HOST_ONLY := 1 endif ifneq ($(WINDOWS_HOST_ONLY),1) commonSources += \ fs.c \ multiuser.c endif # Static library for host # ======================================================== Loading Loading @@ -101,9 +107,7 @@ LOCAL_SRC_FILES := $(commonSources) \ android_reboot.c \ ashmem-dev.c \ debugger.c \ fs.c \ klog.c \ multiuser.c \ partition_utils.c \ properties.c \ qtaguid.c \ Loading
libcutils/fs.c +4 −0 Original line number Diff line number Diff line Loading @@ -148,6 +148,8 @@ fail_closed: return -1; } #ifndef __APPLE__ int fs_mkdirs(const char* path, mode_t mode) { int res = 0; int fd = 0; Loading Loading @@ -231,3 +233,5 @@ done: free(buf); return res; } #endif