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

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

Issue 493833002: GN: Enable ui/keyboard:keyboard_unittests, fix up webui targets (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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/gl/BUILD.gn ('k') | ui/keyboard/webui/BUILD.gn » ('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 2014 The Chromium Authors. All rights reserved. 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 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("//tools/grit/grit_rule.gni") 5 import("//tools/grit/grit_rule.gni")
6 6
7 component("keyboard") { 7 component("keyboard") {
8 sources = [ 8 sources = [
9 "keyboard.cc", 9 "keyboard.cc",
10 "keyboard.h", 10 "keyboard.h",
(...skipping 13 matching lines...) Expand all
24 "keyboard_util.h", 24 "keyboard_util.h",
25 ] 25 ]
26 26
27 defines = [ "KEYBOARD_IMPLEMENTATION" ] 27 defines = [ "KEYBOARD_IMPLEMENTATION" ]
28 28
29 deps = [ 29 deps = [
30 ":resources", 30 ":resources",
31 "//base", 31 "//base",
32 "//base/third_party/dynamic_annotations", 32 "//base/third_party/dynamic_annotations",
33 "//content/public/browser", 33 "//content/public/browser",
34 "//ipc",
35 "//skia",
36 "//url", 34 "//url",
37 "//ui/aura", 35 "//ui/aura",
38 "//ui/base", 36 "//ui/base",
39 "//ui/compositor", 37 "//ui/compositor",
40 "//ui/events", 38 "//ui/events",
41 "//ui/gfx", 39 "//ui/gfx",
42 "//ui/gfx/geometry", 40 "//ui/gfx/geometry",
41 "//ui/keyboard/webui",
43 "//ui/wm", 42 "//ui/wm",
44 ] 43 ]
45 } 44 }
46 45
47 grit("resources_grit") { 46 grit("resources_grit") {
48 source = "keyboard_resources.grd" 47 source = "keyboard_resources.grd"
49 outputs = [ 48 outputs = [
50 "grit/keyboard_resources.h", 49 "grit/keyboard_resources.h",
51 "grit/keyboard_resources_map.h", 50 "grit/keyboard_resources_map.h",
52 "keyboard_resources.pak", 51 "keyboard_resources.pak",
(...skipping 11 matching lines...) Expand all
64 ] 63 ]
65 } 64 }
66 65
67 copy("resources") { 66 copy("resources") {
68 sources = [ "$target_gen_dir/keyboard_resources.pak" ] 67 sources = [ "$target_gen_dir/keyboard_resources.pak" ]
69 outputs = [ "$root_out_dir/keyboard_resources.pak" ] 68 outputs = [ "$root_out_dir/keyboard_resources.pak" ]
70 deps = [ ":resources_grit" ] 69 deps = [ ":resources_grit" ]
71 forward_dependent_configs_from = deps 70 forward_dependent_configs_from = deps
72 } 71 }
73 72
74 # TODO(GYP) enable this when all dependencies are resolved. Some transitive
75 # deps aren't done yet.
76 if (false) {
77
78 test("keyboard_unittests") { 73 test("keyboard_unittests") {
79 sources = [ 74 sources = [
80 "test/run_all_unittests.cc", 75 "test/run_all_unittests.cc",
81 "keyboard_controller_unittest.cc", 76 "keyboard_controller_unittest.cc",
82 ] 77 ]
83 78
84 deps = [ 79 deps = [
85 ":keyboard", 80 ":keyboard",
86 "//base", 81 "//base",
87 "//base/allocator", 82 "//base/allocator",
88 "//base/test:test_support", 83 "//base/test:test_support",
89 "//content", 84 "//content",
90 "//skia", 85 "//skia",
91 "//testing/gtest", 86 "//testing/gtest",
92 "//ui/aura", 87 "//ui/aura",
93 "//ui/aura:test_support", 88 "//ui/aura:test_support",
94 "//ui/base", 89 "//ui/base",
95 "//ui/compositor", 90 "//ui/compositor",
96 "//ui/compositor:test_support", 91 "//ui/compositor:test_support",
97 "//ui/gfx", 92 "//ui/gfx",
98 "//ui/gfx/geometry", 93 "//ui/gfx/geometry",
99 "//ui/resources:ui_test_pak", 94 "//ui/resources:ui_test_pak",
100 "//ui/wm", 95 "//ui/wm",
101 "//url", 96 "//url",
102 ] 97 ]
103 } 98 }
104
105 }
OLDNEW
« no previous file with comments | « ui/gl/BUILD.gn ('k') | ui/keyboard/webui/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698