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 # GYP version: mojo/mojo_base.gyp:mojo_application_base | 5 # GYP version: mojo/mojo_base.gyp:mojo_application_base |
6 source_set("cpp") { | 6 group("cpp") { |
7 public_deps = [ | 7 public_deps = [ |
8 ":sources", | 8 ":sources", |
9 ] | 9 ] |
10 } | 10 } |
11 | 11 |
12 # TODO(rockot): Rename this to "cpp". | 12 # TODO(rockot): Rename this to "cpp". |
13 source_set("sources") { | 13 static_library("sources") { |
14 sources = [ | 14 sources = [ |
15 "application_runner.h", | 15 "application_runner.h", |
16 "capabilities.h", | 16 "capabilities.h", |
17 "connect.h", | 17 "connect.h", |
18 "connection.h", | 18 "connection.h", |
19 "connector.h", | 19 "connector.h", |
20 "identity.h", | 20 "identity.h", |
21 "interface_binder.h", | 21 "interface_binder.h", |
22 "interface_factory.h", | 22 "interface_factory.h", |
23 "interface_factory_impl.h", | 23 "interface_factory_impl.h", |
(...skipping 24 matching lines...) Expand all Loading... |
48 public_deps = [ | 48 public_deps = [ |
49 "//base", | 49 "//base", |
50 "//mojo/public/cpp/bindings", | 50 "//mojo/public/cpp/bindings", |
51 "//mojo/public/cpp/system", | 51 "//mojo/public/cpp/system", |
52 "//services/shell/public/interfaces", | 52 "//services/shell/public/interfaces", |
53 "//url", | 53 "//url", |
54 ] | 54 ] |
55 } | 55 } |
56 | 56 |
57 if (!is_ios) { | 57 if (!is_ios) { |
58 source_set("application_support") { | 58 static_library("application_support") { |
59 sources = [ | 59 sources = [ |
60 "lib/init_commandline.cc", | 60 "lib/init_commandline.cc", |
61 "lib/initialize_base_and_icu.cc", | 61 "lib/initialize_base_and_icu.cc", |
62 ] | 62 ] |
63 | 63 |
64 deps = [ | 64 deps = [ |
65 "//base", | 65 "//base", |
66 "//base:i18n", | 66 "//base:i18n", |
67 "//mojo/public/c/system", | 67 "//mojo/public/c/system", |
68 ] | 68 ] |
69 } | 69 } |
70 | 70 |
71 source_set("service_test_support") { | 71 static_library("service_test_support") { |
72 testonly = true | 72 testonly = true |
73 sources = [ | 73 sources = [ |
74 "lib/service_test.cc", | 74 "lib/service_test.cc", |
75 "service_test.h", | 75 "service_test.h", |
76 ] | 76 ] |
77 | 77 |
78 public_deps = [ | 78 public_deps = [ |
79 ":cpp", | 79 ":cpp", |
80 "//testing/gtest", | 80 "//testing/gtest", |
81 ] | 81 ] |
82 | 82 |
83 deps = [ | 83 deps = [ |
84 "//base", | 84 "//base", |
85 "//base/test:test_support", | 85 "//base/test:test_support", |
86 "//mojo/public/cpp/bindings", | 86 "//mojo/public/cpp/bindings", |
87 "//mojo/public/cpp/system", | 87 "//mojo/public/cpp/system", |
88 "//services/shell/background:lib", | 88 "//services/shell/background:lib", |
89 "//services/shell/public/interfaces:interfaces_cpp_sources", | 89 "//services/shell/public/interfaces:interfaces_cpp_sources", |
90 ] | 90 ] |
91 | 91 |
92 data_deps = [] | 92 data_deps = [] |
93 } | 93 } |
94 } | 94 } |
OLD | NEW |