| Index: ui/events/BUILD.gn
 | 
| diff --git a/ui/events/BUILD.gn b/ui/events/BUILD.gn
 | 
| index ea4fa4ec2fa2db02732f723ac914e1269efac5f4..901a91ce11673668fa096c62cc201278ba3b1431 100644
 | 
| --- a/ui/events/BUILD.gn
 | 
| +++ b/ui/events/BUILD.gn
 | 
| @@ -60,7 +60,7 @@ component("events_base") {
 | 
|      "//ui/gfx/geometry",
 | 
|    ]
 | 
|  
 | 
| -  if (use_x11) {
 | 
| +  if (use_x11_backend) {
 | 
|      configs += [ "//build/config/linux:x11" ]
 | 
|  
 | 
|      sources += [
 | 
| @@ -118,7 +118,7 @@ component("events") {
 | 
|      "//ui/gfx/geometry",
 | 
|    ]
 | 
|  
 | 
| -  if (use_x11) {
 | 
| +  if (use_x11_backend) {
 | 
|      sources += [ "x/events_x.cc" ]
 | 
|      configs += [
 | 
|        "//build/config/linux:glib",
 | 
| @@ -155,7 +155,7 @@ component("events") {
 | 
|      ]
 | 
|    }
 | 
|  
 | 
| -  if (is_win || is_mac || use_x11 || use_ozone) {
 | 
| +  if (is_win || is_mac || use_x11_backend || use_ozone) {
 | 
|      sources -= [ "events_stub.cc" ]
 | 
|    }
 | 
|  }
 | 
| @@ -260,7 +260,7 @@ source_set("test_support") {
 | 
|      ]
 | 
|    }
 | 
|  
 | 
| -  if (use_x11) {
 | 
| +  if (use_x11_backend) {
 | 
|      sources += [
 | 
|        "test/events_test_utils_x11.cc",
 | 
|        "test/events_test_utils_x11.h",
 | 
| @@ -313,7 +313,7 @@ test("events_unittests") {
 | 
|  
 | 
|    include_dirs = [ "//testing/gmock/include" ]
 | 
|  
 | 
| -  if (use_x11) {
 | 
| +  if (use_x11_backend) {
 | 
|      configs += [ "//build/config/linux:x11" ]
 | 
|      deps += [ "//ui/gfx/x" ]
 | 
|    } else {
 | 
| 
 |