blob: 29ffe3244ee648922813c2fc45dd570645275910 [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 ],
Daichi Hirono7f8e8192016-10-27 10:37:05 +090011}
12
13cc_library_shared {
14 name: "libappfuse",
15 defaults: ["libappfuse_defaults"],
16 export_include_dirs: ["include"],
Daichi Hironoa0aecda2016-11-08 10:17:51 +090017 srcs: [
18 "FuseAppLoop.cc",
19 "FuseBuffer.cc",
20 "FuseBridgeLoop.cc",
Daichi Hirono2a14b712017-03-06 15:21:00 +090021 "EpollController.cc",
Daichi Hironoa0aecda2016-11-08 10:17:51 +090022 ]
Daichi Hirono7f8e8192016-10-27 10:37:05 +090023}
24
25cc_test {
26 name: "libappfuse_test",
Dan Shi688b6e52017-03-31 17:11:50 -070027 test_suites: ["device-tests"],
Daichi Hirono7f8e8192016-10-27 10:37:05 +090028 defaults: ["libappfuse_defaults"],
29 shared_libs: ["libappfuse"],
Daichi Hironoa0aecda2016-11-08 10:17:51 +090030 srcs: [
31 "tests/FuseAppLoopTest.cc",
32 "tests/FuseBridgeLoopTest.cc",
33 "tests/FuseBufferTest.cc",
34 ]
Daichi Hirono7f8e8192016-10-27 10:37:05 +090035}