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

Side by Side 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, 6 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 unified diff | Download patch
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//mojo/public/mojo_application.gni") 5 import("//mojo/public/mojo_application.gni")
6 import("//mojo/tools/embed/rules.gni")
7
8 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.
9 source = "res/Emoticon.png"
10 namespace = "keyboard_native"
11 variable = "kActionIcon"
12 }
13
14 embed_file("delete_icon") {
15 source = "res/Delete.png"
16 namespace = "keyboard_native"
17 variable = "kDeleteIcon"
18 }
19
20 embed_file("lower_case_icon") {
21 source = "res/ArrowDown.png"
22 namespace = "keyboard_native"
23 variable = "kLowerCaseIcon"
24 }
25
26 embed_file("upper_case_icon") {
27 source = "res/ArrowUp.png"
28 namespace = "keyboard_native"
29 variable = "kUpperCaseIcon"
30 }
6 31
7 mojo_native_application("keyboard_native") { 32 mojo_native_application("keyboard_native") {
8 sources = [ 33 sources = [
9 "key_layout.cc", 34 "key_layout.cc",
10 "key_layout.h", 35 "key_layout.h",
11 "keyboard_service_impl.cc", 36 "keyboard_service_impl.cc",
12 "keyboard_service_impl.h", 37 "keyboard_service_impl.h",
13 "main.cc", 38 "main.cc",
14 "material_splash_animation.cc", 39 "material_splash_animation.cc",
15 "material_splash_animation.h", 40 "material_splash_animation.h",
(...skipping 14 matching lines...) Expand all
30 "//mojo/public/interfaces/application", 55 "//mojo/public/interfaces/application",
31 "//mojo/services/geometry/public/cpp", 56 "//mojo/services/geometry/public/cpp",
32 "//mojo/services/geometry/public/interfaces", 57 "//mojo/services/geometry/public/interfaces",
33 "//mojo/services/keyboard/public/interfaces", 58 "//mojo/services/keyboard/public/interfaces",
34 "//mojo/services/surfaces/public/cpp", 59 "//mojo/services/surfaces/public/cpp",
35 "//mojo/services/surfaces/public/interfaces", 60 "//mojo/services/surfaces/public/interfaces",
36 "//mojo/services/surfaces/public/interfaces:surface_id", 61 "//mojo/services/surfaces/public/interfaces:surface_id",
37 "//mojo/services/view_manager/public/cpp", 62 "//mojo/services/view_manager/public/cpp",
38 "//mojo/skia", 63 "//mojo/skia",
39 "//skia", 64 "//skia",
65 "//ui/gfx",
40 "//ui/gfx/geometry", 66 "//ui/gfx/geometry",
67 ":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.
68 ":delete_icon",
69 ":lower_case_icon",
70 ":upper_case_icon",
41 ] 71 ]
42 } 72 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698