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

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: Addressed nits 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
« no previous file with comments | « DEPS ('k') | services/keyboard_native/key_layout.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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")
6 7
7 mojo_native_application("keyboard_native") { 8 mojo_native_application("keyboard_native") {
8 sources = [ 9 sources = [
9 "animation.h", 10 "animation.h",
10 "clip_animation.cc", 11 "clip_animation.cc",
11 "clip_animation.h", 12 "clip_animation.h",
12 "fast_out_slow_in_interpolator.cc", 13 "fast_out_slow_in_interpolator.cc",
13 "fast_out_slow_in_interpolator.h", 14 "fast_out_slow_in_interpolator.h",
14 "key_layout.cc", 15 "key_layout.cc",
15 "key_layout.h", 16 "key_layout.h",
16 "keyboard_service_impl.cc", 17 "keyboard_service_impl.cc",
17 "keyboard_service_impl.h", 18 "keyboard_service_impl.h",
18 "main.cc", 19 "main.cc",
19 "material_splash_animation.cc", 20 "material_splash_animation.cc",
20 "material_splash_animation.h", 21 "material_splash_animation.h",
21 "motion_decay_animation.cc", 22 "motion_decay_animation.cc",
22 "motion_decay_animation.h", 23 "motion_decay_animation.h",
23 "time_interpolator.h", 24 "time_interpolator.h",
24 "view_observer_delegate.cc", 25 "view_observer_delegate.cc",
25 "view_observer_delegate.h", 26 "view_observer_delegate.h",
26 ] 27 ]
27 28
28 deps = [ 29 deps = [
30 ":action_icon",
31 ":delete_icon",
32 ":lower_case_icon",
33 ":upper_case_icon",
29 "//base", 34 "//base",
30 "//mojo/application", 35 "//mojo/application",
31 "//mojo/public/cpp/bindings", 36 "//mojo/public/cpp/bindings",
32 "//mojo/gpu", 37 "//mojo/gpu",
33 "//mojo/public/c/gles2", 38 "//mojo/public/c/gles2",
34 "//mojo/public/cpp/bindings:callback", 39 "//mojo/public/cpp/bindings:callback",
35 "//mojo/public/cpp/utility", 40 "//mojo/public/cpp/utility",
36 "//mojo/public/interfaces/application", 41 "//mojo/public/interfaces/application",
37 "//mojo/services/geometry/public/cpp", 42 "//mojo/services/geometry/public/cpp",
38 "//mojo/services/geometry/public/interfaces", 43 "//mojo/services/geometry/public/interfaces",
39 "//mojo/services/keyboard/public/interfaces", 44 "//mojo/services/keyboard/public/interfaces",
40 "//mojo/services/surfaces/public/cpp", 45 "//mojo/services/surfaces/public/cpp",
41 "//mojo/services/surfaces/public/interfaces", 46 "//mojo/services/surfaces/public/interfaces",
42 "//mojo/services/surfaces/public/interfaces:surface_id", 47 "//mojo/services/surfaces/public/interfaces:surface_id",
43 "//mojo/services/view_manager/public/cpp", 48 "//mojo/services/view_manager/public/cpp",
44 "//mojo/skia", 49 "//mojo/skia",
45 "//skia", 50 "//skia",
51 "//ui/gfx",
46 "//ui/gfx/geometry", 52 "//ui/gfx/geometry",
47 ] 53 ]
48 } 54 }
55
56 embed_file("action_icon") {
57 source = "res/Emoticon.png"
58 namespace = "keyboard_native"
59 variable = "kActionIcon"
60 }
61
62 embed_file("delete_icon") {
63 source = "res/Delete.png"
64 namespace = "keyboard_native"
65 variable = "kDeleteIcon"
66 }
67
68 embed_file("lower_case_icon") {
69 source = "res/ArrowDown.png"
70 namespace = "keyboard_native"
71 variable = "kLowerCaseIcon"
72 }
73
74 embed_file("upper_case_icon") {
75 source = "res/ArrowUp.png"
76 namespace = "keyboard_native"
77 variable = "kUpperCaseIcon"
78 }
OLDNEW
« no previous file with comments | « DEPS ('k') | services/keyboard_native/key_layout.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698