1package {
2    // See: http://go/android-license-faq
3    // A large-scale-change added 'default_applicable_licenses' to import
4    // all of the 'license_kinds' from "system_bt_license"
5    // to get the below license kinds:
6    //   SPDX-license-identifier-Apache-2.0
7    default_applicable_licenses: ["system_bt_license"],
8}
9
10cc_test {
11    name: "libaptx_enc_tests",
12    defaults: [
13        "mts_defaults",
14    ],
15    test_suites: ["general-tests"],
16    host_supported: true,
17    test_options: {
18        unit_test: true,
19    },
20    srcs: ["src/aptx.cc"],
21    whole_static_libs: ["libaptx_enc"],
22    sanitize: {
23        address: true,
24        cfi: true,
25    },
26    min_sdk_version: "33",
27}
28
29cc_test {
30    name: "libaptxhd_enc_tests",
31    defaults: [
32        "mts_defaults",
33    ],
34    test_suites: ["general-tests"],
35    host_supported: true,
36    test_options: {
37        unit_test: true,
38    },
39    srcs: ["src/aptxhd.cc"],
40    whole_static_libs: ["libaptxhd_enc"],
41    sanitize: {
42        address: true,
43        cfi: true,
44    },
45    min_sdk_version: "33",
46}
47