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