Repository navigation
Expand file tree
/
Copy pathAndroid.bp
More file actions
72 lines (65 loc) · 1.45 KB
/
Copy pathAndroid.bp
File metadata and controls
72 lines (65 loc) · 1.45 KB
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
// Spatial Decoder Library - Android.bp for Soong Build System
// Place in: vendor/mediatek/proprietary/hardware/audio/spatial_decoder/Android.bp
cc_library_shared {
name: "libspatialdecoder",
vendor: true,
proprietary: true,
owner: "mediatek",
srcs: [
"src/decoder/spatial_decoder.c",
"src/pcm/spatial_pcm.c",
"src/pcm/spatial_channel_layout.c",
"src/config/spatial_config.c",
"src/config/property_bridge.c",
"src/downmix/spatial_downmix.c",
],
include_dirs: [
"include",
"src/decoder",
"src/pcm",
"src/config",
"src/downmix",
],
cflags: [
"-std=c11",
"-Wall",
"-Wextra",
"-Werror",
"-DANDROID",
"-DANDROID_SMP=1",
"-DANDROID_BUILD",
"-DANDROID_API=28",
"-march=armv7-a",
"-mthumb",
"-mfpu=neon",
"-O2",
"-fPIC",
"-fvisibility=hidden",
],
shared_libs: [
"libavcodec",
"libavutil",
"libavformat",
"libswresample",
"liblog",
"libcutils",
"libutils",
"libdl",
],
cflags: [
"-std=c11",
"-Wall",
"-Wextra",
"-Werror",
],
compile_multilib: "32",
target: {
android_arm: {
cflags: [
"-march=armv7-a",
"-mthumb",
"-mfpu=neon",
],
},
},
}