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

Unified Diff: ash/touch_hud/BUILD.gn

Issue 2118223004: ash: Refactor touch hud drawing to ash/touch_hud as a separate component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Pass parent_widget in ctor; dependency 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/touch_hud/BUILD.gn
diff --git a/components/favicon/ios/BUILD.gn b/ash/touch_hud/BUILD.gn
similarity index 50%
copy from components/favicon/ios/BUILD.gn
copy to ash/touch_hud/BUILD.gn
index 5a8a704c6876d093694d0c22f5d00c4cf9f12815..fdf9f0cc1708ebf3ac8e127086712173a38f009c 100644
--- a/components/favicon/ios/BUILD.gn
+++ b/ash/touch_hud/BUILD.gn
@@ -2,18 +2,23 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-source_set("ios") {
+import("//build/config/ui.gni")
+
+source_set("touch_hud") {
sources = [
- "favicon_url_util.cc",
- "favicon_url_util.h",
- "web_favicon_driver.h",
- "web_favicon_driver.mm",
+ "touch_hud_renderer.cc",
+ "touch_hud_renderer.h",
]
+
deps = [
"//base",
- "//components/favicon/core",
- "//components/favicon_base",
- "//ios/web",
+ "//skia",
+ "//ui/events",
"//ui/gfx",
+ "//ui/views",
]
+
+ if (is_chromeos) {
+ deps += [ "//chromeos" ]
James Cook 2016/07/12 17:22:07 Is this needed? I don't see any #includes of code
riajiang 2016/07/12 20:08:26 It's not... Deleted.
+ }
}

Powered by Google App Engine
This is Rietveld 408576698