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