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

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

Issue 1392713002: Extract content dependency from keyboard code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 2 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 | « chrome/common/extensions/chrome_manifest_url_handlers.cc ('k') | ui/keyboard/content/DEPS » ('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("//testing/test.gni") 5 import("//testing/test.gni")
6 import("//third_party/google_input_tools/closure.gni") 6 import("//third_party/google_input_tools/closure.gni")
7 import("//third_party/google_input_tools/inputview.gni") 7 import("//third_party/google_input_tools/inputview.gni")
8 import("//tools/grit/grit_rule.gni") 8 import("//tools/grit/grit_rule.gni")
9 9
10 component("keyboard") { 10 component("keyboard") {
11 sources = [ 11 sources = [
12 "keyboard.cc",
13 "keyboard.h",
14 "keyboard_constants.cc",
15 "keyboard_constants.h",
16 "keyboard_controller.cc", 12 "keyboard_controller.cc",
17 "keyboard_controller.h", 13 "keyboard_controller.h",
18 "keyboard_controller_observer.h", 14 "keyboard_controller_observer.h",
19 "keyboard_controller_proxy.cc",
20 "keyboard_controller_proxy.h",
21 "keyboard_export.h", 15 "keyboard_export.h",
22 "keyboard_layout_manager.cc", 16 "keyboard_layout_manager.cc",
23 "keyboard_layout_manager.h", 17 "keyboard_layout_manager.h",
24 "keyboard_switches.cc", 18 "keyboard_switches.cc",
25 "keyboard_switches.h", 19 "keyboard_switches.h",
20 "keyboard_ui.cc",
21 "keyboard_ui.h",
26 "keyboard_util.cc", 22 "keyboard_util.cc",
27 "keyboard_util.h", 23 "keyboard_util.h",
28 ] 24 ]
29 25
30 defines = [ "KEYBOARD_IMPLEMENTATION" ] 26 defines = [ "KEYBOARD_IMPLEMENTATION" ]
31 27
32 deps = [ 28 deps = [
29 "//base",
30 "//base/third_party/dynamic_annotations",
31 "//media",
32 "//skia",
33 "//ui/aura",
34 "//ui/base",
35 "//ui/base/ime",
36 "//ui/compositor",
37 "//ui/events",
38 "//ui/events:dom_keycode_converter",
39 "//ui/events:events_base",
40 "//ui/gfx",
41 "//ui/gfx/geometry",
42 ]
43
44 if (use_ozone) {
45 deps += [ "//ui/ozone" ]
46 }
47 }
48
49 component("keyboard_with_content") {
50 sources = [
51 "content/keyboard.cc",
52 "content/keyboard.h",
53 "content/keyboard_constants.cc",
54 "content/keyboard_constants.h",
55 "content/keyboard_content_util.cc",
56 "content/keyboard_content_util.h",
57 "content/keyboard_ui_content.cc",
58 "content/keyboard_ui_content.h",
59 ]
60
61 defines = [ "KEYBOARD_IMPLEMENTATION" ]
62
63 deps = [
64 ":keyboard",
33 ":resources", 65 ":resources",
34 "//base", 66 "//base",
35 "//base/third_party/dynamic_annotations", 67 "//base/third_party/dynamic_annotations",
36 "//content/public/browser", 68 "//content/public/browser",
37 "//content/public/common", 69 "//content/public/common",
38 "//ipc", 70 "//ipc",
39 "//media",
40 "//skia", 71 "//skia",
41 "//ui/aura", 72 "//ui/aura",
42 "//ui/base", 73 "//ui/base",
43 "//ui/base/ime", 74 "//ui/base/ime",
44 "//ui/compositor", 75 "//ui/compositor",
45 "//ui/events", 76 "//ui/events",
46 "//ui/events:dom_keycode_converter", 77 "//ui/events:dom_keycode_converter",
47 "//ui/events:events_base", 78 "//ui/events:events_base",
48 "//ui/gfx", 79 "//ui/gfx",
49 "//ui/gfx/geometry", 80 "//ui/gfx/geometry",
50 "//ui/wm", 81 "//ui/wm",
51 "//url", 82 "//url",
52 ] 83 ]
53
54 if (use_ozone) {
55 deps += [ "//ui/ozone" ]
56 }
57 } 84 }
58 85
59 grit("resources_grit") { 86 grit("resources_grit") {
60 source = "keyboard_resources.grd" 87 source = "keyboard_resources.grd"
61 outputs = [ 88 outputs = [
62 "grit/keyboard_resources.h", 89 "grit/keyboard_resources.h",
63 "grit/keyboard_resources_map.h", 90 "grit/keyboard_resources_map.h",
64 "keyboard_resources.pak", 91 "keyboard_resources.pak",
65 ] 92 ]
66 93
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 "keyboard_controller_unittest.cc", 131 "keyboard_controller_unittest.cc",
105 "keyboard_util_unittest.cc", 132 "keyboard_util_unittest.cc",
106 "test/run_all_unittests.cc", 133 "test/run_all_unittests.cc",
107 ] 134 ]
108 135
109 deps = [ 136 deps = [
110 ":keyboard", 137 ":keyboard",
111 "//base", 138 "//base",
112 "//base/allocator", 139 "//base/allocator",
113 "//base/test:test_support", 140 "//base/test:test_support",
114 "//content",
115 "//media",
116 "//skia", 141 "//skia",
117 "//testing/gtest", 142 "//testing/gtest",
118 "//ui/aura:test_support", 143 "//ui/aura:test_support",
119 "//ui/base", 144 "//ui/base",
120 "//ui/base/ime", 145 "//ui/base/ime",
121 "//ui/base:test_support", 146 "//ui/base:test_support",
122 "//ui/compositor:test_support", 147 "//ui/compositor:test_support",
123 "//ui/events:test_support", 148 "//ui/events:test_support",
124 "//ui/gfx", 149 "//ui/gfx",
125 "//ui/gfx/geometry", 150 "//ui/gfx/geometry",
126 "//ui/gl", 151 "//ui/gl",
127 "//ui/resources:ui_test_pak",
128 "//ui/wm", 152 "//ui/wm",
129 "//url",
130 ] 153 ]
131 } 154 }
OLDNEW
« no previous file with comments | « chrome/common/extensions/chrome_manifest_url_handlers.cc ('k') | ui/keyboard/content/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698