• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1package {
2    // See: http://go/android-license-faq
3    // A large-scale-change added 'default_applicable_licenses' to import
4    // all of the 'license_kinds' from "system_bt_license"
5    // to get the below license kinds:
6    //   SPDX-license-identifier-Apache-2.0
7    default_applicable_licenses: ["system_bt_license"],
8}
9
10rust_binary_host {
11    name: "bt_topshim_facade",
12    defaults: [
13        "gd_rust_defaults",
14        "libchrome_support_defaults"
15    ],
16    crate_name: "bt_topshim_facade",
17    srcs: ["src/main.rs"],
18    ld_flags: ["-fsanitize=undefined", "-fsanitize-minimal-runtime"],
19    rustlibs: [
20        "libbluetooth_rs",
21        "libbt_common",
22        "libtokio",
23        "libbt_packets",
24        "libfutures",
25        "libgrpcio",
26        "libnum_traits",
27        "libnix",
28        "liblog_rust",
29        "libbt_facade_helpers",
30        "libbt_topshim",
31        "libbt_topshim_facade_protobuf",
32        "libbt_shim",
33    ],
34    static_libs: [
35        "avrcp-target-service",
36        "lib-bt-packets",
37        "lib-bt-packets-avrcp",
38        "lib-bt-packets-base",
39        "libchrome",
40        "libevent",
41        "libbt_topshim_cxx",
42        "libbt-bta",
43        "libbt-common",
44        "libbtdevice",
45        "libbtif",
46        "libbt-hci",
47        "libbt-stack",
48        "libbt-utils",
49        "libbtcore",
50        "libosi",
51        "libbt-protos-lite",
52        "libbte",
53        "libbt-sbc-decoder",
54        "libbt-sbc-encoder",
55        "libFraunhoferAAC",
56        "libg722codec",
57        "liblc3",
58        "libopus",
59        "libudrv-uipc",
60        "libbluetooth_gd", // Gabeldorsche
61        "libbluetooth-dumpsys",
62        "libbluetooth-types",
63        "libflatbuffers-cpp",
64        "libbt_shim_bridge",
65        "libbt_topshim_cxx",
66        "libbt-audio-hal-interface",
67        "libaudio-a2dp-hw-utils",
68        "libc++fs",
69    ],
70    shared_libs: [
71        "libcrypto",
72        "liblog",
73        "libcutils",
74        "libgrpc++",
75        "libgrpc_wrap"
76    ],
77    proc_macros: [
78        "libpaste",
79    ],
80}
81