OLD | NEW |
| (Empty) |
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 # GYP version: mojo/mojo_base.gyp:mojo_application_base | |
6 source_set("cpp") { | |
7 public_deps = [ | |
8 ":init_commandline", | |
9 ":sources", | |
10 ] | |
11 } | |
12 | |
13 # Like the target above, but without special commandline initialization that | |
14 # apps use. | |
15 source_set("cpp_for_chromium") { | |
16 public_deps = [ | |
17 ":sources", | |
18 ] | |
19 } | |
20 | |
21 source_set("sources") { | |
22 sources = [ | |
23 "application_runner.h", | |
24 "capabilities.h", | |
25 "connect.h", | |
26 "connection.h", | |
27 "connector.h", | |
28 "identity.h", | |
29 "initialize_base_and_icu.cc", | |
30 "interface_binder.h", | |
31 "interface_factory.h", | |
32 "interface_factory_impl.h", | |
33 "interface_registry.h", | |
34 "lib/application_runner.cc", | |
35 "lib/capabilities.cc", | |
36 "lib/connection_impl.cc", | |
37 "lib/connection_impl.h", | |
38 "lib/connector_impl.cc", | |
39 "lib/connector_impl.h", | |
40 "lib/identity.cc", | |
41 "lib/interface_factory_binder.h", | |
42 "lib/interface_registry.cc", | |
43 "lib/message_loop_ref.cc", | |
44 "lib/names.cc", | |
45 "lib/shell_client.cc", | |
46 "lib/shell_connection.cc", | |
47 "message_loop_ref.h", | |
48 "names.h", | |
49 "shell.h", | |
50 "shell_client.h", | |
51 "shell_connection.h", | |
52 ] | |
53 | |
54 deps = [ | |
55 "//base", | |
56 "//base:i18n", | |
57 ] | |
58 | |
59 public_deps = [ | |
60 "//mojo/public/cpp/bindings", | |
61 "//mojo/public/cpp/system", | |
62 "//mojo/shell/public/interfaces", | |
63 "//url", | |
64 ] | |
65 } | |
66 | |
67 source_set("init_commandline") { | |
68 sources = [ | |
69 "lib/init_commandline.cc", | |
70 ] | |
71 } | |
72 | |
73 source_set("test_support") { | |
74 testonly = true | |
75 sources = [ | |
76 "application_test_base.h", | |
77 "lib/application_test_base.cc", | |
78 "lib/application_test_main.cc", | |
79 ] | |
80 | |
81 public_deps = [ | |
82 ":cpp", | |
83 "//testing/gtest", | |
84 ] | |
85 | |
86 deps = [ | |
87 "//base", | |
88 "//base/test:test_support", | |
89 "//mojo/logging", | |
90 "//mojo/public/cpp/bindings", | |
91 "//mojo/public/cpp/system", | |
92 "//mojo/shell/public/interfaces:interfaces_cpp_sources", | |
93 ] | |
94 | |
95 data_deps = [] | |
96 } | |
97 | |
98 source_set("shell_test_support") { | |
99 testonly = true | |
100 sources = [ | |
101 "lib/shell_test.cc", | |
102 "shell_test.h", | |
103 ] | |
104 | |
105 public_deps = [ | |
106 ":cpp", | |
107 "//testing/gtest", | |
108 ] | |
109 | |
110 deps = [ | |
111 "//base", | |
112 "//base/test:test_support", | |
113 "//mojo/logging", | |
114 "//mojo/public/cpp/bindings", | |
115 "//mojo/public/cpp/system", | |
116 "//mojo/shell/background:lib", | |
117 "//mojo/shell/public/interfaces:interfaces_cpp_sources", | |
118 ] | |
119 | |
120 data_deps = [] | |
121 } | |
OLD | NEW |