platform_system_core/libappfuse/Android.bp
Dan Shi 688b6e5e6e Add test config to libappfuse_test
This change allows TradeFederation to run the test directly.
Refer to b/35882476 for design and discussion of this change.

Bug: 35882476
Test: local test
tradefed.sh run template/local --template:map test=libappfuse_test

Change-Id: Ic3a23d9d609036658fd37fc72571e2fc7db0e88d
2017-03-31 17:11:50 -07:00

35 lines
739 B
Text

// Copyright 2016 The Android Open Source Project
cc_defaults {
name: "libappfuse_defaults",
local_include_dirs: ["include"],
shared_libs: ["libbase"],
cflags: [
"-Wall",
"-Werror",
],
clang: true
}
cc_library_shared {
name: "libappfuse",
defaults: ["libappfuse_defaults"],
export_include_dirs: ["include"],
srcs: [
"FuseAppLoop.cc",
"FuseBuffer.cc",
"FuseBridgeLoop.cc",
]
}
cc_test {
name: "libappfuse_test",
test_suites: ["device-tests"],
defaults: ["libappfuse_defaults"],
shared_libs: ["libappfuse"],
srcs: [
"tests/FuseAppLoopTest.cc",
"tests/FuseBridgeLoopTest.cc",
"tests/FuseBufferTest.cc",
]
}