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 | c613476 | 2016-10-27 14:57:55 +0900 | [diff] [blame] | 18 | srcs: ["FuseBuffer.cc", "FuseBridgeLoop.cc"] |
Daichi Hirono | 7f8e819 | 2016-10-27 10:37:05 +0900 | [diff] [blame] | 19 | } |
| 20 | |
| 21 | cc_test { |
| 22 | name: "libappfuse_test", |
| 23 | defaults: ["libappfuse_defaults"], |
| 24 | shared_libs: ["libappfuse"], |
Daichi Hirono | c613476 | 2016-10-27 14:57:55 +0900 | [diff] [blame] | 25 | srcs: ["tests/FuseBridgeLoopTest.cc", "tests/FuseBufferTest.cc"] |
Daichi Hirono | 7f8e819 | 2016-10-27 10:37:05 +0900 | [diff] [blame] | 26 | } |