Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(125)

Side by Side Diff: services/shell/public/cpp/BUILD.gn

Issue 1978083004: Don't link application support into shell client library (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gyp Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « mojo/public/mojo_application.gni ('k') | services/shell/public/cpp/initialize_base_and_icu.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 source_set("cpp") {
7 public_deps = [ 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", 8 ":sources",
18 ] 9 ]
19 } 10 }
20 11
12 # TODO(rockot): Rename this to "cpp".
21 source_set("sources") { 13 source_set("sources") {
22 sources = [ 14 sources = [
23 "application_runner.h", 15 "application_runner.h",
24 "capabilities.h", 16 "capabilities.h",
25 "connect.h", 17 "connect.h",
26 "connection.h", 18 "connection.h",
27 "connector.h", 19 "connector.h",
28 "identity.h", 20 "identity.h",
29 "initialize_base_and_icu.cc",
30 "interface_binder.h", 21 "interface_binder.h",
31 "interface_factory.h", 22 "interface_factory.h",
32 "interface_factory_impl.h", 23 "interface_factory_impl.h",
33 "interface_registry.h", 24 "interface_registry.h",
34 "lib/application_runner.cc", 25 "lib/application_runner.cc",
35 "lib/capabilities.cc", 26 "lib/capabilities.cc",
36 "lib/connection_impl.cc", 27 "lib/connection_impl.cc",
37 "lib/connection_impl.h", 28 "lib/connection_impl.h",
38 "lib/connector_impl.cc", 29 "lib/connector_impl.cc",
39 "lib/connector_impl.h", 30 "lib/connector_impl.h",
40 "lib/identity.cc", 31 "lib/identity.cc",
41 "lib/interface_factory_binder.h", 32 "lib/interface_factory_binder.h",
42 "lib/interface_registry.cc", 33 "lib/interface_registry.cc",
43 "lib/names.cc", 34 "lib/names.cc",
44 "lib/shell_client.cc", 35 "lib/shell_client.cc",
45 "lib/shell_connection.cc", 36 "lib/shell_connection.cc",
46 "lib/shell_connection_ref.cc", 37 "lib/shell_connection_ref.cc",
47 "names.h", 38 "names.h",
48 "shell_client.h", 39 "shell_client.h",
49 "shell_connection.h", 40 "shell_connection.h",
50 "shell_connection_ref.h", 41 "shell_connection_ref.h",
51 ] 42 ]
52 43
53 deps = [ 44 public_deps = [
54 "//base", 45 "//base",
55 "//base:i18n",
56 ]
57
58 public_deps = [
59 "//mojo/public/cpp/bindings", 46 "//mojo/public/cpp/bindings",
60 "//mojo/public/cpp/system", 47 "//mojo/public/cpp/system",
61 "//services/shell/public/interfaces", 48 "//services/shell/public/interfaces",
62 "//url", 49 "//url",
63 ] 50 ]
64 } 51 }
65 52
66 source_set("init_commandline") { 53 source_set("application_support") {
67 sources = [ 54 sources = [
68 "lib/init_commandline.cc", 55 "lib/init_commandline.cc",
56 "lib/initialize_base_and_icu.cc",
57 ]
58
59 deps = [
60 "//base",
61 "//base:i18n",
62 "//mojo/public/c/system",
69 ] 63 ]
70 } 64 }
71 65
72 source_set("shell_test_support") { 66 source_set("shell_test_support") {
73 testonly = true 67 testonly = true
74 sources = [ 68 sources = [
75 "lib/shell_test.cc", 69 "lib/shell_test.cc",
76 "shell_test.h", 70 "shell_test.h",
77 ] 71 ]
78 72
79 public_deps = [ 73 public_deps = [
80 ":cpp", 74 ":cpp",
81 "//testing/gtest", 75 "//testing/gtest",
82 ] 76 ]
83 77
84 deps = [ 78 deps = [
85 "//base", 79 "//base",
86 "//base/test:test_support", 80 "//base/test:test_support",
87 "//mojo/logging", 81 "//mojo/logging",
88 "//mojo/public/cpp/bindings", 82 "//mojo/public/cpp/bindings",
89 "//mojo/public/cpp/system", 83 "//mojo/public/cpp/system",
90 "//services/shell/background:lib", 84 "//services/shell/background:lib",
91 "//services/shell/public/interfaces:interfaces_cpp_sources", 85 "//services/shell/public/interfaces:interfaces_cpp_sources",
92 ] 86 ]
93 87
94 data_deps = [] 88 data_deps = []
95 } 89 }
OLDNEW
« no previous file with comments | « mojo/public/mojo_application.gni ('k') | services/shell/public/cpp/initialize_base_and_icu.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698