blob: 7f8e448cc99e86755c78273e6d697a7825fbcf89 [file] [log] [blame]
Bob Badour3bffd872021-02-12 15:28:04 -08001package {
2 default_applicable_licenses: ["external_libldac_license"],
3}
4
5// Added automatically by a large-scale-change
6//
7// large-scale-change included anything that looked like it might be a license
8// text as a license_text. e.g. LICENSE, NOTICE, COPYING etc.
9//
10// Please consider removing redundant or irrelevant files from 'license_text:'.
11// See: http://go/android-license-faq
12license {
13 name: "external_libldac_license",
14 visibility: [":__subpackages__"],
15 license_kinds: [
16 "SPDX-license-identifier-Apache-2.0",
17 ],
18 license_text: [
19 "LICENSE",
20 "NOTICE",
21 ],
22}
23
Jack He9a3015d2017-01-10 15:51:04 -080024cc_library_shared {
25 name: "libldacBT_enc",
Vijay Venkatraman7f348fe2017-05-17 14:19:58 -070026 vendor_available: true,
Justin Yun80947e82020-11-11 18:09:56 +090027 product_available: true,
Justin Yunaa89fab2017-07-24 15:19:44 +090028 vndk: {
29 enabled: true,
30 },
Jack He9a3015d2017-01-10 15:51:04 -080031 arch: {
32 arm: {
33 instruction_set: "arm",
34 },
35 },
36 export_include_dirs: ["inc"],
37 srcs: [
38 "src/ldaclib.c",
39 "src/ldacBT.c",
40 ],
41 // -D_32BIT_FIXED_POINT should be added to cflags for devices without a FPU
42 // unit such as ARM Cortex-R series or external 32-bit DSPs.
Pavlin Radoslavov9ae924d2017-02-23 20:54:41 -080043 cflags: ["-O2", "-Werror", "-Wall", "-Wextra"],
Jack He9a3015d2017-01-10 15:51:04 -080044}
Chisato Kenmochi878aad22017-02-28 13:55:31 +090045
46cc_library_shared {
47 name: "libldacBT_abr",
Vijay Venkatraman7f348fe2017-05-17 14:19:58 -070048 vendor_available: true,
Justin Yun80947e82020-11-11 18:09:56 +090049 product_available: true,
Justin Yunaa89fab2017-07-24 15:19:44 +090050 vndk: {
51 enabled: true,
52 },
Chisato Kenmochi878aad22017-02-28 13:55:31 +090053 arch: {
54 arm: {
55 instruction_set: "arm",
56 },
57 },
58 export_include_dirs: ["abr/inc"],
59 srcs: ["abr/src/ldacBT_abr.c"],
60 shared_libs: ["libldacBT_enc"],
61 cflags: ["-O2", "-Werror", "-Wall", "-Wextra"]
62}