2016-10-27 03:37:05 +02:00
|
|
|
// Copyright 2016 The Android Open Source Project
|
|
|
|
|
|
|
|
cc_defaults {
|
|
|
|
name: "libappfuse_defaults",
|
|
|
|
local_include_dirs: ["include"],
|
|
|
|
shared_libs: ["libbase"],
|
|
|
|
cflags: [
|
|
|
|
"-Wall",
|
|
|
|
"-Werror",
|
|
|
|
],
|
|
|
|
}
|
|
|
|
|
|
|
|
cc_library_shared {
|
|
|
|
name: "libappfuse",
|
|
|
|
defaults: ["libappfuse_defaults"],
|
|
|
|
export_include_dirs: ["include"],
|
2016-11-08 02:17:51 +01:00
|
|
|
srcs: [
|
|
|
|
"FuseAppLoop.cc",
|
|
|
|
"FuseBuffer.cc",
|
|
|
|
"FuseBridgeLoop.cc",
|
2017-03-06 07:21:00 +01:00
|
|
|
"EpollController.cc",
|
2016-11-08 02:17:51 +01:00
|
|
|
]
|
2016-10-27 03:37:05 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
cc_test {
|
|
|
|
name: "libappfuse_test",
|
2017-04-01 02:11:50 +02:00
|
|
|
test_suites: ["device-tests"],
|
2016-10-27 03:37:05 +02:00
|
|
|
defaults: ["libappfuse_defaults"],
|
|
|
|
shared_libs: ["libappfuse"],
|
2016-11-08 02:17:51 +01:00
|
|
|
srcs: [
|
|
|
|
"tests/FuseAppLoopTest.cc",
|
|
|
|
"tests/FuseBridgeLoopTest.cc",
|
|
|
|
"tests/FuseBufferTest.cc",
|
|
|
|
]
|
2016-10-27 03:37:05 +02:00
|
|
|
}
|