22 lines
528 B
Diff
22 lines
528 B
Diff
diff --git device/bluetooth/BUILD.gn device/bluetooth/BUILD.gn
|
|
index 4885f927ae2b8..5e7d3e61391bf 100644
|
|
--- device/bluetooth/BUILD.gn
|
|
+++ device/bluetooth/BUILD.gn
|
|
@@ -46,10 +46,12 @@ source_set("deprecated_experimental_mojo") {
|
|
]
|
|
|
|
if (is_chromeos || is_linux) {
|
|
- sources += [
|
|
- "bluez/metrics_recorder.cc",
|
|
- "bluez/metrics_recorder.h",
|
|
- ]
|
|
+ if (is_component_build) {
|
|
+ sources += [
|
|
+ "bluez/metrics_recorder.cc",
|
|
+ "bluez/metrics_recorder.h",
|
|
+ ]
|
|
+ }
|
|
}
|
|
|
|
deps = [
|