-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathAndroid.bp
49 lines (45 loc) · 1.33 KB
/
Android.bp
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
//
// Copyright (C) 2021 The Android-x86 Open Source Project
// Copyright (C) 2023 KonstaKANG
//
// Licensed under the GNU Lesser General Public License Version 2.1.
// You may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.gnu.org/licenses/lgpl.html
//
cc_library_shared {
name: "libasound",
vendor: true,
cflags: [
"-DPIC",
"-Wno-absolute-value",
"-Wno-address-of-packed-member",
"-Wno-missing-braces",
"-Wno-missing-field-initializers",
"-Wno-pointer-arith",
"-Wno-pointer-bool-conversion",
"-Wno-sign-compare",
"-Wno-single-bit-bitfield-constant-conversion",
"-Wno-unused-function",
"-Wno-unused-const-variable",
"-Wno-unused-parameter",
"-Wno-unused-variable",
"-finline-limit=300",
"-finline-functions",
"-fno-inline-functions-called-once",
],
srcs: ["src/**/*.c"],
exclude_srcs: [
"src/alisp/alisp_snd.c",
"src/compat/hsearch_r.c",
"src/control/control_shm.c",
"src/pcm/pcm_d*.c",
"src/pcm/pcm_ladspa.c",
"src/pcm/pcm_shm.c",
"src/pcm/scopes/level.c",
],
local_include_dirs: ["include"],
export_include_dirs: ["android"],
shared_libs: ["libdl"],
}