1// Copyright 2016 The Android Open Source Project 2 3cc_defaults { 4 name: "libappfuse_defaults", 5 local_include_dirs: ["include"], 6 shared_libs: ["libbase"], 7 cflags: [ 8 "-Wall", 9 "-Werror", 10 ], 11 clang: true 12} 13 14cc_library_shared { 15 name: "libappfuse", 16 defaults: ["libappfuse_defaults"], 17 export_include_dirs: ["include"], 18 srcs: [ 19 "FuseAppLoop.cc", 20 "FuseBuffer.cc", 21 "FuseBridgeLoop.cc", 22 "EpollController.cc", 23 ] 24} 25 26cc_test { 27 name: "libappfuse_test", 28 defaults: ["libappfuse_defaults"], 29 shared_libs: ["libappfuse"], 30 srcs: [ 31 "tests/FuseAppLoopTest.cc", 32 "tests/FuseBridgeLoopTest.cc", 33 "tests/FuseBufferTest.cc", 34 ] 35} 36