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("//third_party/mojo/src/mojo/public/mojo_sdk.gni") | 5 import("//third_party/mojo/src/mojo/public/mojo_sdk.gni") |
6 | 6 |
7 mojo_sdk_source_set("cpp") { | 7 mojo_sdk_source_set("cpp") { |
8 restrict_external_deps = false | 8 restrict_external_deps = false |
9 sources = [ | 9 sources = [ |
10 "args.h", | 10 "args.h", |
11 "lib/args.cc", | 11 "lib/args.cc", |
12 "lib/scoped_view_ptr.cc", | 12 "lib/scoped_view_ptr.cc", |
13 "lib/view.cc", | 13 "lib/view.cc", |
14 "lib/view_observer.cc", | 14 "lib/view_observer.cc", |
15 "lib/view_private.cc", | 15 "lib/view_private.cc", |
16 "lib/view_private.h", | 16 "lib/view_private.h", |
| 17 "lib/view_surface.cc", |
17 "lib/view_tree_client_impl.cc", | 18 "lib/view_tree_client_impl.cc", |
18 "lib/view_tree_client_impl.h", | 19 "lib/view_tree_client_impl.h", |
19 "lib/view_tree_delegate.cc", | 20 "lib/view_tree_delegate.cc", |
20 "lib/view_tree_host_connection.cc", | 21 "lib/view_tree_host_connection.cc", |
21 "scoped_view_ptr.h", | 22 "scoped_view_ptr.h", |
22 "view.h", | 23 "view.h", |
23 "view_observer.h", | 24 "view_observer.h", |
24 "view_property.h", | 25 "view_property.h", |
| 26 "view_surface.h", |
| 27 "view_surface_client.h", |
25 "view_tracker.cc", | 28 "view_tracker.cc", |
26 "view_tracker.h", | 29 "view_tracker.h", |
27 "view_tree_connection.h", | 30 "view_tree_connection.h", |
28 "view_tree_delegate.h", | 31 "view_tree_delegate.h", |
29 "view_tree_host_connection.h", | 32 "view_tree_host_connection.h", |
30 ] | 33 ] |
31 | 34 |
32 public_deps = [ | 35 public_deps = [ |
33 ":common", | 36 ":common", |
34 "../interfaces", | 37 "../interfaces", |
35 "//mojo/services/network/public/interfaces", | 38 "//mojo/services/network/public/interfaces", |
36 ] | 39 ] |
37 | 40 |
38 deps = [ | 41 deps = [ |
39 "//mojo/application/public/cpp", | 42 "//mojo/application/public/cpp", |
40 "//mojo/application/public/interfaces", | 43 "//mojo/application/public/interfaces", |
| 44 "//mojo/converters/surfaces", |
41 "//ui/mojo/events:interfaces", | 45 "//ui/mojo/events:interfaces", |
42 "//ui/mojo/geometry:interfaces", | 46 "//ui/mojo/geometry:interfaces", |
43 "//base", | 47 "//base", |
44 ] | 48 ] |
45 | 49 |
46 mojo_sdk_deps = [ | 50 mojo_sdk_deps = [ |
47 "mojo/public/c/gles2:headers", | 51 "mojo/public/c/gles2:headers", |
48 "mojo/public/cpp/bindings:bindings", | 52 "mojo/public/cpp/bindings:bindings", |
49 "mojo/public/cpp/system", | 53 "mojo/public/cpp/system", |
50 ] | 54 ] |
51 } | 55 } |
52 | 56 |
53 source_set("common") { | 57 source_set("common") { |
54 sources = [ | 58 sources = [ |
55 "keys.cc", | 59 "keys.cc", |
56 "keys.h", | 60 "keys.h", |
57 "types.h", | 61 "types.h", |
58 "util.h", | 62 "util.h", |
59 ] | 63 ] |
60 } | 64 } |
OLD | NEW |