2022-04-21 20:58:48 +02:00
|
|
|
diff --git device/bluetooth/BUILD.gn device/bluetooth/BUILD.gn
|
2023-04-26 21:55:59 +02:00
|
|
|
index 642afd72cc0f9..5f12133c0ac5a 100644
|
2022-04-21 20:58:48 +02:00
|
|
|
--- device/bluetooth/BUILD.gn
|
|
|
|
+++ device/bluetooth/BUILD.gn
|
2023-01-12 17:49:21 +01:00
|
|
|
@@ -46,10 +46,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 = [
|