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
|
cc_defaults {
name: "pdx_default_transport_compiler_defaults",
clang: true,
cflags: [
"-Wall",
"-Wextra",
"-Werror",
],
}
cc_defaults {
name: "pdx_default_transport_lib_defaults",
export_include_dirs: ["private"],
whole_static_libs: ["libpdx"],
}
cc_defaults {
name: "pdx_use_transport_servicefs",
export_include_dirs: ["private/servicefs"],
whole_static_libs: ["libpdx_servicefs", "libservicefs"],
}
cc_defaults {
name: "pdx_use_transport_uds",
export_include_dirs: ["private/uds"],
whole_static_libs: ["libpdx_uds"],
}
cc_library_shared {
name: "libpdx_default_transport",
defaults: [
"pdx_default_transport_compiler_defaults",
"pdx_default_transport_lib_defaults",
"pdx_use_transport_uds",
],
shared_libs: [
"libbase",
"libbinder",
"libcutils",
"liblog",
"libutils",
"libselinux",
],
}
cc_binary {
name: "pdx_tool",
defaults: ["pdx_default_transport_compiler_defaults"],
srcs: [
"pdx_tool.cpp",
],
shared_libs: [
"libbinder",
"libcutils",
"liblog",
"libpdx_default_transport",
],
}
// Benchmarks.
cc_binary {
name: "pdx_benchmarks",
defaults: ["pdx_default_transport_compiler_defaults"],
srcs: [
"pdx_benchmarks.cpp",
],
shared_libs: [
"libbase",
"libbinder",
"libchrome",
"libcutils",
"liblog",
"libutils",
"libpdx_default_transport",
],
}
|