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", 12 srcs: [ 13 "handler.cc", 14 "system_properties_common.cc", 15 ], 16} 17 18filegroup { 19 name: "BluetoothOsSources_android", 20 srcs: [ 21 "android/metrics.cc", 22 "android/parameter_provider.cc", 23 "android/system_properties.cc", 24 "android/wakelock_native.cc", 25 ], 26} 27 28filegroup { 29 name: "BluetoothOsTestSources_android", 30 srcs: [ 31 "android/wakelock_native_test.cc", 32 ], 33} 34 35filegroup { 36 name: "BluetoothOsSources_host", 37 srcs: [ 38 "host/metrics.cc", 39 "host/parameter_provider.cc", 40 "host/system_properties.cc", 41 "host/wakelock_native.cc", 42 ], 43} 44 45filegroup { 46 name: "BluetoothOsTestSources", 47 srcs: [ 48 "handler_unittest.cc", 49 "system_properties_common_test.cc", 50 ], 51} 52 53filegroup { 54 name: "BluetoothOsTestSources_host", 55 srcs: [ 56 ], 57} 58 59filegroup { 60 name: "BluetoothOsSources_linux_generic", 61 srcs: [ 62 "linux_generic/alarm.cc", 63 "linux_generic/files.cc", 64 "linux_generic/reactive_semaphore.cc", 65 "linux_generic/reactor.cc", 66 "linux_generic/repeating_alarm.cc", 67 "linux_generic/thread.cc", 68 "linux_generic/wakelock_manager.cc", 69 ], 70} 71 72filegroup { 73 name: "BluetoothOsTestSources_linux_generic", 74 srcs: [ 75 "linux_generic/alarm_unittest.cc", 76 "linux_generic/files_test.cc", 77 "linux_generic/queue_unittest.cc", 78 "linux_generic/reactor_unittest.cc", 79 "linux_generic/repeating_alarm_unittest.cc", 80 "linux_generic/thread_unittest.cc", 81 "linux_generic/wakelock_manager_unittest.cc", 82 ], 83} 84 85filegroup { 86 name: "BluetoothOsBenchmarkSources", 87 srcs: [ 88 "alarm_benchmark.cc", 89 "queue_benchmark.cc", 90 "thread_benchmark.cc", 91 ], 92} 93 94filegroup { 95 name: "BluetoothOsSources_fake_timer", 96 srcs: [ 97 "fake_timer/fake_timerfd.cc", 98 ], 99} 100 101filegroup { 102 name: "BluetoothOsSystemProperties_android", 103 srcs: [ 104 "android/system_properties.cc", 105 ], 106} 107 108filegroup { 109 name: "BluetoothOsSystemProperties_host", 110 srcs: [ 111 "host/system_properties.cc", 112 ], 113} 114 115filegroup { 116 name: "BluetoothOsTestSources_timerfd", 117 srcs: [ 118 "handler.cc", 119 "linux_generic/alarm.cc", 120 "linux_generic/alarm_timerfd_unittest.cc", 121 "linux_generic/files.cc", 122 "linux_generic/reactive_semaphore.cc", 123 "linux_generic/reactor.cc", 124 "linux_generic/repeating_alarm.cc", 125 "linux_generic/thread.cc", 126 "system_properties_common.cc", 127 ], 128} 129 130filegroup { 131 name: "BluetoothOsSources_mgmt", 132 srcs: [ 133 "mgmt_stub.cc", 134 ], 135} 136 137filegroup { 138 name: "BluetoothOsSources_mgmt_linux", 139 srcs: [ 140 "linux_generic/mgmt.cc", 141 ], 142} 143