aboutsummaryrefslogtreecommitdiff
path: root/Android.bp
diff options
context:
space:
mode:
authorZim <zezeozue@google.com>2019-08-06 12:30:29 +0100
committerZim <zezeozue@google.com>2019-08-06 12:30:29 +0100
commit73ba2a88e19c669056b74953ca9eaaffaa4fe1a0 (patch)
treeca6a7be404d6757301b7e118a76aa59b012ec3e1 /Android.bp
parent8eba29546896f6e75119dc5dc0b8cf68d122e3b7 (diff)
downloadlibfuse-73ba2a88e19c669056b74953ca9eaaffaa4fe1a0.tar.gz
Export libfuse private header directory
The Android FUSE daemon does not have permissions to mount(). This means we cannot call fuse_session_mount() because it calls fuse_kern_mount() -> mount(). We can however add the opened /dev/fuse fd to the struct fuse_session. Unfortunately, struct fuse_session is defined in fuse_i.h which is in lib/ and not include/ so not exported. This cl exports the headers in lib/ Change-Id: I0602fd8610f181caf7b5126a9bd2f98d2012dcf2
Diffstat (limited to 'Android.bp')
-rw-r--r--Android.bp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Android.bp b/Android.bp
index 9fb4a16..8c4a263 100644
--- a/Android.bp
+++ b/Android.bp
@@ -27,7 +27,7 @@ cc_library {
"libfuse_default_flags",
],
- export_include_dirs: ["include"],
+ export_include_dirs: ["include", "lib"],
version_script: "lib/fuse_versionscript",