-
Notifications
You must be signed in to change notification settings - Fork 0
/
Android.bp
48 lines (42 loc) · 1.58 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
// Define a soong config module type to determine AOSP vs QVA configuration
soong_config_module_type {
name: "aosp_vs_qva_java_defaults",
module_type: "java_defaults",
config_namespace: "aosp_vs_qva",
variables: ["aosp_or_qva"],
// Properties can be extended to other properties as well
properties: ["libs", "static_libs", "srcs"],
}
soong_config_module_type {
name: "aosp_vs_qva_cc_defaults",
module_type: "cc_defaults",
config_namespace: "aosp_vs_qva",
variables: ["aosp_or_qva"],
// Properties can be extended to other properties as well
properties: ["libs", "static_libs", "shared_libs", "whole_static_libs"],
}
soong_config_string_variable {
name: "aosp_or_qva",
values: ["aosp", "qva"],
}
// Define a soong config module type to determine BREDR vs BT advance audio configuration
soong_config_module_type {
name: "bredr_vs_btadva_cc_defaults",
module_type: "cc_defaults",
config_namespace: "bredr_vs_btadva",
variables: ["bredr_or_btadva"],
// Properties can be extended to other properties as well
properties: ["cflags", "include_dirs", "static_libs", "whole_static_libs", "srcs", "required"],
}
soong_config_module_type {
name: "bredr_vs_btadva_java_defaults",
module_type: "java_defaults",
config_namespace: "bredr_vs_btadva",
variables: ["bredr_or_btadva"],
// Properties can be extended to other properties as well
properties: ["cflags", "include_dirs", "static_libs", "whole_static_libs", "srcs"],
}
soong_config_string_variable {
name: "bredr_or_btadva",
values: ["bredr", "btadva"],
}