• 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: "pdx_tool",
40    defaults: ["pdx_default_transport_compiler_defaults"],
41    srcs: [
42        "pdx_tool.cpp",
43    ],
44    shared_libs: [
45        "libcutils",
46        "liblog",
47    ],
48    static_libs: [
49        "libpdx_default_transport",
50    ],
51}
52
53// Benchmarks.
54cc_binary {
55    name: "pdx_benchmarks",
56    defaults: ["pdx_default_transport_compiler_defaults"],
57    srcs: [
58        "pdx_benchmarks.cpp",
59    ],
60    shared_libs: [
61        "libbase",
62        "libchrome",
63        "libcutils",
64        "liblog",
65        "libutils",
66    ],
67    static_libs: [
68        "libpdx_default_transport",
69    ],
70}
71
72