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

Side by Side Diff: mojo/public/mojo_public.gyp

Issue 665083008: Refactor bindings generation in GYP (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Rebase2 Created 6 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
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 { 5 {
6 'includes': [ 6 'includes': [
7 '../mojo_variables.gypi', 7 '../mojo_variables.gypi',
8 ], 8 ],
9 'targets': [ 9 'targets': [
10 { 10 {
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 'cpp/utility/lib/mutex.cc', 179 'cpp/utility/lib/mutex.cc',
180 'cpp/utility/lib/thread.cc', 180 'cpp/utility/lib/thread.cc',
181 ], 181 ],
182 }], 182 }],
183 ], 183 ],
184 'include_dirs': [ 184 'include_dirs': [
185 '../..', 185 '../..',
186 ], 186 ],
187 }, 187 },
188 { 188 {
189 'target_name': 'mojo_application_bindings_mojom',
190 'type': 'none',
191 'variables': {
192 'mojom_files': [
193 'interfaces/application/application.mojom',
194 'interfaces/application/service_provider.mojom',
195 'interfaces/application/shell.mojom',
196 ],
197 },
198 'includes': [ 'tools/bindings/mojom_bindings_generator_explicit.gypi' ],
199 },
200 {
189 # GN version: //mojo/public/interfaces/application:application 201 # GN version: //mojo/public/interfaces/application:application
190 'target_name': 'mojo_application_bindings', 202 'target_name': 'mojo_application_bindings',
191 'type': 'static_library', 203 'type': 'static_library',
192 'sources': [
193 'interfaces/application/application.mojom',
194 'interfaces/application/service_provider.mojom',
195 'interfaces/application/shell.mojom',
196 ],
197 'includes': [ 'tools/bindings/mojom_bindings_generator.gypi' ],
198 'dependencies': [ 204 'dependencies': [
205 'mojo_application_bindings_mojom',
199 'mojo_cpp_bindings', 206 'mojo_cpp_bindings',
200 ], 207 ],
201 'export_dependent_settings': [ 208 'export_dependent_settings': [
202 'mojo_cpp_bindings', 209 'mojo_cpp_bindings',
203 ], 210 ],
204 }, 211 },
205 { 212 {
206 # GN version: //mojo/public/cpp/application 213 # GN version: //mojo/public/cpp/application
207 'target_name': 'mojo_application_base', 214 'target_name': 'mojo_application_base',
208 'type': 'static_library', 215 'type': 'static_library',
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 'type': 'static_library', 311 'type': 'static_library',
305 'dependencies': [ 312 'dependencies': [
306 '../../base/base.gyp:base', 313 '../../base/base.gyp:base',
307 ], 314 ],
308 'sources': [ 315 'sources': [
309 'cpp/bindings/tests/validation_test_input_parser.cc', 316 'cpp/bindings/tests/validation_test_input_parser.cc',
310 'cpp/bindings/tests/validation_test_input_parser.h', 317 'cpp/bindings/tests/validation_test_input_parser.h',
311 ], 318 ],
312 }, 319 },
313 { 320 {
321 'target_name': 'mojo_public_test_interfaces_mojom',
322 'type': 'none',
323 'variables': {
324 'mojom_files': [
325 'interfaces/bindings/tests/math_calculator.mojom',
326 'interfaces/bindings/tests/no_module.mojom',
327 'interfaces/bindings/tests/rect.mojom',
328 'interfaces/bindings/tests/regression_tests.mojom',
329 'interfaces/bindings/tests/sample_factory.mojom',
330 'interfaces/bindings/tests/sample_import.mojom',
331 'interfaces/bindings/tests/sample_import2.mojom',
332 'interfaces/bindings/tests/sample_interfaces.mojom',
333 'interfaces/bindings/tests/sample_service.mojom',
334 'interfaces/bindings/tests/serialization_test_structs.mojom',
335 'interfaces/bindings/tests/test_structs.mojom',
336 'interfaces/bindings/tests/validation_test_interfaces.mojom',
337 ],
338 },
339 'includes': [ 'tools/bindings/mojom_bindings_generator_explicit.gypi' ],
340 },
341 {
314 # GN version: //mojo/public/interfaces/bindings/tests:test_interfaces 342 # GN version: //mojo/public/interfaces/bindings/tests:test_interfaces
315 'target_name': 'mojo_public_test_interfaces', 343 'target_name': 'mojo_public_test_interfaces',
316 'type': 'static_library', 344 'type': 'static_library',
317 'sources': [
318 'interfaces/bindings/tests/math_calculator.mojom',
319 'interfaces/bindings/tests/no_module.mojom',
320 'interfaces/bindings/tests/rect.mojom',
321 'interfaces/bindings/tests/regression_tests.mojom',
322 'interfaces/bindings/tests/sample_factory.mojom',
323 'interfaces/bindings/tests/sample_import.mojom',
324 'interfaces/bindings/tests/sample_import2.mojom',
325 'interfaces/bindings/tests/sample_interfaces.mojom',
326 'interfaces/bindings/tests/sample_service.mojom',
327 'interfaces/bindings/tests/serialization_test_structs.mojom',
328 'interfaces/bindings/tests/test_structs.mojom',
329 'interfaces/bindings/tests/validation_test_interfaces.mojom',
330 ],
331 'includes': [ 'tools/bindings/mojom_bindings_generator.gypi' ],
332 'export_dependent_settings': [ 345 'export_dependent_settings': [
333 'mojo_cpp_bindings', 346 'mojo_cpp_bindings',
334 ], 347 ],
335 'dependencies': [ 348 'dependencies': [
349 'mojo_public_test_interfaces_mojom',
336 'mojo_cpp_bindings', 350 'mojo_cpp_bindings',
337 ], 351 ],
338 }, 352 },
339 ], 353 ],
340 'conditions': [ 354 'conditions': [
341 ['OS == "android"', { 355 ['OS == "android"', {
342 'targets': [ 356 'targets': [
343 { 357 {
344 # GN version: //mojo/public/java_system 358 # GN version: //mojo/public/java_system
345 'target_name': 'mojo_public_java', 359 'target_name': 'mojo_public_java',
(...skipping 12 matching lines...) Expand all
358 }, 372 },
359 'dependencies': [ 373 'dependencies': [
360 'mojo_public_java', 374 'mojo_public_java',
361 ], 375 ],
362 'includes': [ '../../build/java.gypi' ], 376 'includes': [ '../../build/java.gypi' ],
363 }, 377 },
364 ], 378 ],
365 }], 379 }],
366 ], 380 ],
367 } 381 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698