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