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