Index: ui/base/BUILD.gn |
diff --git a/ui/base/BUILD.gn b/ui/base/BUILD.gn |
index e06860438968e9cffee3deb347f9fa6d20e4fca3..8020cf9242abd9e87242ee9143cac8dcd4d2bdf1 100644 |
--- a/ui/base/BUILD.gn |
+++ b/ui/base/BUILD.gn |
@@ -251,6 +251,7 @@ component("base") { |
"theme_provider.cc", |
"theme_provider.h", |
"touch/touch_device.h", |
+ "touch/touch_device_util.cc", |
"touch/touch_editing_controller.cc", |
"touch/touch_editing_controller.h", |
"ui_base_export.h", |
@@ -357,6 +358,7 @@ component("base") { |
sources += [ "touch/touch_device_win.cc" ] |
} else if (is_android) { |
sources += [ "touch/touch_device_android.cc" ] |
+ sources -= [ "touch/touch_device_util.cc" ] |
} else if (is_ios) { |
sources += [ "touch/touch_device_ios.cc" ] |
} else if (is_linux) { |
@@ -364,6 +366,7 @@ component("base") { |
} else { |
# Empty implementation for all other cases. |
sources += [ "touch/touch_device.cc" ] |
+ sources -= [ "touch/touch_device_util.cc" ] |
} |
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |