mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
linux: Fix component build errors (fixes issue #3424)
This commit is contained in:
committed by
Marshall Greenblatt
parent
b1a530c76a
commit
aae420aa8b
@ -1,18 +1,21 @@
|
||||
diff --git device/bluetooth/BUILD.gn device/bluetooth/BUILD.gn
|
||||
index 0b526044dcc7c..91fbfcd112548 100644
|
||||
index 0b526044dcc7c..349ffa6a6ceca 100644
|
||||
--- device/bluetooth/BUILD.gn
|
||||
+++ device/bluetooth/BUILD.gn
|
||||
@@ -45,13 +45,6 @@ source_set("deprecated_experimental_mojo") {
|
||||
"socket.h",
|
||||
@@ -46,10 +46,12 @@ source_set("deprecated_experimental_mojo") {
|
||||
]
|
||||
|
||||
- if (is_chromeos || is_linux) {
|
||||
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 = [
|
||||
":bluetooth",
|
||||
"//device/bluetooth/public/mojom:deprecated_experimental_interfaces",
|
||||
|
Reference in New Issue
Block a user