Index: ui/display/manager/chromeos/DEPS |
diff --git a/ui/display/manager/chromeos/DEPS b/ui/display/manager/chromeos/DEPS |
index 5c9fff4774db7fec3fa7340f3859bdd78b6be3f4..5943a4fe475b15187864ba014de00db34f0bdb86 100644 |
--- a/ui/display/manager/chromeos/DEPS |
+++ b/ui/display/manager/chromeos/DEPS |
@@ -1,5 +1,19 @@ |
+include_rules = [ |
+ # DeviceDataManager is not created in all environments (such as ash when |
+ # running in mus/mash). |
+ "-ui/events/devices/device_data_manager.h", |
+] |
+ |
specific_include_rules = { |
+ "default_touch_transform_setter.cc": [ |
+ # DefaultTouchTransformSetter only runs in environments where |
+ # DeviceDataManager exists. |
+ "+ui/events/devices/device_data_manager.h", |
+ ], |
"touch_transform_controller.cc": [ |
"+third_party/skia", |
], |
+ "touch_transform_controller_unittest.cc": [ |
+ "+ui/events/devices/device_data_manager.h", |
+ ], |
} |