• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1//
2// Copyright 2017 The Android Open Source Project
3//
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8//      http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15
16cc_binary {
17    name: "android.hardware.bluetooth@1.0-service.sim",
18    proprietary: true,
19    relative_install_path: "hw",
20    srcs: [
21        "bluetooth_hci.cc",
22        "service.cc",
23    ],
24
25    header_libs: ["libbluetooth_headers"],
26    shared_libs: [
27        "android.hardware.bluetooth@1.0",
28        "libbase",
29        "libchrome",
30        "libcutils",
31        "libhwbinder",
32        "libhidlbase",
33        "libhidltransport",
34        "liblog",
35        "libutils",
36    ],
37    cflags: [
38        "-fvisibility=hidden",
39        "-Wall",
40        "-Wextra",
41        "-Werror",
42        "-DHAS_NO_BDROID_BUILDCFG",
43    ],
44    static_libs: [
45        "android.hardware.bluetooth-async",
46        "android.hardware.bluetooth-hci",
47        "libbt-rootcanal",
48        "libbluetooth-types",
49    ],
50    include_dirs: [
51        "system/bt",
52        "system/bt/hci/include",
53        "system/bt/internal_include",
54        "system/bt/stack/include",
55    ],
56    init_rc: ["android.hardware.bluetooth@1.0-service.sim.rc"],
57}
58
59cc_library_shared {
60    name: "android.hardware.bluetooth@1.0-impl-sim",
61    proprietary: true,
62    relative_install_path: "hw",
63    srcs: [
64        "bluetooth_hci.cc",
65    ],
66
67    header_libs: ["libbluetooth_headers"],
68    shared_libs: [
69        "android.hardware.bluetooth@1.0",
70        "libbase",
71        "libchrome",
72        "libcutils",
73        "libhidlbase",
74        "libhidltransport",
75        "liblog",
76        "libutils",
77    ],
78    cflags: [
79        "-Wall",
80        "-Wextra",
81        "-Werror",
82        "-DHAS_NO_BDROID_BUILDCFG",
83    ],
84    static_libs: [
85        "libbluetooth-types",
86        "android.hardware.bluetooth-async",
87        "android.hardware.bluetooth-hci",
88        "libbt-rootcanal",
89    ],
90    include_dirs: [
91        "system/bt",
92        "system/bt/hci/include",
93        "system/bt/internal_include",
94        "system/bt/stack/include",
95    ],
96}
97