Abhishek Pandit-Subedi | 9bd8242 | 2021-03-02 22:33:10 +0000 | [diff] [blame] | 1 | # Copyright 2021 Google, Inc. |
Sonny Sasaka | 116ae62 | 2021-02-03 19:14:56 +0000 | [diff] [blame] | 2 | # |
| 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-Subedi | 9bd8242 | 2021-03-02 22:33:10 +0000 | [diff] [blame] | 14 | |
| 15 | source_set("BluetoothOsSources_linux") { |
| 16 | sources = [ |
Chen Chen | 0d6a9af | 2021-03-31 11:58:15 -0700 | [diff] [blame] | 17 | "linux/metrics.cc", |
Abhishek Pandit-Subedi | 9bd8242 | 2021-03-02 22:33:10 +0000 | [diff] [blame] | 18 | "linux/parameter_provider.cc", |
| 19 | "linux/system_properties.cc", |
Jack He | 091a201 | 2021-05-19 00:56:56 -0700 | [diff] [blame] | 20 | "linux/wakelock_native.cc", |
Hui Peng | 008aec6 | 2022-10-20 23:01:01 +0000 | [diff] [blame] | 21 | "system_properties_common.cc", |
Abhishek Pandit-Subedi | 4ddbef3 | 2021-09-07 15:45:42 -0700 | [diff] [blame] | 22 | "syslog.cc", |
Abhishek Pandit-Subedi | 9bd8242 | 2021-03-02 22:33:10 +0000 | [diff] [blame] | 23 | ] |
| 24 | |
Abhishek Pandit-Subedi | 947d468 | 2021-11-12 15:52:11 -0800 | [diff] [blame] | 25 | configs += [ "//bt/system/gd:gd_defaults" ] |
| 26 | deps = [ "//bt/system:libbt-platform-protos-lite" ] |
Abhishek Pandit-Subedi | 9bd8242 | 2021-03-02 22:33:10 +0000 | [diff] [blame] | 27 | } |
Sonny Sasaka | 116ae62 | 2021-02-03 19:14:56 +0000 | [diff] [blame] | 28 | |
| 29 | source_set("BluetoothOsSources_linux_generic") { |
| 30 | sources = [ |
Abhishek Pandit-Subedi | ab98307 | 2022-02-14 11:33:32 -0800 | [diff] [blame] | 31 | "handler.cc", |
Sonny Sasaka | 116ae62 | 2021-02-03 19:14:56 +0000 | [diff] [blame] | 32 | "linux_generic/alarm.cc", |
| 33 | "linux_generic/files.cc", |
Sonny Sasaka | 116ae62 | 2021-02-03 19:14:56 +0000 | [diff] [blame] | 34 | "linux_generic/reactive_semaphore.cc", |
| 35 | "linux_generic/reactor.cc", |
| 36 | "linux_generic/repeating_alarm.cc", |
| 37 | "linux_generic/thread.cc", |
Jack He | 091a201 | 2021-05-19 00:56:56 -0700 | [diff] [blame] | 38 | "linux_generic/wakelock_manager.cc", |
Sonny Sasaka | 116ae62 | 2021-02-03 19:14:56 +0000 | [diff] [blame] | 39 | ] |
| 40 | |
Abhishek Pandit-Subedi | 947d468 | 2021-11-12 15:52:11 -0800 | [diff] [blame] | 41 | configs += [ "//bt/system/gd:gd_defaults" ] |
| 42 | deps = [ ":BluetoothOsSources_linux", "//bt/system/gd:gd_default_deps" ] |
Sonny Sasaka | 116ae62 | 2021-02-03 19:14:56 +0000 | [diff] [blame] | 43 | } |