Chromium Code Reviews| Index: ui/events/BUILD.gn |
| diff --git a/ui/events/BUILD.gn b/ui/events/BUILD.gn |
| index 4dff2ee06adfb2690f75f51abf70de3a32a636b5..638b2b0c89787c8d92812be51aad06342a8ed9f3 100644 |
| --- a/ui/events/BUILD.gn |
| +++ b/ui/events/BUILD.gn |
| @@ -167,9 +167,12 @@ component("events") { |
| "gestures/motion_event_aura.cc", |
| "gestures/motion_event_aura.h", |
| ] |
| + if (is_android) { |
| + sources += [ "ozone/events_ozone.cc" ] |
|
sadrul
2015/10/15 19:54:21
Hm. This is unfortunate.
mfomitchev
2015/10/15 20:06:29
Are you just unhappy about name/location? We could
no sievers
2015/10/15 22:11:54
Yes that'd be nicer. Having it named '_ozone' I wo
mfomitchev
2015/10/22 15:01:17
Done.
|
| + } |
| } |
| - if (is_win || is_mac || use_x11 || use_ozone) { |
| + if (is_win || is_mac || use_x11 || use_ozone || (is_android && use_aura)) { |
| sources -= [ "events_stub.cc" ] |
| } |
| } |
| @@ -357,7 +360,9 @@ test("events_unittests") { |
| ] |
| } |
| - data_deps = [ "//third_party/mesa:osmesa" ] |
| + data_deps = [ |
| + "//third_party/mesa:osmesa", |
| + ] |
| include_dirs = [ "//testing/gmock/include" ] |