-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathAndroid.bp
More file actions
85 lines (83 loc) · 2.03 KB
/
Android.bp
File metadata and controls
85 lines (83 loc) · 2.03 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
73
74
75
76
77
78
79
80
81
82
83
84
85
//
// Copyright (C) 2025 KonstaKANG
//
// SPDX-License-Identifier: LGPL-2.1-or-later
//
cc_library_headers {
name: "ffmpeg_headers",
vendor: true,
export_include_dirs: [
".",
"libavcodec",
"libavformat",
"libavutil",
"libswresample",
"libswscale",
],
}
cc_defaults {
name: "ffmpeg_defaults",
vendor: true,
compile_multilib: "64",
header_libs: [
"ffmpeg_headers",
],
export_header_lib_headers: [
"ffmpeg_headers",
],
cflags: [
"-DHAVE_AV_CONFIG_H",
"-DPIC",
"-DZLIB_CONST",
"-D_FILE_OFFSET_BITS=64",
"-D_ISOC11_SOURCE",
"-D_LARGEFILE_SOURCE",
"-D__STDC_CONSTANT_MACROS",
"-Dstrtod=avpriv_strtod",
"-O3",
"-Wall",
"-Wdisabled-optimization",
"-Wempty-body",
"-Werror=implicit-function-declaration",
"-Werror=missing-prototypes",
"-Werror=return-type",
"-Wmissing-prototypes",
"-Wno-bool-operation",
"-Wno-char-subscripts",
"-Wno-declaration-after-statement",
"-Wno-enum-conversion",
"-Wno-format-zero-length",
"-Wno-ignored-qualifiers",
"-Wno-implicit-const-int-float-conversion",
"-Wno-incompatible-pointer-types-discards-qualifiers",
"-Wno-initializer-overrides",
"-Wno-microsoft-enum-forward-reference",
"-Wno-parentheses",
"-Wno-pointer-sign",
"-Wno-sometimes-uninitialized",
"-Wno-switch",
"-Wno-uninitialized",
"-Wno-unused-const-variable",
"-Wpointer-arith",
"-Wredundant-decls",
"-Wstrict-prototypes",
"-Wtype-limits",
"-Wundef",
"-Wwrite-strings",
"-fPIC",
"-fPIE",
"-fno-math-errno",
"-fno-signed-zeros",
"-fomit-frame-pointer",
"-mstack-alignment=16",
"-pthread",
],
ldflags: [
"-Wl,-Bsymbolic",
],
asflags: [
"-fPIC",
],
c_std: "c17",
cpp_std: "c++17",
}