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

Side by Side Diff: mojo/mojo_base.gyp

Issue 460743002: mojo: Reland "Convert gles2 to the new thunking system." (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use the mojo_gles2_for_loadable_module variable in more places. Created 6 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 | Annotate | Revision Log
« no previous file with comments | « mojo/mojo_apps_js_unittests.isolate ('k') | mojo/mojo_examples.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. 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 'mojo_public.gypi', 10 'mojo_public.gypi',
(...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after
335 'environment/default_async_waiter_impl.cc', 335 'environment/default_async_waiter_impl.cc',
336 'environment/default_async_waiter_impl.h', 336 'environment/default_async_waiter_impl.h',
337 'environment/default_logger_impl.cc', 337 'environment/default_logger_impl.cc',
338 'environment/default_logger_impl.h', 338 'environment/default_logger_impl.h',
339 ], 339 ],
340 'include_dirs': [ 340 'include_dirs': [
341 '..', 341 '..',
342 ], 342 ],
343 }, 343 },
344 { 344 {
345 # GN version: //mojo/services/gles2:interfaces (for files generated from
346 # the mojom file)
347 # GN version: //mojo/services/gles2:bindings
348 'target_name': 'mojo_gles2_bindings',
349 'type': 'static_library',
350 'sources': [
351 'services/gles2/command_buffer.mojom',
352 'services/gles2/command_buffer_type_conversions.cc',
353 'services/gles2/command_buffer_type_conversions.h',
354 'services/gles2/mojo_buffer_backing.cc',
355 'services/gles2/mojo_buffer_backing.h',
356 ],
357 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
358 'export_dependent_settings': [
359 'mojo_cpp_bindings',
360 ],
361 'dependencies': [
362 'mojo_cpp_bindings',
363 '../gpu/gpu.gyp:command_buffer_common',
364 ],
365 },
366 {
367 # GN version: //mojo/gles2
368 'target_name': 'mojo_gles2_impl',
369 'type': '<(component)',
370 'dependencies': [
371 '../base/base.gyp:base',
372 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations',
373 '../gpu/gpu.gyp:command_buffer_client',
374 '../gpu/gpu.gyp:command_buffer_common',
375 '../gpu/gpu.gyp:gles2_cmd_helper',
376 '../gpu/gpu.gyp:gles2_implementation',
377 'mojo_environment_chromium',
378 'mojo_gles2_bindings',
379 '<(mojo_system_for_component)',
380 ],
381 'defines': [
382 'MOJO_GLES2_IMPL_IMPLEMENTATION',
383 'MOJO_GLES2_IMPLEMENTATION',
384 'GLES2_USE_MOJO',
385 'MOJO_USE_GLES2_IMPL'
386 ],
387 'direct_dependent_settings': {
388 'defines': [
389 'GLES2_USE_MOJO',
390 ],
391 },
392 'sources': [
393 'gles2/command_buffer_client_impl.cc',
394 'gles2/command_buffer_client_impl.h',
395 'gles2/gles2_impl_export.h',
396 'gles2/gles2_impl.cc',
397 'gles2/gles2_context.cc',
398 'gles2/gles2_context.h',
399 ],
400 'all_dependent_settings': {
401 # Ensures that dependent projects import the core functions on Windows.
402 'defines': ['MOJO_USE_GLES2_IMPL'],
403 }
404 },
405 {
345 'target_name': 'mojo_application_chromium', 406 'target_name': 'mojo_application_chromium',
346 'type': 'static_library', 407 'type': 'static_library',
347 'sources': [ 408 'sources': [
348 'public/cpp/application/lib/application_impl_chromium.cc', 409 'public/cpp/application/lib/application_impl_chromium.cc',
349 ], 410 ],
350 'dependencies': [ 411 'dependencies': [
351 'mojo_application_base', 412 'mojo_application_base',
352 ], 413 ],
353 'export_dependent_settings': [ 414 'export_dependent_settings': [
354 'mojo_application_base', 415 'mojo_application_base',
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
511 '../build/isolate.gypi', 572 '../build/isolate.gypi',
512 'mojo_js_unittests.isolate', 573 'mojo_js_unittests.isolate',
513 ], 574 ],
514 'sources': [ 575 'sources': [
515 'mojo_js_unittests.isolate', 576 'mojo_js_unittests.isolate',
516 ], 577 ],
517 }, 578 },
518 ], 579 ],
519 }], 580 }],
520 ] 581 ]
521 } 582 }
OLDNEW
« no previous file with comments | « mojo/mojo_apps_js_unittests.isolate ('k') | mojo/mojo_examples.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698