summaryrefslogtreecommitdiff
path: root/Android.bp
blob: 69f35a18c637719b0a5cc65c0b40110bd0f9d875 (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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
package {
    default_applicable_licenses: ["external_libldac_license"],
}

// Added automatically by a large-scale-change
//
// large-scale-change included anything that looked like it might be a license
// text as a license_text. e.g. LICENSE, NOTICE, COPYING etc.
//
// Please consider removing redundant or irrelevant files from 'license_text:'.
// See: http://go/android-license-faq
license {
    name: "external_libldac_license",
    visibility: [":__subpackages__"],
    license_kinds: [
        "SPDX-license-identifier-Apache-2.0",
    ],
    license_text: [
        "LICENSE",
        "NOTICE",
    ],
}

cc_library {
    name: "libldacBT_enc",
    vendor_available: true,
    product_available: true,
    vndk: {
        enabled: true,
    },
    host_supported: true,
    arch: {
        arm: {
            instruction_set: "arm",
        },
    },
    export_include_dirs: ["inc"],
    srcs: [
        "src/ldaclib.c",
        "src/ldacBT.c",
    ],
    // -D_32BIT_FIXED_POINT should be added to cflags for devices without a FPU
    // unit such as ARM Cortex-R series or external 32-bit DSPs.
    cflags: ["-O2", "-Werror", "-Wall", "-Wextra"],
    min_sdk_version: "Tiramisu",
    apex_available: [
        "//apex_available:platform",
        "com.android.bluetooth",
    ],
    visibility: [
        "//external/oss-fuzz",
        "//packages/modules/Bluetooth:__subpackages__",
        "//packages/modules/vndk/apex",
    ],
}

cc_library {
    name: "libldacBT_abr",
    vendor_available: true,
    product_available: true,
    vndk: {
        enabled: true,
    },
    host_supported: true,
    arch: {
        arm: {
            instruction_set: "arm",
        },
    },
    export_include_dirs: ["abr/inc"],
    srcs: ["abr/src/ldacBT_abr.c"],
    static_libs: ["libldacBT_enc"],
    cflags: ["-O2", "-Werror", "-Wall", "-Wextra"],
    min_sdk_version: "Tiramisu",
    apex_available: [
        "//apex_available:platform",
        "com.android.bluetooth",
    ],
    visibility: [
        "//packages/modules/Bluetooth:__subpackages__",
        "//packages/modules/vndk/apex",
    ],
}