bigbiff bigbiff | 9c75405 | 2013-01-09 09:09:08 -0500 | [diff] [blame] | 1 | # Copyright (C) 2009 The Android Open Source Project |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
| 14 | # |
| 15 | LOCAL_PATH := $(call my-dir) |
| 16 | |
| 17 | include $(CLEAR_VARS) |
| 18 | |
| 19 | LOCAL_SRC_FILES := \ |
Matt Mower | 523a059 | 2015-12-13 11:31:00 -0600 | [diff] [blame] | 20 | android/statvfs.c \ |
Dees_Troy | e34c133 | 2013-02-06 19:13:00 +0000 | [diff] [blame] | 21 | buffer.c \ |
bigbiff bigbiff | 9c75405 | 2013-01-09 09:09:08 -0500 | [diff] [blame] | 22 | cuse_lowlevel.c \ |
| 23 | fuse.c \ |
| 24 | fuse_kern_chan.c \ |
| 25 | fuse_loop.c \ |
| 26 | fuse_loop_mt.c \ |
| 27 | fuse_lowlevel.c \ |
| 28 | fuse_mt.c fuse_opt.c \ |
| 29 | fuse_session.c \ |
| 30 | fuse_signals.c \ |
| 31 | helper.c \ |
| 32 | mount.c \ |
| 33 | mount_util.c \ |
| 34 | ulockmgr.c |
| 35 | |
| 36 | LOCAL_C_INCLUDES := \ |
Matt Mower | 523a059 | 2015-12-13 11:31:00 -0600 | [diff] [blame] | 37 | $(LOCAL_PATH)/android \ |
bigbiff bigbiff | 9c75405 | 2013-01-09 09:09:08 -0500 | [diff] [blame] | 38 | $(LOCAL_PATH)/include |
| 39 | |
| 40 | LOCAL_SHARED_LIBRARIES := \ |
Matt Mower | 523a059 | 2015-12-13 11:31:00 -0600 | [diff] [blame] | 41 | libutils |
bigbiff bigbiff | 9c75405 | 2013-01-09 09:09:08 -0500 | [diff] [blame] | 42 | |
| 43 | LOCAL_CFLAGS := \ |
| 44 | -D_FILE_OFFSET_BITS=64 \ |
Motorhead1991 | 1c39bc6 | 2014-06-12 15:56:53 -0700 | [diff] [blame] | 45 | -DFUSE_USE_VERSION=26 \ |
| 46 | -fno-strict-aliasing |
bigbiff bigbiff | 9c75405 | 2013-01-09 09:09:08 -0500 | [diff] [blame] | 47 | |
Ethan Yonker | 58f2132 | 2018-08-24 11:17:36 -0500 | [diff] [blame] | 48 | LOCAL_CFLAGS += -Wno-pointer-arith -Wno-sign-compare -Wno-unused-parameter |
| 49 | |
Dees_Troy | df09c8b | 2013-08-06 18:00:13 +0000 | [diff] [blame] | 50 | LOCAL_MODULE := libfusetwrp |
bigbiff bigbiff | 9c75405 | 2013-01-09 09:09:08 -0500 | [diff] [blame] | 51 | LOCAL_MODULE_TAGS := optional |
| 52 | |
| 53 | include $(BUILD_STATIC_LIBRARY) |