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

Side by Side Diff: mojo/mojo_public.gypi

Issue 385603003: Split targets with external dependencies out of mojo_public.gypi (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: get rid of mojo_public_java.gypi, per qsr Created 6 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « mojo/mojo.gyp ('k') | mojo/mojo_public_tests.gypi » ('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.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
1 { 5 {
2 'targets': [ 6 'targets': [
3 { 7 {
4 'target_name': 'mojo_system', 8 'target_name': 'mojo_system',
5 'type': 'static_library', 9 'type': 'static_library',
6 'defines': [ 10 'defines': [
7 'MOJO_SYSTEM_IMPLEMENTATION', 11 'MOJO_SYSTEM_IMPLEMENTATION',
8 ], 12 ],
9 'include_dirs': [ 13 'include_dirs': [
10 '..', 14 '..',
(...skipping 21 matching lines...) Expand all
32 'public/c/system/functions.h', 36 'public/c/system/functions.h',
33 'public/c/system/macros.h', 37 'public/c/system/macros.h',
34 'public/c/system/message_pipe.h', 38 'public/c/system/message_pipe.h',
35 'public/c/system/system_export.h', 39 'public/c/system/system_export.h',
36 'public/c/system/types.h', 40 'public/c/system/types.h',
37 'public/platform/native/system_thunks.cc', 41 'public/platform/native/system_thunks.cc',
38 'public/platform/native/system_thunks.h', 42 'public/platform/native/system_thunks.h',
39 ], 43 ],
40 }, 44 },
41 { 45 {
42 'target_name': 'mojo_gles2',
43 'type': 'shared_library',
44 'defines': [
45 'MOJO_GLES2_IMPLEMENTATION',
46 'GLES2_USE_MOJO',
47 ],
48 'include_dirs': [
49 '..',
50 ],
51 'dependencies': [
52 '../third_party/khronos/khronos.gyp:khronos_headers'
53 ],
54 'direct_dependent_settings': {
55 'include_dirs': [
56 '..',
57 ],
58 'defines': [
59 'GLES2_USE_MOJO',
60 ],
61 },
62 'sources': [
63 'public/c/gles2/gles2.h',
64 'public/c/gles2/gles2_export.h',
65 'public/gles2/gles2_private.cc',
66 'public/gles2/gles2_private.h',
67 ],
68 'conditions': [
69 ['OS=="mac"', {
70 'xcode_settings': {
71 # Make it a run-path dependent library.
72 'DYLIB_INSTALL_NAME_BASE': '@loader_path',
73 },
74 }],
75 ],
76 },
77 {
78 'target_name': 'mojo_test_support',
79 'type': 'shared_library',
80 'defines': [
81 'MOJO_TEST_SUPPORT_IMPLEMENTATION',
82 ],
83 'include_dirs': [
84 '..',
85 ],
86 'direct_dependent_settings': {
87 'include_dirs': [
88 '..',
89 ],
90 },
91 'sources': [
92 'public/c/test_support/test_support.h',
93 'public/c/test_support/test_support_export.h',
94 'public/tests/test_support_private.cc',
95 'public/tests/test_support_private.h',
96 ],
97 'conditions': [
98 ['OS=="mac"', {
99 'xcode_settings': {
100 # Make it a run-path dependent library.
101 'DYLIB_INSTALL_NAME_BASE': '@loader_path',
102 },
103 }],
104 ],
105 },
106 {
107 'target_name': 'mojo_public_test_utils',
108 'type': 'static_library',
109 'dependencies': [
110 '../base/base.gyp:base',
111 '../testing/gtest.gyp:gtest',
112 'mojo_test_support',
113 ],
114 'sources': [
115 'public/cpp/test_support/lib/test_support.cc',
116 'public/cpp/test_support/lib/test_utils.cc',
117 'public/cpp/test_support/test_utils.h',
118 ],
119 },
120 # TODO(vtl): Reorganize the mojo_public_*_unittests.
121 {
122 'target_name': 'mojo_public_bindings_unittests',
123 'type': 'executable',
124 'dependencies': [
125 '../testing/gtest.gyp:gtest',
126 'mojo_cpp_bindings',
127 'mojo_environment_standalone',
128 'mojo_public_test_utils',
129 'mojo_run_all_unittests',
130 'mojo_public_test_interfaces',
131 'mojo_utility',
132 ],
133 'sources': [
134 'public/cpp/bindings/tests/array_unittest.cc',
135 'public/cpp/bindings/tests/bounds_checker_unittest.cc',
136 'public/cpp/bindings/tests/buffer_unittest.cc',
137 'public/cpp/bindings/tests/connector_unittest.cc',
138 'public/cpp/bindings/tests/handle_passing_unittest.cc',
139 'public/cpp/bindings/tests/interface_ptr_unittest.cc',
140 'public/cpp/bindings/tests/request_response_unittest.cc',
141 'public/cpp/bindings/tests/router_unittest.cc',
142 'public/cpp/bindings/tests/sample_service_unittest.cc',
143 'public/cpp/bindings/tests/string_unittest.cc',
144 'public/cpp/bindings/tests/struct_unittest.cc',
145 'public/cpp/bindings/tests/type_conversion_unittest.cc',
146 'public/cpp/bindings/tests/validation_test_input_parser.cc',
147 'public/cpp/bindings/tests/validation_test_input_parser.h',
148 'public/cpp/bindings/tests/validation_unittest.cc',
149 ],
150 },
151 {
152 'target_name': 'mojo_public_environment_unittests',
153 'type': 'executable',
154 'dependencies': [
155 '../base/base.gyp:base',
156 '../testing/gtest.gyp:gtest',
157 'mojo_environment_standalone',
158 'mojo_public_test_utils',
159 'mojo_run_all_unittests',
160 'mojo_utility',
161 ],
162 'sources': [
163 'public/cpp/environment/tests/async_waiter_unittest.cc',
164 'public/cpp/environment/tests/logger_unittest.cc',
165 'public/cpp/environment/tests/logging_unittest.cc',
166 ],
167 },
168 {
169 'target_name': 'mojo_public_application_unittests',
170 'type': 'executable',
171 'dependencies': [
172 '../base/base.gyp:base',
173 '../testing/gtest.gyp:gtest',
174 'mojo_application',
175 'mojo_run_all_unittests',
176 'mojo_environment_standalone',
177 'mojo_utility',
178 ],
179 'sources': [
180 'public/cpp/application/tests/service_registry_unittest.cc',
181 ],
182 },
183 {
184 'target_name': 'mojo_public_system_unittests',
185 'type': 'executable',
186 'dependencies': [
187 '../base/base.gyp:base',
188 '../testing/gtest.gyp:gtest',
189 'mojo_cpp_bindings',
190 'mojo_public_test_utils',
191 'mojo_run_all_unittests',
192 ],
193 'sources': [
194 'public/c/system/tests/core_unittest.cc',
195 'public/c/system/tests/core_unittest_pure_c.c',
196 'public/c/system/tests/macros_unittest.cc',
197 'public/cpp/system/tests/core_unittest.cc',
198 'public/cpp/system/tests/macros_unittest.cc',
199 ],
200 },
201 {
202 'target_name': 'mojo_public_utility_unittests',
203 'type': 'executable',
204 'dependencies': [
205 '../base/base.gyp:base',
206 '../testing/gtest.gyp:gtest',
207 'mojo_cpp_bindings',
208 'mojo_public_test_utils',
209 'mojo_run_all_unittests',
210 'mojo_utility',
211 ],
212 'sources': [
213 'public/cpp/utility/tests/mutex_unittest.cc',
214 'public/cpp/utility/tests/run_loop_unittest.cc',
215 'public/cpp/utility/tests/thread_unittest.cc',
216 ],
217 'conditions': [
218 # See crbug.com/342893:
219 ['OS=="win"', {
220 'sources!': [
221 'public/cpp/utility/tests/mutex_unittest.cc',
222 'public/cpp/utility/tests/thread_unittest.cc',
223 ],
224 }],
225 ],
226 },
227 {
228 'target_name': 'mojo_public_system_perftests',
229 'type': 'executable',
230 'dependencies': [
231 '../base/base.gyp:base',
232 '../testing/gtest.gyp:gtest',
233 'mojo_public_test_utils',
234 'mojo_run_all_perftests',
235 'mojo_utility',
236 ],
237 'sources': [
238 'public/c/system/tests/core_perftest.cc',
239 ],
240 },
241 {
242 # GN version: //mojo/public/cpp/bindings 46 # GN version: //mojo/public/cpp/bindings
243 'target_name': 'mojo_cpp_bindings', 47 'target_name': 'mojo_cpp_bindings',
244 'type': 'static_library', 48 'type': 'static_library',
245 'include_dirs': [ 49 'include_dirs': [
246 '..' 50 '..'
247 ], 51 ],
248 'sources': [ 52 'sources': [
249 'public/cpp/bindings/array.h', 53 'public/cpp/bindings/array.h',
250 'public/cpp/bindings/callback.h', 54 'public/cpp/bindings/callback.h',
251 'public/cpp/bindings/error_handler.h', 55 'public/cpp/bindings/error_handler.h',
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 'type': 'static_library', 105 'type': 'static_library',
302 'include_dirs': [ 106 'include_dirs': [
303 '..' 107 '..'
304 ], 108 ],
305 'sources': [ 109 'sources': [
306 'public/js/bindings/constants.cc', 110 'public/js/bindings/constants.cc',
307 'public/js/bindings/constants.h', 111 'public/js/bindings/constants.h',
308 ], 112 ],
309 }, 113 },
310 { 114 {
311 'target_name': 'mojo_public_test_interfaces',
312 'type': 'static_library',
313 'sources': [
314 'public/interfaces/bindings/tests/math_calculator.mojom',
315 'public/interfaces/bindings/tests/sample_factory.mojom',
316 'public/interfaces/bindings/tests/sample_import.mojom',
317 'public/interfaces/bindings/tests/sample_import2.mojom',
318 'public/interfaces/bindings/tests/sample_interfaces.mojom',
319 'public/interfaces/bindings/tests/sample_service.mojom',
320 'public/interfaces/bindings/tests/test_structs.mojom',
321 'public/interfaces/bindings/tests/validation_test_interfaces.mojom',
322 ],
323 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
324 'export_dependent_settings': [
325 'mojo_cpp_bindings',
326 ],
327 'dependencies': [
328 'mojo_cpp_bindings',
329 ],
330 },
331 {
332 'target_name': 'mojo_environment_standalone', 115 'target_name': 'mojo_environment_standalone',
333 'type': 'static_library', 116 'type': 'static_library',
334 'sources': [ 117 'sources': [
335 'public/c/environment/async_waiter.h', 118 'public/c/environment/async_waiter.h',
336 'public/c/environment/logger.h', 119 'public/c/environment/logger.h',
337 'public/cpp/environment/environment.h', 120 'public/cpp/environment/environment.h',
338 'public/cpp/environment/lib/default_async_waiter.cc', 121 'public/cpp/environment/lib/default_async_waiter.cc',
339 'public/cpp/environment/lib/default_async_waiter.h', 122 'public/cpp/environment/lib/default_async_waiter.h',
340 'public/cpp/environment/lib/default_logger.cc', 123 'public/cpp/environment/lib/default_logger.cc',
341 'public/cpp/environment/lib/default_logger.h', 124 'public/cpp/environment/lib/default_logger.h',
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
433 }, 216 },
434 'dependencies': [ 217 'dependencies': [
435 'mojo_public_java', 218 'mojo_public_java',
436 ], 219 ],
437 'includes': [ '../build/java.gypi' ], 220 'includes': [ '../build/java.gypi' ],
438 }, 221 },
439 ], 222 ],
440 }], 223 }],
441 ], 224 ],
442 } 225 }
OLDNEW
« no previous file with comments | « mojo/mojo.gyp ('k') | mojo/mojo_public_tests.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698