blob: e659f79fc678459f577dbca0da484d7759106e98 [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",
22 ]
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}