blob: 7204ccdfc34049f7bfaef92f423d82c26b3f166e [file] [log] [blame]
Abhishek Pandit-Subedi9bd82422021-03-02 22:33:10 +00001# Copyright 2021 Google, Inc.
Sonny Sasaka116ae622021-02-03 19:14:56 +00002#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at:
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
Abhishek Pandit-Subedi9bd82422021-03-02 22:33:10 +000014
15source_set("BluetoothOsSources_linux") {
16 sources = [
Chen Chen0d6a9af2021-03-31 11:58:15 -070017 "linux/metrics.cc",
Abhishek Pandit-Subedi9bd82422021-03-02 22:33:10 +000018 "linux/parameter_provider.cc",
19 "linux/system_properties.cc",
Jack He091a2012021-05-19 00:56:56 -070020 "linux/wakelock_native.cc",
Hui Peng008aec62022-10-20 23:01:01 +000021 "system_properties_common.cc",
Abhishek Pandit-Subedi4ddbef32021-09-07 15:45:42 -070022 "syslog.cc",
Abhishek Pandit-Subedi9bd82422021-03-02 22:33:10 +000023 ]
24
Abhishek Pandit-Subedi947d4682021-11-12 15:52:11 -080025 configs += [ "//bt/system/gd:gd_defaults" ]
26 deps = [ "//bt/system:libbt-platform-protos-lite" ]
Abhishek Pandit-Subedi9bd82422021-03-02 22:33:10 +000027}
Sonny Sasaka116ae622021-02-03 19:14:56 +000028
29source_set("BluetoothOsSources_linux_generic") {
30 sources = [
Abhishek Pandit-Subediab983072022-02-14 11:33:32 -080031 "handler.cc",
Sonny Sasaka116ae622021-02-03 19:14:56 +000032 "linux_generic/alarm.cc",
33 "linux_generic/files.cc",
Sonny Sasaka116ae622021-02-03 19:14:56 +000034 "linux_generic/reactive_semaphore.cc",
35 "linux_generic/reactor.cc",
36 "linux_generic/repeating_alarm.cc",
37 "linux_generic/thread.cc",
Jack He091a2012021-05-19 00:56:56 -070038 "linux_generic/wakelock_manager.cc",
Sonny Sasaka116ae622021-02-03 19:14:56 +000039 ]
40
Abhishek Pandit-Subedi947d4682021-11-12 15:52:11 -080041 configs += [ "//bt/system/gd:gd_defaults" ]
42 deps = [ ":BluetoothOsSources_linux", "//bt/system/gd:gd_default_deps" ]
Sonny Sasaka116ae622021-02-03 19:14:56 +000043}