• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1//
2// Copyright (C) 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    shared_libs: [
26        "android.hardware.bluetooth@1.0",
27        "libbase",
28        "libchrome",
29        "libcutils",
30        "libhardware",
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    ],
49    include_dirs: [
50        "system/bt",
51        "system/bt/hci/include",
52        "system/bt/include",
53        "system/bt/stack/include",
54    ],
55    init_rc: ["android.hardware.bluetooth@1.0-service.sim.rc"],
56}
57