cef/patch/patches/linux_bluetooth_1319006.patch

22 lines
528 B
Diff
Raw Normal View History

diff --git device/bluetooth/BUILD.gn device/bluetooth/BUILD.gn
index 6a662873b042a..5d0eb2347513e 100644
--- device/bluetooth/BUILD.gn
+++ device/bluetooth/BUILD.gn
@@ -47,10 +47,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 = [