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 source_set("cpp") { | 5 import("../../../mojo_sdk_root.gni") |
| 6 import("$mojo_sdk_root/mojo/public/mojo_sdk.gni") |
| 7 |
| 8 mojo_sdk_source_set("cpp") { |
| 9 restrict_external_deps = false |
| 10 public_configs = [ "../../../public/build/config:mojo_services" ] |
6 sources = [ | 11 sources = [ |
7 "lib/view.cc", | 12 "lib/view.cc", |
8 "lib/view_manager_client_factory.cc", | 13 "lib/view_manager_client_factory.cc", |
9 "lib/view_manager_client_impl.cc", | 14 "lib/view_manager_client_impl.cc", |
10 "lib/view_manager_client_impl.h", | 15 "lib/view_manager_client_impl.h", |
11 "lib/view_manager_context.cc", | 16 "lib/view_manager_context.cc", |
12 "lib/view_observer.cc", | 17 "lib/view_observer.cc", |
13 "lib/view_private.cc", | 18 "lib/view_private.cc", |
14 "lib/view_private.h", | 19 "lib/view_private.h", |
15 "view.h", | 20 "view.h", |
16 "view_manager.h", | 21 "view_manager.h", |
17 "view_manager_client_factory.h", | 22 "view_manager_client_factory.h", |
18 "view_manager_context.h", | 23 "view_manager_context.h", |
19 "view_manager_delegate.h", | 24 "view_manager_delegate.h", |
20 "view_observer.h", | 25 "view_observer.h", |
21 "view_property.h", | 26 "view_property.h", |
22 "view_tracker.cc", | 27 "view_tracker.cc", |
23 "view_tracker.h", | 28 "view_tracker.h", |
24 ] | 29 ] |
25 | 30 |
26 public_deps = [ | 31 public_deps = [ |
27 ":common", | 32 ":common", |
28 ] | 33 ] |
| 34 |
29 deps = [ | 35 deps = [ |
| 36 "../interfaces", |
| 37 "../../../geometry/public/interfaces", |
| 38 "../../../input_events/public/interfaces", |
| 39 "../../../surfaces/public/interfaces:surface_id", |
| 40 "../../../window_manager/public/interfaces", |
30 "//base", | 41 "//base", |
31 "//mojo/public/c/gles2:headers", | 42 ] |
32 "//mojo/public/cpp/application", | 43 |
33 "//mojo/public/cpp/bindings:bindings", | 44 mojo_sdk_deps = [ |
34 "//mojo/public/interfaces/application", | 45 "mojo/public/c/gles2:headers", |
35 "//mojo/services/geometry/public/interfaces", | 46 "mojo/public/cpp/application", |
36 "//mojo/services/input_events/public/interfaces", | 47 "mojo/public/cpp/bindings:bindings", |
37 "//mojo/services/surfaces/public/interfaces:surface_id", | 48 "mojo/public/interfaces/application", |
38 "//mojo/services/view_manager/public/interfaces", | |
39 "//mojo/services/window_manager/public/interfaces", | |
40 ] | 49 ] |
41 } | 50 } |
42 | 51 |
43 source_set("common") { | 52 source_set("common") { |
44 sources = [ | 53 sources = [ |
45 "types.h", | 54 "types.h", |
46 ] | 55 ] |
47 } | 56 } |
OLD | NEW |