Daichi Hirono | 7f8e819 | 2016-10-27 10:37:05 +0900 | [diff] [blame] | 1 | // Copyright 2016 The Android Open Source Project |
| 2 | |
| 3 | cc_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 | |
| 14 | cc_library_shared { |
| 15 | name: "libappfuse", |
| 16 | defaults: ["libappfuse_defaults"], |
| 17 | export_include_dirs: ["include"], |
Daichi Hirono | a0aecda | 2016-11-08 10:17:51 +0900 | [diff] [blame] | 18 | srcs: [ |
| 19 | "FuseAppLoop.cc", |
| 20 | "FuseBuffer.cc", |
| 21 | "FuseBridgeLoop.cc", |
Daichi Hirono | 2a14b71 | 2017-03-06 15:21:00 +0900 | [diff] [blame] | 22 | "EpollController.cc", |
Daichi Hirono | a0aecda | 2016-11-08 10:17:51 +0900 | [diff] [blame] | 23 | ] |
Daichi Hirono | 7f8e819 | 2016-10-27 10:37:05 +0900 | [diff] [blame] | 24 | } |
| 25 | |
| 26 | cc_test { |
| 27 | name: "libappfuse_test", |
Dan Shi | 688b6e5 | 2017-03-31 17:11:50 -0700 | [diff] [blame] | 28 | test_suites: ["device-tests"], |
Daichi Hirono | 7f8e819 | 2016-10-27 10:37:05 +0900 | [diff] [blame] | 29 | defaults: ["libappfuse_defaults"], |
| 30 | shared_libs: ["libappfuse"], |
Daichi Hirono | a0aecda | 2016-11-08 10:17:51 +0900 | [diff] [blame] | 31 | srcs: [ |
| 32 | "tests/FuseAppLoopTest.cc", |
| 33 | "tests/FuseBridgeLoopTest.cc", |
| 34 | "tests/FuseBufferTest.cc", |
| 35 | ] |
Daichi Hirono | 7f8e819 | 2016-10-27 10:37:05 +0900 | [diff] [blame] | 36 | } |