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

Side by Side Diff: mojo/mojo_base.gyp

Issue 1262173005: Straightens outs DEPS in mojo/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add dep on system_for_component Created 5 years, 4 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/message_pump/time_helper.cc ('k') | mojo/runner/BUILD.gn » ('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 # Essential components (and their tests) that are needed to build 5 # Essential components (and their tests) that are needed to build
6 # Chrome should be here. Other components that are useful only in 6 # Chrome should be here. Other components that are useful only in
7 # Mojo land like mojo_shell should be in mojo.gyp. 7 # Mojo land like mojo_shell should be in mojo.gyp.
8 { 8 {
9 'includes': [ 9 'includes': [
10 '../third_party/mojo/mojo_variables.gypi', 10 '../third_party/mojo/mojo_variables.gypi',
(...skipping 18 matching lines...) Expand all
29 '../third_party/mojo/mojo_public.gyp:mojo_public_java', 29 '../third_party/mojo/mojo_public.gyp:mojo_public_java',
30 ], 30 ],
31 }], 31 }],
32 ] 32 ]
33 }, 33 },
34 { 34 {
35 'target_name': 'mojo_none', 35 'target_name': 'mojo_none',
36 'type': 'none', 36 'type': 'none',
37 }, 37 },
38 { 38 {
39 # GN version: //mojo/message_pump
40 'target_name': 'mojo_message_pump_lib',
41 'type': '<(component)',
42 'defines': [
43 'MOJO_MESSAGE_PUMP_IMPLEMENTATION',
44 ],
45 'dependencies': [
46 '../base/base.gyp:base',
47 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations',
48 '<(mojo_system_for_component)',
49 ],
50 'export_dependent_settings': [
51 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations',
52 ],
53 'sources': [
54 'message_pump/handle_watcher.cc',
55 'message_pump/handle_watcher.h',
56 'message_pump/message_pump_mojo.cc',
57 'message_pump/message_pump_mojo.h',
58 'message_pump/message_pump_mojo_handler.h',
59 'message_pump/time_helper.cc',
60 'message_pump/time_helper.h',
61 ],
62 },
63 {
39 # GN version: //mojo/common 64 # GN version: //mojo/common
40 'target_name': 'mojo_common_lib', 65 'target_name': 'mojo_common_lib',
41 'type': '<(component)', 66 'type': '<(component)',
42 'defines': [ 67 'defines': [
43 'MOJO_COMMON_IMPLEMENTATION', 68 'MOJO_COMMON_IMPLEMENTATION',
44 ], 69 ],
45 'dependencies': [ 70 'dependencies': [
46 '../base/base.gyp:base', 71 '../base/base.gyp:base',
47 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations', 72 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations',
48 '<(mojo_system_for_component)', 73 '<(mojo_system_for_component)',
49 ], 74 ],
50 'export_dependent_settings': [ 75 'export_dependent_settings': [
51 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations', 76 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations',
52 ], 77 ],
53 'sources': [ 78 'sources': [
54 'common/common_type_converters.cc', 79 'common/common_type_converters.cc',
55 'common/common_type_converters.h', 80 'common/common_type_converters.h',
56 'common/data_pipe_file_utils.cc', 81 'common/data_pipe_file_utils.cc',
57 'common/data_pipe_utils.cc', 82 'common/data_pipe_utils.cc',
58 'common/data_pipe_utils.h', 83 'common/data_pipe_utils.h',
59 'common/handle_watcher.cc',
60 'common/handle_watcher.h',
61 'common/message_pump_mojo.cc',
62 'common/message_pump_mojo.h',
63 'common/message_pump_mojo_handler.h',
64 'common/time_helper.cc',
65 'common/time_helper.h',
66 ], 84 ],
67 }, 85 },
68 { 86 {
69 # GN version: //mojo/common:url_type_converters 87 # GN version: //mojo/common:url_type_converters
70 'target_name': 'mojo_url_type_converters', 88 'target_name': 'mojo_url_type_converters',
71 'type': 'static_library', 89 'type': 'static_library',
72 'dependencies': [ 90 'dependencies': [
73 '../base/base.gyp:base', 91 '../base/base.gyp:base',
74 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations', 92 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations',
75 '../url/url.gyp:url_lib', 93 '../url/url.gyp:url_lib',
(...skipping 29 matching lines...) Expand all
105 { 123 {
106 # GN version: //mojo/common:mojo_common_unittests 124 # GN version: //mojo/common:mojo_common_unittests
107 'target_name': 'mojo_common_unittests', 125 'target_name': 'mojo_common_unittests',
108 'type': 'executable', 126 'type': 'executable',
109 'dependencies': [ 127 'dependencies': [
110 '../base/base.gyp:base', 128 '../base/base.gyp:base',
111 '../base/base.gyp:test_support_base', 129 '../base/base.gyp:test_support_base',
112 '../base/base.gyp:base_message_loop_tests', 130 '../base/base.gyp:base_message_loop_tests',
113 '../testing/gtest.gyp:gtest', 131 '../testing/gtest.gyp:gtest',
114 '../url/url.gyp:url_lib', 132 '../url/url.gyp:url_lib',
115 'mojo_common_lib',
116 'mojo_url_type_converters',
117 '../third_party/mojo/mojo_edk.gyp:mojo_system_impl', 133 '../third_party/mojo/mojo_edk.gyp:mojo_system_impl',
118 '../third_party/mojo/mojo_edk.gyp:mojo_common_test_support', 134 '../third_party/mojo/mojo_edk.gyp:mojo_common_test_support',
119 '../third_party/mojo/mojo_edk.gyp:mojo_run_all_unittests', 135 '../third_party/mojo/mojo_edk.gyp:mojo_run_all_unittests',
120 'mojo_environment_chromium',
121 '../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings', 136 '../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings',
122 '../third_party/mojo/mojo_public.gyp:mojo_public_test_utils', 137 '../third_party/mojo/mojo_public.gyp:mojo_public_test_utils',
138 'mojo_common_lib',
139 'mojo_environment_chromium',
140 'mojo_message_pump_lib',
141 'mojo_url_type_converters',
123 ], 142 ],
124 'sources': [ 143 'sources': [
125 'common/common_type_converters_unittest.cc', 144 'common/common_type_converters_unittest.cc',
126 'common/handle_watcher_unittest.cc', 145 'message_pump/handle_watcher_unittest.cc',
127 'common/message_pump_mojo_unittest.cc', 146 'message_pump/message_pump_mojo_unittest.cc',
128 ], 147 ],
129 }, 148 },
130 { 149 {
131 # GN version: //mojo/environment:chromium 150 # GN version: //mojo/environment:chromium
132 'target_name': 'mojo_environment_chromium', 151 'target_name': 'mojo_environment_chromium',
133 'type': 'static_library', 152 'type': 'static_library',
134 'dependencies': [ 153 'dependencies': [
135 'mojo_environment_chromium_impl', 154 'mojo_environment_chromium_impl',
136 '../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings', 155 '../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings',
137 ], 156 ],
138 'sources': [ 157 'sources': [
139 'environment/environment.cc',
140 # TODO(vtl): This is kind of ugly. (See TODO in logging.h.) 158 # TODO(vtl): This is kind of ugly. (See TODO in logging.h.)
141 "../third_party/mojo/src/mojo/public/cpp/environment/async_waiter.h", 159 "../third_party/mojo/src/mojo/public/cpp/environment/async_waiter.h",
142 "../third_party/mojo/src/mojo/public/cpp/environment/lib/async_waiter.cc ", 160 "../third_party/mojo/src/mojo/public/cpp/environment/lib/async_waiter.cc ",
143 "../third_party/mojo/src/mojo/public/cpp/environment/lib/logging.cc", 161 "../third_party/mojo/src/mojo/public/cpp/environment/lib/logging.cc",
144 "../third_party/mojo/src/mojo/public/cpp/environment/lib/scoped_task_tra cking.cc", 162 "../third_party/mojo/src/mojo/public/cpp/environment/lib/scoped_task_tra cking.cc",
145 "../third_party/mojo/src/mojo/public/cpp/environment/lib/scoped_task_tra cking.cc", 163 "../third_party/mojo/src/mojo/public/cpp/environment/lib/scoped_task_tra cking.cc",
146 "../third_party/mojo/src/mojo/public/cpp/environment/logging.h", 164 "../third_party/mojo/src/mojo/public/cpp/environment/logging.h",
147 "../third_party/mojo/src/mojo/public/cpp/environment/task_tracker.h", 165 "../third_party/mojo/src/mojo/public/cpp/environment/task_tracker.h",
166 'environment/environment.cc',
148 ], 167 ],
149 'include_dirs': [ 168 'include_dirs': [
150 '..', 169 '..',
151 '../third_party/mojo/src', 170 '../third_party/mojo/src',
152 ], 171 ],
153 'direct_dependent_settings': { 172 'direct_dependent_settings': {
154 'include_dirs': [ 173 'include_dirs': [
155 '../third_party/mojo/src', 174 '../third_party/mojo/src',
156 ], 175 ],
157 }, 176 },
158 'export_dependent_settings': [ 177 'export_dependent_settings': [
159 'mojo_environment_chromium_impl', 178 'mojo_environment_chromium_impl',
160 ], 179 ],
161 }, 180 },
162 { 181 {
163 # GN version: //mojo/environment:chromium_impl 182 # GN version: //mojo/environment:chromium_impl
164 'target_name': 'mojo_environment_chromium_impl', 183 'target_name': 'mojo_environment_chromium_impl',
165 'type': '<(component)', 184 'type': '<(component)',
166 'defines': [ 185 'defines': [
167 'MOJO_ENVIRONMENT_IMPL_IMPLEMENTATION', 186 'MOJO_ENVIRONMENT_IMPL_IMPLEMENTATION',
168 ], 187 ],
169 'dependencies': [ 188 'dependencies': [
170 '../base/base.gyp:base', 189 '../base/base.gyp:base',
171 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations', 190 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations',
172 'mojo_common_lib', 191 'mojo_message_pump_lib',
173 '<(mojo_system_for_component)', 192 '<(mojo_system_for_component)',
174 ], 193 ],
175 'sources': [ 194 'sources': [
176 'environment/default_async_waiter_impl.cc', 195 'environment/default_async_waiter_impl.cc',
177 'environment/default_async_waiter_impl.h', 196 'environment/default_async_waiter_impl.h',
178 'environment/default_logger_impl.cc', 197 'environment/default_logger_impl.cc',
179 'environment/default_logger_impl.h', 198 'environment/default_logger_impl.h',
180 'environment/default_run_loop_impl.cc', 199 'environment/default_run_loop_impl.cc',
181 'environment/default_run_loop_impl.h', 200 'environment/default_run_loop_impl.h',
182 'environment/default_task_tracker_impl.cc', 201 'environment/default_task_tracker_impl.cc',
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 'application/public/cpp/lib/service_connector_registry.cc', 252 'application/public/cpp/lib/service_connector_registry.cc',
234 'application/public/cpp/lib/service_connector_registry.h', 253 'application/public/cpp/lib/service_connector_registry.h',
235 'application/public/cpp/lib/service_provider_impl.cc', 254 'application/public/cpp/lib/service_provider_impl.cc',
236 'application/public/cpp/lib/service_registry.cc', 255 'application/public/cpp/lib/service_registry.cc',
237 'application/public/cpp/lib/service_registry.h', 256 'application/public/cpp/lib/service_registry.h',
238 'application/public/cpp/service_connector.h', 257 'application/public/cpp/service_connector.h',
239 'application/public/cpp/service_provider_impl.h', 258 'application/public/cpp/service_provider_impl.h',
240 ], 259 ],
241 'dependencies': [ 260 'dependencies': [
242 'mojo_application_bindings', 261 'mojo_application_bindings',
243 'mojo_common_lib', 262 'mojo_message_pump_lib',
244 ], 263 ],
245 }, 264 },
246 { 265 {
247 # GN version: //mojo/public/interfaces/application:application 266 # GN version: //mojo/public/interfaces/application:application
248 'target_name': 'mojo_application_bindings', 267 'target_name': 'mojo_application_bindings',
249 'type': 'static_library', 268 'type': 'static_library',
250 'dependencies': [ 269 'dependencies': [
251 'mojo_application_bindings_mojom', 270 'mojo_application_bindings_mojom',
252 'mojo_services.gyp:network_service_bindings_lib', 271 'mojo_services.gyp:network_service_bindings_lib',
253 '../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings', 272 '../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings',
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
357 '../build/isolate.gypi', 376 '../build/isolate.gypi',
358 ], 377 ],
359 'sources': [ 378 'sources': [
360 'mojo_common_unittests.isolate', 379 'mojo_common_unittests.isolate',
361 ], 380 ],
362 }, 381 },
363 ], 382 ],
364 }], 383 }],
365 ] 384 ]
366 } 385 }
OLDNEW
« no previous file with comments | « mojo/message_pump/time_helper.cc ('k') | mojo/runner/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698