summaryrefslogtreecommitdiffstats
path: root/libappfuse/Android.bp
blob: 29ffe3244ee648922813c2fc45dd570645275910 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// 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"],
    srcs: [
        "FuseAppLoop.cc",
        "FuseBuffer.cc",
        "FuseBridgeLoop.cc",
        "EpollController.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",
    ]
}