Home | History | Annotate | Download | only in libpdx_default_transport
      1 cc_defaults {
      2     name: "pdx_default_transport_compiler_defaults",
      3     clang: true,
      4     cflags: [
      5         "-Wall",
      6         "-Wextra",
      7         "-Werror",
      8     ],
      9 }
     10 
     11 cc_defaults {
     12     name: "pdx_default_transport_lib_defaults",
     13     export_include_dirs: ["private"],
     14     whole_static_libs: ["libpdx"],
     15 }
     16 
     17 cc_defaults {
     18     name: "pdx_use_transport_servicefs",
     19     export_include_dirs: ["private/servicefs"],
     20     whole_static_libs: ["libpdx_servicefs", "libservicefs"],
     21 }
     22 
     23 cc_defaults {
     24     name: "pdx_use_transport_uds",
     25     export_include_dirs: ["private/uds"],
     26     whole_static_libs: ["libpdx_uds"],
     27 }
     28 
     29 cc_library_shared {
     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     shared_libs: [
     37         "libbase",
     38         "libbinder",
     39         "libcutils",
     40         "liblog",
     41         "libutils",
     42         "libcrypto",
     43         "libselinux",
     44     ],
     45 }
     46 
     47 cc_binary {
     48     name: "pdx_tool",
     49     defaults: ["pdx_default_transport_compiler_defaults"],
     50     srcs: [
     51         "pdx_tool.cpp",
     52     ],
     53     shared_libs: [
     54         "libbinder",
     55         "libcutils",
     56         "liblog",
     57         "libpdx_default_transport",
     58     ],
     59 }
     60 
     61 // Benchmarks.
     62 cc_binary {
     63     name: "pdx_benchmarks",
     64     defaults: ["pdx_default_transport_compiler_defaults"],
     65     srcs: [
     66         "pdx_benchmarks.cpp",
     67     ],
     68     shared_libs: [
     69         "libbase",
     70         "libbinder",
     71         "libchrome",
     72         "libcutils",
     73         "liblog",
     74         "libutils",
     75         "libpdx_default_transport",
     76     ],
     77 }
     78 
     79