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

Unified Diff: services/keyboard_native/BUILD.gn

Issue 1149293002: Add the ability for keys to be drawn as an image. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Fix .gitignore and other issues Created 5 years, 7 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: services/keyboard_native/BUILD.gn
diff --git a/services/keyboard_native/BUILD.gn b/services/keyboard_native/BUILD.gn
index fda1cba6f1d75938b123a44495710c16ec9bea6e..27b48e0ce966e38bb4abc487b0dae52fd5de7fe7 100644
--- a/services/keyboard_native/BUILD.gn
+++ b/services/keyboard_native/BUILD.gn
@@ -3,6 +3,31 @@
# found in the LICENSE file.
import("//mojo/public/mojo_application.gni")
+import("//mojo/tools/embed/rules.gni")
+
+embed_file("action_icon") {
viettrungluu 2015/06/02 22:29:35 nit: Feel free to put these targets after the othe
APW 2015/06/02 23:16:54 Done.
+ source = "res/Emoticon.png"
+ namespace = "keyboard_native"
+ variable = "kActionIcon"
+}
+
+embed_file("delete_icon") {
+ source = "res/Delete.png"
+ namespace = "keyboard_native"
+ variable = "kDeleteIcon"
+}
+
+embed_file("lower_case_icon") {
+ source = "res/ArrowDown.png"
+ namespace = "keyboard_native"
+ variable = "kLowerCaseIcon"
+}
+
+embed_file("upper_case_icon") {
+ source = "res/ArrowUp.png"
+ namespace = "keyboard_native"
+ variable = "kUpperCaseIcon"
+}
mojo_native_application("keyboard_native") {
sources = [
@@ -37,6 +62,11 @@ mojo_native_application("keyboard_native") {
"//mojo/services/view_manager/public/cpp",
"//mojo/skia",
"//skia",
+ "//ui/gfx",
"//ui/gfx/geometry",
+ ":action_icon",
viettrungluu 2015/06/02 22:29:35 nit: Usually, the ":foo" dependencies are listed f
APW 2015/06/02 23:16:54 Done.
+ ":delete_icon",
+ ":lower_case_icon",
+ ":upper_case_icon",
]
}

Powered by Google App Engine
This is Rietveld 408576698