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

Side by Side Diff: mojo/mojo.gyp

Issue 64973002: Moves some files into mojo/common (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 # Copyright 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 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 { 5 {
6 'variables': { 6 'variables': {
7 'chromium_code': 1, 7 'chromium_code': 1,
8 }, 8 },
9 'targets': [ 9 'targets': [
10 { 10 {
11 'target_name': 'mojo', 11 'target_name': 'mojo',
12 'type': 'none', 12 'type': 'none',
13 'dependencies': [ 13 'dependencies': [
14 'mojo_common_lib',
15 'mojo_common_unittests',
14 'mojo_public_test_support', 16 'mojo_public_test_support',
15 'mojo_public_unittests', 17 'mojo_public_unittests',
16 'mojo_public_perftests', 18 'mojo_public_perftests',
17 'mojo_system', 19 'mojo_system',
18 'mojo_system_unittests', 20 'mojo_system_unittests',
19 'mojo_shell_lib', 21 'mojo_shell_lib',
20 'mojo_shell', 22 'mojo_shell',
21 'mojo_shell_unittests',
22 'mojo_utility', 23 'mojo_utility',
23 'sample_app', 24 'sample_app',
24 'mojo_bindings', 25 'mojo_bindings',
25 'mojo_bindings_test', 26 'mojo_bindings_test',
26 'native_viewport', 27 'native_viewport',
27 ], 28 ],
28 }, 29 },
29 { 30 {
30 'target_name': 'mojo_public_test_support', 31 'target_name': 'mojo_public_test_support',
31 'type': 'static_library', 32 'type': 'static_library',
32 'dependencies': [ 33 'dependencies': [
33 '../base/base.gyp:base', 34 '../base/base.gyp:base',
34 '../testing/gtest.gyp:gtest', 35 '../testing/gtest.gyp:gtest',
35 'mojo_system', 36 'mojo_system',
36 ], 37 ],
37 'sources': [ 38 'sources': [
38 'public/tests/simple_bindings_support.cc', 39 'public/tests/simple_bindings_support.cc',
39 'public/tests/simple_bindings_support.h', 40 'public/tests/simple_bindings_support.h',
40 'public/tests/test_support.cc', 41 'public/tests/test_support.cc',
41 'public/tests/test_support.h', 42 'public/tests/test_support.h',
42 ], 43 ],
43 }, 44 },
44 { 45 {
46 'target_name': 'mojo_common_lib',
47 'type': '<(component)',
48 'defines': [
49 'MOJO_COMMON_IMPLEMENTATION',
50 ],
51 'dependencies': [
52 '../base/base.gyp:base',
53 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations',
sky 2013/11/07 18:32:00 Not sure why I had to add this, but without it I g
54 'mojo_system',
55 ],
56 'sources': [
57 'common/handle_watcher.cc',
58 'common/handle_watcher.h',
59 'common/scoped_message_pipe.cc',
60 'common/scoped_message_pipe.h',
61 ],
62 'conditions': [
63 ['OS == "win"', {
64 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
65 'msvs_disabled_warnings': [
66 4267,
67 ],
68 }],
69 ],
70 },
71 {
72 'target_name': 'mojo_common_unittests',
73 'type': 'executable',
74 'dependencies': [
75 '../base/base.gyp:base',
76 '../base/base.gyp:run_all_unittests',
77 '../testing/gtest.gyp:gtest',
78 'mojo_common_lib',
79 'mojo_system',
80 ],
81 'sources': [
82 'common/handle_watcher_unittest.cc',
83 'common/test/run_all_unittests.cc',
84 ],
85 'conditions': [
86 ['OS == "win"', {
87 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
88 'msvs_disabled_warnings': [
89 4267,
90 ],
91 }],
92 ],
93 },
94 {
45 'target_name': 'mojo_public_unittests', 95 'target_name': 'mojo_public_unittests',
46 'type': 'executable', 96 'type': 'executable',
47 'dependencies': [ 97 'dependencies': [
48 '../base/base.gyp:run_all_unittests', 98 '../base/base.gyp:run_all_unittests',
49 '../testing/gtest.gyp:gtest', 99 '../testing/gtest.gyp:gtest',
50 'mojo_bindings', 100 'mojo_bindings',
51 'mojo_public_test_support', 101 'mojo_public_test_support',
52 'mojo_system', 102 'mojo_system',
53 ], 103 ],
54 'sources': [ 104 'sources': [
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 '../url/url.gyp:url_lib', 204 '../url/url.gyp:url_lib',
155 'mojo_system', 205 'mojo_system',
156 'mojo_utility', 206 'mojo_utility',
157 'native_viewport', 207 'native_viewport',
158 ], 208 ],
159 'sources': [ 209 'sources': [
160 'shell/app_container.cc', 210 'shell/app_container.cc',
161 'shell/app_container.h', 211 'shell/app_container.h',
162 'shell/context.cc', 212 'shell/context.cc',
163 'shell/context.h', 213 'shell/context.h',
164 'shell/handle_watcher.cc',
165 'shell/handle_watcher.h',
166 'shell/loader.cc', 214 'shell/loader.cc',
167 'shell/loader.h', 215 'shell/loader.h',
168 'shell/network_delegate.cc', 216 'shell/network_delegate.cc',
169 'shell/network_delegate.h', 217 'shell/network_delegate.h',
170 'shell/run.cc', 218 'shell/run.cc',
171 'shell/run.h', 219 'shell/run.h',
172 'shell/scoped_message_pipe.cc',
173 'shell/scoped_message_pipe.h',
174 'shell/storage.cc', 220 'shell/storage.cc',
175 'shell/storage.h', 221 'shell/storage.h',
176 'shell/switches.cc', 222 'shell/switches.cc',
177 'shell/switches.h', 223 'shell/switches.h',
178 'shell/task_runners.cc', 224 'shell/task_runners.cc',
179 'shell/task_runners.h', 225 'shell/task_runners.h',
180 'shell/url_request_context_getter.cc', 226 'shell/url_request_context_getter.cc',
181 'shell/url_request_context_getter.h', 227 'shell/url_request_context_getter.h',
182 ], 228 ],
183 'conditions': [ 229 'conditions': [
(...skipping 21 matching lines...) Expand all
205 'conditions': [ 251 'conditions': [
206 ['OS == "win"', { 252 ['OS == "win"', {
207 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 253 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
208 'msvs_disabled_warnings': [ 254 'msvs_disabled_warnings': [
209 4267, 255 4267,
210 ], 256 ],
211 }], 257 }],
212 ], 258 ],
213 }, 259 },
214 { 260 {
215 'target_name': 'mojo_shell_unittests',
216 'type': 'executable',
217 'dependencies': [
218 '../base/base.gyp:base',
219 '../base/base.gyp:run_all_unittests',
220 '../testing/gtest.gyp:gtest',
221 'mojo_shell_lib',
222 'mojo_system',
223 ],
224 'sources': [
225 'shell/handle_watcher_unittest.cc',
226 'shell/test/run_all_unittests.cc',
227 ],
228 'conditions': [
229 ['OS == "win"', {
230 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
231 'msvs_disabled_warnings': [
232 4267,
233 ],
234 }],
235 ],
236 },
237 {
238 'target_name': 'mojo_utility', 261 'target_name': 'mojo_utility',
239 'type': 'static_library', 262 'type': 'static_library',
240 'dependencies': [ 263 'dependencies': [
241 'mojo_system' 264 'mojo_system'
242 ], 265 ],
243 'sources': [ 266 'sources': [
244 'public/utility/scoped_handle.cc', 267 'public/utility/scoped_handle.cc',
245 'public/utility/scoped_handle.h', 268 'public/utility/scoped_handle.h',
246 ], 269 ],
247 }, 270 },
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
410 'java_in_dir': '<(DEPTH)/mojo/shell/android/apk', 433 'java_in_dir': '<(DEPTH)/mojo/shell/android/apk',
411 'resource_dir': '<(DEPTH)/mojo/shell/android/apk/res', 434 'resource_dir': '<(DEPTH)/mojo/shell/android/apk/res',
412 'native_lib_target': 'libmojo_shell', 435 'native_lib_target': 'libmojo_shell',
413 }, 436 },
414 'includes': [ '../build/java_apk.gypi' ], 437 'includes': [ '../build/java_apk.gypi' ],
415 } 438 }
416 ], 439 ],
417 }], 440 }],
418 ], 441 ],
419 } 442 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698