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 import("../../mojo_sdk.gni") | |
6 | |
7 # GYP version: mojo/public/mojo_public.gyp:mojo_application_base | |
8 mojo_sdk_source_set("application") { | |
9 sources = [ | |
10 "application_connection.h", | |
11 "application_delegate.h", | |
12 "application_impl.h", | |
13 "connect.h", | |
14 "service_provider_impl.h", | |
15 "interface_factory.h", | |
16 "interface_factory_impl.h", | |
17 "lib/application_connection.cc", | |
18 "lib/application_delegate.cc", | |
19 "lib/application_impl.cc", | |
20 "lib/service_provider_impl.cc", | |
21 "lib/service_connector.cc", | |
22 "lib/service_connector.h", | |
23 "lib/service_registry.cc", | |
24 "lib/service_registry.h", | |
25 "lib/weak_service_provider.cc", | |
26 "lib/weak_service_provider.h", | |
27 ] | |
28 | |
29 mojo_sdk_deps = [ | |
30 "mojo/public/cpp/bindings", | |
31 "mojo/public/cpp/environment", | |
32 "mojo/public/cpp/system", | |
33 "mojo/public/interfaces/application", | |
34 ] | |
35 } | |
36 | |
37 # GYP version: mojo/public/mojo_public.gyp:mojo_application_standalone | |
38 mojo_sdk_source_set("standalone") { | |
39 sources = [ | |
40 "lib/application_runner.cc", | |
41 ] | |
42 | |
43 public_deps = [ | |
44 ":application", | |
45 ] | |
46 | |
47 mojo_sdk_deps = [ | |
48 "mojo/public/cpp/environment:standalone", | |
49 "mojo/public/cpp/utility", | |
50 ] | |
51 } | |
52 | |
53 mojo_sdk_source_set("test_support") { | |
54 testonly = true | |
55 sources = [ | |
56 "application_test_base.h", | |
57 "lib/application_test_base.cc", | |
58 ] | |
59 | |
60 deps = [ | |
61 ":application", | |
62 "//testing/gtest", | |
63 ] | |
64 | |
65 mojo_sdk_deps = [ | |
66 "mojo/public/cpp/bindings", | |
67 "mojo/public/cpp/environment", | |
68 "mojo/public/cpp/system", | |
69 ] | |
70 } | |
71 | |
72 mojo_sdk_source_set("test_support_standalone") { | |
73 testonly = true | |
74 sources = [ | |
75 "lib/application_test_main.cc", | |
76 ] | |
77 | |
78 public_deps = [ | |
79 ":test_support", | |
80 ] | |
81 | |
82 deps = [ | |
83 ":application", | |
84 ] | |
85 | |
86 mojo_sdk_deps = [ | |
87 "mojo/public/cpp/environment:standalone", | |
88 "mojo/public/cpp/system", | |
89 "mojo/public/cpp/utility", | |
90 ] | |
91 } | |
OLD | NEW |