OLD | NEW |
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("//build/config/features.gni") | 5 import("//build/config/features.gni") |
6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
7 import("//testing/test.gni") | 7 import("//testing/test.gni") |
8 | 8 |
9 gypi_values = exec_script("//build/gypi_to_gn.py", | 9 gypi_values = exec_script("//build/gypi_to_gn.py", |
10 [ rebase_path("views.gyp") ], | 10 [ rebase_path("views.gyp") ], |
11 "scope", | 11 "scope", |
12 [ "views.gyp" ]) | 12 [ "views.gyp" ]) |
13 | 13 |
14 component("views") { | 14 component("views") { |
15 sources = gypi_values.views_sources | 15 sources = gypi_values.views_sources |
16 | 16 |
17 defines = [ "VIEWS_IMPLEMENTATION" ] | 17 defines = [ "VIEWS_IMPLEMENTATION" ] |
18 | 18 |
19 deps = [ | 19 deps = [ |
20 "//base:i18n", | 20 "//base:i18n", |
21 "//base/third_party/dynamic_annotations", | 21 "//base/third_party/dynamic_annotations", |
22 "//skia", | 22 "//skia", |
23 "//third_party/icu", | 23 "//third_party/icu", |
24 "//ui/accessibility", | 24 "//ui/accessibility", |
25 "//ui/aura", | 25 "//ui/aura", |
26 "//ui/native_theme", | 26 "//ui/native_theme", |
27 "//ui/resources", | 27 "//ui/resources", |
28 "//ui/strings", | 28 "//ui/strings", |
| 29 "//ui/touch_selection", |
29 "//ui/wm", | 30 "//ui/wm", |
30 "//url", | 31 "//url", |
31 ] | 32 ] |
32 | 33 |
33 public_deps = [ | 34 public_deps = [ |
34 "//base", | 35 "//base", |
35 "//ui/accessibility:ax_gen", | 36 "//ui/accessibility:ax_gen", |
36 "//ui/base", | 37 "//ui/base", |
37 "//ui/compositor", | 38 "//ui/compositor", |
38 "//ui/events", | 39 "//ui/events", |
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
176 "//ui/base:test_support", | 177 "//ui/base:test_support", |
177 "//ui/compositor:test_support", | 178 "//ui/compositor:test_support", |
178 "//ui/events:test_support", | 179 "//ui/events:test_support", |
179 "//ui/events:events_base", | 180 "//ui/events:events_base", |
180 "//ui/events/platform", | 181 "//ui/events/platform", |
181 "//ui/gfx", | 182 "//ui/gfx", |
182 "//ui/gfx/geometry", | 183 "//ui/gfx/geometry", |
183 "//ui/gl", | 184 "//ui/gl", |
184 "//ui/resources", | 185 "//ui/resources", |
185 "//ui/strings", | 186 "//ui/strings", |
| 187 "//ui/touch_selection", |
186 "//ui/wm", | 188 "//ui/wm", |
187 "//url", | 189 "//url", |
188 ] | 190 ] |
189 | 191 |
190 if (is_chromeos) { | 192 if (is_chromeos) { |
191 sources -= [ "ime/input_method_bridge_unittest.cc" ] | 193 sources -= [ "ime/input_method_bridge_unittest.cc" ] |
192 } | 194 } |
193 | 195 |
194 if (is_win) { | 196 if (is_win) { |
195 deps += [ | 197 deps += [ |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
273 "//testing/gtest", | 275 "//testing/gtest", |
274 "//ui/aura", | 276 "//ui/aura", |
275 "//ui/compositor", | 277 "//ui/compositor", |
276 "//ui/resources", | 278 "//ui/resources", |
277 "//ui/resources:ui_test_pak", | 279 "//ui/resources:ui_test_pak", |
278 "//ui/strings", | 280 "//ui/strings", |
279 "//ui/wm", | 281 "//ui/wm", |
280 ] | 282 ] |
281 } | 283 } |
282 } | 284 } |
OLD | NEW |