Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(197)

Unified Diff: ash/autoclick/common/BUILD.gn

Issue 2193563002: ash: Refactor autoclick common code to ash/autoclick/common. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ash/autoclick/common/BUILD.gn
diff --git a/ash/touch_hud/BUILD.gn b/ash/autoclick/common/BUILD.gn
similarity index 56%
copy from ash/touch_hud/BUILD.gn
copy to ash/autoclick/common/BUILD.gn
index 8c509ef66d30a882fdec5ab41e3306da77e4b31e..4ca7f2b294dcee138eb2088fd8642ca90619c2c9 100644
--- a/ash/touch_hud/BUILD.gn
+++ b/ash/autoclick/common/BUILD.gn
@@ -4,22 +4,26 @@
import("//build/config/ui.gni")
-component("touch_hud") {
+component("autoclick") {
sadrul 2016/07/29 20:13:35 Go with source_set instead of component
riajiang 2016/08/04 16:51:20 Done.
sources = [
- "ash_touch_hud_export.h",
- "touch_hud_renderer.cc",
- "touch_hud_renderer.h",
+ "ash_autoclick_export.h",
sadrul 2016/07/29 20:13:35 You don't need the export if you have it a source_
riajiang 2016/08/04 16:51:20 Done.
+ "autoclick_controller_common.cc",
+ "autoclick_controller_common.h",
+ "autoclick_ring_handler.cc",
+ "autoclick_ring_handler.h",
]
- defines = [ "ASH_TOUCH_HUD_IMPLEMENTATION" ]
+ defines = [ "ASH_AUTOCLICK_IMPLEMENTATION" ]
sadrul 2016/07/29 20:13:35 You won't need this either
riajiang 2016/08/04 16:51:20 Done.
deps = [
"//base",
"//skia",
+ "//ui/aura",
"//ui/compositor",
"//ui/events",
"//ui/gfx",
"//ui/gfx/geometry",
"//ui/views",
+ "//ui/wm",
]
sadrul 2016/07/29 20:13:35 Add a DEPS file similar to the one in touch_hud to
riajiang 2016/08/04 16:51:20 Done.
}

Powered by Google App Engine
This is Rietveld 408576698