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
|
cc_library {
name: "libdatasource",
srcs: [
"DataSourceFactory.cpp",
"DataURISource.cpp",
"FileSource.cpp",
"HTTPBase.cpp",
"MediaHTTP.cpp",
"NuCachedSource2.cpp",
],
aidl: {
local_include_dirs: ["aidl"],
export_aidl_headers: true,
},
header_libs: [
"libstagefright_headers",
"media_ndk_headers",
"libmedia_headers",
],
export_header_lib_headers: [
"libstagefright_headers",
"media_ndk_headers",
],
shared_libs: [
"liblog",
"libcutils",
"libutils",
"libstagefright_foundation",
"libdl",
],
static_libs: [
"libc_malloc_debug_backtrace", // for memory heap analysis
"libmedia_midiiowrapper",
],
local_include_dirs: [
"include",
],
export_include_dirs: [
"include",
],
cflags: [
"-Werror",
"-Wno-error=deprecated-declarations",
"-Wall",
],
sanitize: {
misc_undefined: [
"unsigned-integer-overflow",
"signed-integer-overflow",
],
cfi: true,
},
}
|