summaryrefslogtreecommitdiff
path: root/system/gd/os/Android.bp
blob: b2916c58a8bb48dff434d291dddf5c66e61d816a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
package {
    // See: http://go/android-license-faq
    // A large-scale-change added 'default_applicable_licenses' to import
    // all of the 'license_kinds' from "system_bt_license"
    // to get the below license kinds:
    //   SPDX-license-identifier-Apache-2.0
    default_applicable_licenses: ["system_bt_license"],
}

filegroup {
    name: "BluetoothOsSources",
    srcs: [
        "handler.cc",
    ],
}

filegroup {
    name: "BluetoothOsSources_android",
    srcs: [
        "android/metrics.cc",
        "android/parameter_provider.cc",
        "android/system_properties.cc",
        "android/wakelock_native.cc",
    ],
}

filegroup {
    name: "BluetoothOsTestSources_android",
    srcs: [
        "android/system_properties_test.cc",
        "android/wakelock_native_test.cc",
    ],
}

filegroup {
    name: "BluetoothOsSources_host",
    srcs: [
        "host/metrics.cc",
        "host/parameter_provider.cc",
        "host/system_properties.cc",
        "host/wakelock_native.cc",
    ],
}

filegroup {
    name: "BluetoothOsTestSources",
    srcs: [
        "handler_unittest.cc",
    ],
}

filegroup {
    name: "BluetoothOsTestSources_host",
    srcs: [
        "host/system_properties_test.cc",
    ],
}


filegroup {
    name: "BluetoothOsSources_linux_generic",
    srcs: [
        "linux_generic/alarm.cc",
        "linux_generic/files.cc",
        "linux_generic/reactor.cc",
        "linux_generic/repeating_alarm.cc",
        "linux_generic/reactive_semaphore.cc",
        "linux_generic/thread.cc",
        "linux_generic/wakelock_manager.cc",
    ],
}

filegroup {
    name: "BluetoothOsTestSources_linux_generic",
    srcs: [
        "linux_generic/alarm_unittest.cc",
        "linux_generic/files_test.cc",
        "linux_generic/queue_unittest.cc",
        "linux_generic/reactor_unittest.cc",
        "linux_generic/repeating_alarm_unittest.cc",
        "linux_generic/thread_unittest.cc",
        "linux_generic/wakelock_manager_unittest.cc",
    ],
}

filegroup {
name: "BluetoothOsBenchmarkSources",
     srcs: [
         "alarm_benchmark.cc",
         "thread_benchmark.cc",
         "queue_benchmark.cc",
    ],
}

filegroup {
    name: "BluetoothOsSources_fuzz",
    srcs: [
        "fuzz/fake_timerfd.cc",
    ],
}