summaryrefslogtreecommitdiff
path: root/Android.bp
blob: 4ceeab99b38fed35a042c71f42b65c7b99b882cb (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
soong_namespace {}

bootstrap_go_package {
    name: "soong-libbt-vendor",
    pkgPath: "android/soong/libbt_vendor",
    deps: [
        "blueprint",
        "blueprint-pathtools",
        "soong",
        "soong-android",
        "soong-cc",
    ],
    srcs: [
        "libbt_vendor.go",
    ],
    pluginFor: ["soong_build"],
}

libbt_vendor_defaults {
    name: "libbt_vendor_defaults",
}

cc_library_shared {
    name: "libbt-vendor",
    owner: "samsung",
    defaults: [
        "libbt_vendor_defaults",
    ],
    export_include_dirs: [
        "conf",
        "include",
    ],
    srcs: [
        "src/bt_vendor_slsi.c",
    ],
    include_dirs: [
        "packages/modules/Bluetooth/system/hci/include",
    ],
    shared_libs: [
        "libcutils",
        "liblog",
    ],
    compile_multilib: "both",
    soc_specific: true,
    proprietary: true,
    product_variables: {
        debuggable: {
            cflags: [
                "-DBTVENDOR_DBG=TRUE",
            ],
        },
    },
}