blob: e312c0ef6686612b1e01b4469362954e05015305 [file] [log] [blame]
Myles Watson73ad0312017-03-07 04:28:51 -08001//
Jakub Pawlowski5b790fe2017-09-18 09:00:20 -07002// Copyright 2017 The Android Open Source Project
Myles Watson73ad0312017-03-07 04:28:51 -08003//
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
Jakub Pawlowskie56fabc2017-10-19 00:26:09 -070025 header_libs: ["libbluetooth_headers"],
Myles Watson73ad0312017-03-07 04:28:51 -080026 shared_libs: [
27 "android.hardware.bluetooth@1.0",
28 "libbase",
29 "libchrome",
30 "libcutils",
Myles Watson73ad0312017-03-07 04:28:51 -080031 "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",
Myles Watsone22dde22019-01-18 11:42:33 -080048 "libbt-rootcanal-types",
Myles Watson73ad0312017-03-07 04:28:51 -080049 ],
50 include_dirs: [
51 "system/bt",
52 "system/bt/hci/include",
Jakub Pawlowskiecace462017-10-17 16:40:41 -070053 "system/bt/internal_include",
Myles Watson73ad0312017-03-07 04:28:51 -080054 "system/bt/stack/include",
55 ],
56 init_rc: ["android.hardware.bluetooth@1.0-service.sim.rc"],
57}
Myles Watson28eff182017-05-17 11:39:18 -070058
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
Jakub Pawlowskie56fabc2017-10-19 00:26:09 -070067 header_libs: ["libbluetooth_headers"],
Myles Watson28eff182017-05-17 11:39:18 -070068 shared_libs: [
69 "android.hardware.bluetooth@1.0",
70 "libbase",
71 "libchrome",
72 "libcutils",
Myles Watson28eff182017-05-17 11:39:18 -070073 "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 "android.hardware.bluetooth-async",
86 "android.hardware.bluetooth-hci",
87 "libbt-rootcanal",
Myles Watsone22dde22019-01-18 11:42:33 -080088 "libbt-rootcanal-types",
Myles Watson28eff182017-05-17 11:39:18 -070089 ],
90 include_dirs: [
91 "system/bt",
92 "system/bt/hci/include",
Jakub Pawlowskiecace462017-10-17 16:40:41 -070093 "system/bt/internal_include",
Myles Watson28eff182017-05-17 11:39:18 -070094 "system/bt/stack/include",
95 ],
96}