summaryrefslogtreecommitdiff
path: root/system/embdrv/tests/Android.bp
blob: 6b06547e9d7f1f2d1d48291a0497a7dd604094ee (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
package {
    // See: http://go/android-license-faq
    // A large-scale-change added 'default_applicable_licenses' to import
    // all of the 'license_kinds' from "system_bt_license"
    // to get the below license kinds:
    //   SPDX-license-identifier-Apache-2.0
    default_applicable_licenses: ["system_bt_license"],
}

cc_test {
    name: "libaptx_enc_tests",
    defaults: [
        "mts_defaults",
    ],
    test_suites: ["general-tests"],
    host_supported: true,
    test_options: {
        unit_test: true,
    },
    srcs: ["src/aptx.cc"],
    whole_static_libs: ["libaptx_enc"],
    sanitize: {
        address: true,
        cfi: true,
    },
    min_sdk_version: "33",
}

cc_test {
    name: "libaptxhd_enc_tests",
    defaults: [
        "mts_defaults",
    ],
    test_suites: ["general-tests"],
    host_supported: true,
    test_options: {
        unit_test: true,
    },
    srcs: ["src/aptxhd.cc"],
    whole_static_libs: ["libaptxhd_enc"],
    sanitize: {
        address: true,
        cfi: true,
    },
    min_sdk_version: "33",
}