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 source_set("cpp") { |
7 public_deps = [ | 7 public_deps = [ |
8 ":sources", | 8 ":sources", |
9 ":init_commandline", | 9 ":init_commandline", |
10 ] | 10 ] |
(...skipping 30 matching lines...) Expand all Loading... |
41 "lib/service_registry.h", | 41 "lib/service_registry.h", |
42 "service_connector.h", | 42 "service_connector.h", |
43 "service_provider_impl.h", | 43 "service_provider_impl.h", |
44 ] | 44 ] |
45 | 45 |
46 deps = [ | 46 deps = [ |
47 "//base", | 47 "//base", |
48 "//mojo/application/public/interfaces", | 48 "//mojo/application/public/interfaces", |
49 "//mojo/common", | 49 "//mojo/common", |
50 "//mojo/environment:chromium", | 50 "//mojo/environment:chromium", |
51 "//mojo/message_pump", | |
52 "//third_party/mojo/src/mojo/public/cpp/bindings", | 51 "//third_party/mojo/src/mojo/public/cpp/bindings", |
53 "//third_party/mojo/src/mojo/public/cpp/system", | 52 "//third_party/mojo/src/mojo/public/cpp/system", |
54 ] | 53 ] |
55 } | 54 } |
56 | 55 |
57 source_set("init_commandline") { | 56 source_set("init_commandline") { |
58 sources = [ | 57 sources = [ |
59 "lib/init_commandline.cc", | 58 "lib/init_commandline.cc", |
60 ] | 59 ] |
61 } | 60 } |
62 | 61 |
63 source_set("content_handler") { | 62 source_set("content_handler") { |
64 sources = [ | 63 sources = [ |
65 "content_handler_factory.h", | 64 "content_handler_factory.h", |
66 "lib/content_handler_factory.cc", | 65 "lib/content_handler_factory.cc", |
67 ] | 66 ] |
68 deps = [ | 67 deps = [ |
69 ":cpp", | 68 ":cpp", |
70 | 69 |
71 # TODO: this code should not depend on base. | 70 # TODO: this code should not depend on base. |
72 "//base", | 71 "//base", |
73 "//mojo/application/public/interfaces:interfaces_cpp_sources", | 72 "//mojo/application/public/interfaces:interfaces_cpp_sources", |
74 "//mojo/message_pump", | 73 |
| 74 # TODO: this code should not depend on mojo/common. |
| 75 "//mojo/common:common_base", |
75 "//mojo/services/network/public/interfaces", | 76 "//mojo/services/network/public/interfaces", |
76 ] | 77 ] |
77 } | 78 } |
78 | 79 |
79 source_set("test_support") { | 80 source_set("test_support") { |
80 testonly = true | 81 testonly = true |
81 sources = [ | 82 sources = [ |
82 "application_test_base.h", | 83 "application_test_base.h", |
83 "lib/application_test_base.cc", | 84 "lib/application_test_base.cc", |
84 "lib/application_test_main.cc", | 85 "lib/application_test_main.cc", |
(...skipping 11 matching lines...) Expand all Loading... |
96 ] | 97 ] |
97 | 98 |
98 data_deps = [] | 99 data_deps = [] |
99 if (is_android) { | 100 if (is_android) { |
100 data_deps += [ "//mojo/android" ] | 101 data_deps += [ "//mojo/android" ] |
101 } | 102 } |
102 if (!is_component_build) { | 103 if (!is_component_build) { |
103 data_deps += [ "//mojo/runner" ] | 104 data_deps += [ "//mojo/runner" ] |
104 } | 105 } |
105 } | 106 } |
OLD | NEW |