| Index: ui/events/BUILD.gn
|
| diff --git a/ui/events/BUILD.gn b/ui/events/BUILD.gn
|
| index 4dff2ee06adfb2690f75f51abf70de3a32a636b5..d72fe53474f3027d14e157c4774d33e9b6382356 100644
|
| --- a/ui/events/BUILD.gn
|
| +++ b/ui/events/BUILD.gn
|
| @@ -152,8 +152,15 @@ component("events") {
|
| ]
|
| }
|
|
|
| + if (use_ozone || (is_android && use_aura)) {
|
| + sources += [ "events_default.cc" ]
|
| + }
|
| +
|
| if (use_ozone) {
|
| - sources += [ "ozone/events_ozone.cc" ]
|
| + sources += [
|
| + "ozone/events_ozone.cc",
|
| + "ozone/events_ozone.h",
|
| + ]
|
| deps += [ "//ui/events/ozone:events_ozone_layout" ]
|
| }
|
|
|
| @@ -169,7 +176,7 @@ component("events") {
|
| ]
|
| }
|
|
|
| - 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 +364,9 @@ test("events_unittests") {
|
| ]
|
| }
|
|
|
| - data_deps = [ "//third_party/mesa:osmesa" ]
|
| + data_deps = [
|
| + "//third_party/mesa:osmesa",
|
| + ]
|
|
|
| include_dirs = [ "//testing/gmock/include" ]
|
|
|
|
|