| Index: services/ui/ws/BUILD.gn
|
| diff --git a/services/ui/ws/BUILD.gn b/services/ui/ws/BUILD.gn
|
| index 64564ef48fedc853d20a400adeacaa1165008e3a..d7b0319e26858e3a6fc8f4632599b81d0e6c2665 100644
|
| --- a/services/ui/ws/BUILD.gn
|
| +++ b/services/ui/ws/BUILD.gn
|
| @@ -130,14 +130,17 @@ source_set("lib") {
|
| ]
|
|
|
| if (use_ozone) {
|
| - sources -= [
|
| - "platform_screen_impl.cc",
|
| - "platform_screen_impl.h",
|
| - ]
|
| - sources += [
|
| - "platform_screen_impl_ozone.cc",
|
| - "platform_screen_impl_ozone.h",
|
| - ]
|
| + if (is_chromeos) {
|
| + sources -= [
|
| + "platform_screen_impl.cc",
|
| + "platform_screen_impl.h",
|
| + ]
|
| + sources += [
|
| + "platform_screen_impl_ozone.cc",
|
| + "platform_screen_impl_ozone.h",
|
| + ]
|
| + }
|
| +
|
| public_deps += [ "//ui/ozone:ozone" ]
|
| }
|
| }
|
|
|