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

Side by Side Diff: ui/keyboard/BUILD.gn

Issue 369603004: Work on GN build, mostly in //ui (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: android Created 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ui/base/BUILD.gn ('k') | ui/keyboard/keyboard.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 import("//tools/grit/grit_rule.gni")
6
7 component("keyboard") {
8 sources = [
9 "keyboard.cc",
10 "keyboard.h",
11 "keyboard_constants.cc",
12 "keyboard_constants.h",
13 "keyboard_controller.cc",
14 "keyboard_controller.h",
15 "keyboard_controller_observer.h",
16 "keyboard_controller_proxy.cc",
17 "keyboard_controller_proxy.h",
18 "keyboard_layout_manager.h",
19 "keyboard_layout_manager.cc",
20 "keyboard_export.h",
21 "keyboard_switches.cc",
22 "keyboard_switches.h",
23 "keyboard_util.cc",
24 "keyboard_util.h",
25 ]
26
27 defines = [ "KEYBOARD_IMPLEMENTATION" ]
28
29 deps = [
30 ":resources",
31 "//base",
32 "//base/third_party/dynamic_annotations",
33 "//content/public/browser",
34 "//ipc",
35 "//skia",
36 "//url",
37 "//ui/aura",
38 "//ui/base",
39 "//ui/compositor",
40 "//ui/events",
41 "//ui/gfx",
42 "//ui/gfx/geometry",
43 "//ui/wm",
44 ]
45 }
46
47 grit("resources_grit") {
48 source = "keyboard_resources.grd"
49 }
50
51 copy("resources") {
52 sources = [ "$target_gen_dir/keyboard_resources.pak" ]
53 outputs = [ "$root_out_dir/keyboard_resources.pak" ]
54 deps = [ ":resources_grit" ]
55 forward_dependent_configs_from = deps
56 }
57
58 # TODO(GYP) enable this when all dependencies are resolved. Some transitive
59 # deps aren't done yet.
60 if (false) {
61
62 test("keyboard_unittests") {
63 sources = [
64 "test/run_all_unittests.cc",
65 "keyboard_controller_unittest.cc",
66 ]
67
68 deps = [
69 ":keyboard",
70 "//base",
71 "//base/allocator",
72 "//base/test:test_support",
73 "//content",
74 "//skia",
75 "//testing/gtest",
76 "//ui/aura",
77 "//ui/aura:test_support",
78 "//ui/base",
79 "//ui/compositor",
80 "//ui/compositor:test_support",
81 "//ui/gfx",
82 "//ui/gfx/geometry",
83 "//ui/resources:ui_test_pak",
84 "//ui/wm",
85 "//url",
86 ]
87 }
88
89 }
OLDNEW
« no previous file with comments | « ui/base/BUILD.gn ('k') | ui/keyboard/keyboard.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698