1package {
2    // See: http://go/android-license-faq
3    // A large-scale-change added 'default_applicable_licenses' to import
4    // all of the 'license_kinds' from "system_bt_license"
5    // to get the below license kinds:
6    //   SPDX-license-identifier-Apache-2.0
7    default_applicable_licenses: ["system_bt_license"],
8}
9
10filegroup {
11    name: "BluetoothOsSources_android",
12    srcs: [
13        "android/metrics.cc",
14        "android/parameter_provider.cc",
15        "android/system_properties.cc",
16        "android/wakelock_native.cc",
17    ],
18}
19
20filegroup {
21    name: "BluetoothOsTestSources_android",
22    srcs: [
23        "android/system_properties_test.cc",
24        "android/wakelock_native_test.cc",
25    ],
26}
27
28filegroup {
29    name: "BluetoothOsSources_host",
30    srcs: [
31        "host/metrics.cc",
32        "host/parameter_provider.cc",
33        "host/system_properties.cc",
34        "host/wakelock_native.cc",
35    ],
36}
37
38filegroup {
39    name: "BluetoothOsTestSources_host",
40    srcs: [
41        "host/system_properties_test.cc",
42    ],
43}
44
45
46filegroup {
47    name: "BluetoothOsSources_linux_generic",
48    srcs: [
49        "linux_generic/alarm.cc",
50        "linux_generic/files.cc",
51        "linux_generic/handler.cc",
52        "linux_generic/reactor.cc",
53        "linux_generic/repeating_alarm.cc",
54        "linux_generic/reactive_semaphore.cc",
55        "linux_generic/thread.cc",
56        "linux_generic/wakelock_manager.cc",
57    ],
58}
59
60filegroup {
61    name: "BluetoothOsTestSources_linux_generic",
62    srcs: [
63        "linux_generic/alarm_unittest.cc",
64        "linux_generic/files_test.cc",
65        "linux_generic/handler_unittest.cc",
66        "linux_generic/queue_unittest.cc",
67        "linux_generic/reactor_unittest.cc",
68        "linux_generic/repeating_alarm_unittest.cc",
69        "linux_generic/thread_unittest.cc",
70        "linux_generic/wakelock_manager_unittest.cc",
71    ],
72}
73
74filegroup {
75name: "BluetoothOsBenchmarkSources",
76     srcs: [
77         "alarm_benchmark.cc",
78         "thread_benchmark.cc",
79         "queue_benchmark.cc",
80    ],
81}
82
83filegroup {
84    name: "BluetoothOsSources_fuzz",
85    srcs: [
86        "fuzz/fake_timerfd.cc",
87    ],
88}
89