Android-x86
Fork
Spenden

  • R/O
  • HTTP
  • SSH
  • HTTPS

external-ntfs-3g: Commit

external/ntfs-3g


Commit MetaInfo

Revision4b7dbd764a022af046dba1cdde1a03b31721c2b8 (tree)
Zeit2019-04-04 02:47:38
AutorChih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Log Message

Android: move libfuse-lite to Android.bp

The library is also used by exfat.

Ändern Zusammenfassung

Diff

--- /dev/null
+++ b/Android.bp
@@ -0,0 +1,26 @@
1+//
2+// Copyright (C) 2019 The Android-x86 Open Source Project
3+//
4+// Licensed under the GNU General Public License Version 2 or later.
5+// You may not use this file except in compliance with the License.
6+// You may obtain a copy of the License at
7+//
8+// http://www.gnu.org/licenses/gpl.html
9+//
10+
11+// libfuse-lite
12+cc_library_shared {
13+ srcs: ["libfuse-lite/*.c"],
14+
15+ cflags: [
16+ "-O2",
17+ "-Wall",
18+ "-D_FILE_OFFSET_BITS=64",
19+ "-DHAVE_CONFIG_H",
20+ "-DHAVE_LINUX_FS_H",
21+ ],
22+ name: "libfuse-lite",
23+
24+ local_include_dirs: ["include/fuse-lite"],
25+ export_include_dirs: ["include/fuse-lite"],
26+}
--- a/Android.mk
+++ b/Android.mk
@@ -12,28 +12,6 @@ LOCAL_PATH := $(call my-dir)
1212
1313 ntfs_3g_CFLAGS := -O2 -Wall -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -DHAVE_LINUX_FS_H
1414
15-# libfuse-lite
16-include $(CLEAR_VARS)
17-LOCAL_SRC_FILES := $(addprefix libfuse-lite/, \
18- fuse.c \
19- fusermount.c \
20- fuse_kern_chan.c \
21- fuse_loop.c \
22- fuse_lowlevel.c \
23- fuse_opt.c \
24- fuse_session.c \
25- fuse_signals.c \
26- helper.c \
27- mount.c \
28- mount_util.c \
29-)
30-LOCAL_CFLAGS := $(ntfs_3g_CFLAGS)
31-LOCAL_MODULE := libfuse-lite
32-LOCAL_MODULE_TAGS := optional
33-LOCAL_C_INCLUDES := $(LOCAL_PATH)/include/fuse-lite
34-LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_C_INCLUDES)
35-include $(BUILD_SHARED_LIBRARY)
36-
3715 # libntfs-3g
3816 include $(CLEAR_VARS)
3917 LOCAL_SRC_FILES := $(addprefix libntfs-3g/, \
Show on old repository browser