• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1cc_defaults {
2    name: "pdx_default_transport_compiler_defaults",
3    clang: true,
4    cflags: [
5        "-Wall",
6        "-Wextra",
7        "-Werror",
8    ],
9}
10
11cc_defaults {
12    name: "pdx_default_transport_lib_defaults",
13    export_include_dirs: ["private"],
14    whole_static_libs: ["libpdx"],
15}
16
17cc_defaults {
18    name: "pdx_use_transport_servicefs",
19    export_include_dirs: ["private/servicefs"],
20    whole_static_libs: ["libpdx_servicefs", "libservicefs"],
21}
22
23cc_defaults {
24    name: "pdx_use_transport_uds",
25    export_include_dirs: ["private/uds"],
26    whole_static_libs: ["libpdx_uds"],
27}
28
29cc_library_static {
30    name: "libpdx_default_transport",
31    defaults: [
32        "pdx_default_transport_compiler_defaults",
33        "pdx_default_transport_lib_defaults",
34        "pdx_use_transport_uds",
35    ],
36}
37
38cc_binary {
39    name: "servicetool",
40    defaults: ["pdx_default_transport_compiler_defaults"],
41    srcs: [
42        "servicetool.cpp",
43    ],
44    shared_libs: [
45        "liblog",
46    ],
47    static_libs: [
48        "libpdx_default_transport",
49    ],
50}
51
52// Benchmarks.
53cc_binary {
54    name: "pdx_benchmarks",
55    defaults: ["pdx_default_transport_compiler_defaults"],
56    srcs: [
57        "pdx_benchmarks.cpp",
58    ],
59    shared_libs: [
60        "libbase",
61        "libchrome",
62        "libcutils",
63        "liblog",
64        "libutils",
65    ],
66    static_libs: [
67        "libpdx_default_transport",
68    ],
69}
70
71