Chromium Code Reviews| Index: base/BUILD.gn |
| diff --git a/base/BUILD.gn b/base/BUILD.gn |
| index cc9500d818c04a06c0b248bdb414eda5f3d33d8d..1eddbf7efac14da08e9612ff283452eaf671a42f 100644 |
| --- a/base/BUILD.gn |
| +++ b/base/BUILD.gn |
| @@ -788,13 +788,6 @@ component("base") { |
| linux_configs += [ |
| "//build/config/linux:x11", |
| ] |
| - } else { |
| - # On non-Linux platforms, the X11 files will already have been filtered |
| - # out using the sources assignment filter. |
| - sources -= [ |
| - "message_loop/message_pump_x11.cc", |
| - "message_loop/message_pump_x11.h", |
| - ] |
| } |
| configs += linux_configs |
| @@ -819,6 +812,13 @@ component("base") { |
| ] |
| } |
| + if (!use_x11) { |
|
scottmg
2014/04/11 21:43:26
why is this better?
brettw
2014/04/11 23:05:00
Before this was only done on Linux when we weren't
scottmg
2014/04/11 23:12:31
Oops, sorry, can't read.
|
| + sources -= [ |
| + "message_loop/message_pump_x11.cc", |
| + "message_loop/message_pump_x11.h", |
| + ] |
| + } |
| + |
| if (!use_glib) { |
| sources -= [ |
| "message_loop/message_pump_glib.cc", |