2022-04-21 20:58:48 +02:00
|
|
|
diff --git device/bluetooth/BUILD.gn device/bluetooth/BUILD.gn
|
2023-11-21 20:17:55 +01:00
|
|
|
index 6a662873b042a..5d0eb2347513e 100644
|
2022-04-21 20:58:48 +02:00
|
|
|
--- device/bluetooth/BUILD.gn
|
|
|
|
+++ device/bluetooth/BUILD.gn
|
2023-10-19 20:08:48 +02:00
|
|
|
@@ -47,10 +47,12 @@ source_set("deprecated_experimental_mojo") {
|
2022-04-21 20:58:48 +02:00
|
|
|
]
|
|
|
|
|
2023-01-12 17:49:21 +01:00
|
|
|
if (is_chromeos || is_linux) {
|
2022-04-21 20:58:48 +02:00
|
|
|
- sources += [
|
|
|
|
- "bluez/metrics_recorder.cc",
|
|
|
|
- "bluez/metrics_recorder.h",
|
|
|
|
- ]
|
2023-01-12 17:49:21 +01:00
|
|
|
+ if (is_component_build) {
|
|
|
|
+ sources += [
|
|
|
|
+ "bluez/metrics_recorder.cc",
|
|
|
|
+ "bluez/metrics_recorder.h",
|
|
|
|
+ ]
|
|
|
|
+ }
|
|
|
|
}
|
|
|
|
|
2022-04-21 20:58:48 +02:00
|
|
|
deps = [
|