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/ui.gni") | 5 import("//build/config/ui.gni") |
6 | 6 |
7 assert(use_aura) | 7 assert(use_aura) |
8 | 8 |
9 # GYP version: mojo/mojo.gyp:mojo_views_support | 9 # GYP version: mojo/mojo.gyp:mojo_views_support |
10 source_set("views") { | 10 static_library("views") { |
11 sources = [ | 11 sources = [ |
12 "input_method_mojo_linux.cc", | 12 "input_method_mojo_linux.cc", |
13 "input_method_mojo_linux.h", | 13 "input_method_mojo_linux.h", |
14 "native_widget_view_manager.cc", | 14 "native_widget_view_manager.cc", |
15 "native_widget_view_manager.h", | 15 "native_widget_view_manager.h", |
16 "views_init.cc", | 16 "views_init.cc", |
17 "views_init.h", | 17 "views_init.h", |
18 ] | 18 ] |
19 | 19 |
20 public_deps = [ | 20 public_deps = [ |
21 "//mojo/aura", | 21 "//mojo/aura", |
22 "//mojo/services/public/cpp/view_manager", | 22 "//mojo/services/public/cpp/view_manager", |
23 "//skia", | 23 "//skia", |
24 "//ui/base", | 24 "//ui/base", |
25 "//ui/views", | 25 "//ui/views", |
26 ] | 26 ] |
27 | 27 |
28 deps = [ | 28 deps = [ |
29 ":views_internal", | |
30 "//base", | |
31 "//base:i18n", | |
32 "//third_party/icu", | |
33 "//ui/aura", | |
34 "//ui/wm", | |
35 ] | |
36 } | |
37 | |
38 # GYP version: mojo/mojo.gyp:mojo_views_support_internal | |
39 component("views_internal") { | |
40 output_name = "mojo_views_support_internal" | |
41 | |
42 visibility = [ ":views" ] | |
43 | |
44 sources = [ | |
45 "mojo_views_export.h", | |
46 "views_init_internal.cc", | |
47 "views_init_internal.h", | |
48 ] | |
49 | |
50 defines = [ "MOJO_VIEWS_IMPLEMENTATION" ] | |
51 | |
52 deps = [ | |
53 "//base", | 29 "//base", |
54 "//base:i18n", | 30 "//base:i18n", |
55 "//base/third_party/dynamic_annotations", | 31 "//base/third_party/dynamic_annotations", |
56 "//skia", | 32 "//skia", |
57 "//third_party/icu", | 33 "//third_party/icu", |
| 34 "//ui/aura", |
58 "//ui/base", | 35 "//ui/base", |
59 "//ui/gfx", | 36 "//ui/gfx", |
| 37 "//ui/wm", |
60 ] | 38 ] |
61 } | 39 } |
OLD | NEW |