blob: b0ac5c448556e51b47f030f403771dcbf4de7538 [file] [log] [blame]
Daichi Hirono7f8e8192016-10-27 10:37:05 +09001// 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"],
Daichi Hironoa0aecda2016-11-08 10:17:51 +090018 srcs: [
19 "FuseAppLoop.cc",
20 "FuseBuffer.cc",
21 "FuseBridgeLoop.cc",
Daichi Hirono2a14b712017-03-06 15:21:00 +090022 "EpollController.cc",
Daichi Hironoa0aecda2016-11-08 10:17:51 +090023 ]
Daichi Hirono7f8e8192016-10-27 10:37:05 +090024}
25
26cc_test {
27 name: "libappfuse_test",
Dan Shi688b6e52017-03-31 17:11:50 -070028 test_suites: ["device-tests"],
Daichi Hirono7f8e8192016-10-27 10:37:05 +090029 defaults: ["libappfuse_defaults"],
30 shared_libs: ["libappfuse"],
Daichi Hironoa0aecda2016-11-08 10:17:51 +090031 srcs: [
32 "tests/FuseAppLoopTest.cc",
33 "tests/FuseBridgeLoopTest.cc",
34 "tests/FuseBufferTest.cc",
35 ]
Daichi Hirono7f8e8192016-10-27 10:37:05 +090036}