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

Side by Side Diff: mojo/mojo.gyp

Issue 413303002: mojo: Convert gles2 to the new thunking system (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add forgotten file. 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/gles2/gles2_support_impl.cc ('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 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 'target_defaults': { 6 'target_defaults': {
7 'conditions': [ 7 'conditions': [
8 ['mojo_shell_debug_url != ""', { 8 ['mojo_shell_debug_url != ""', {
9 'defines': [ 9 'defines': [
10 'MOJO_SHELL_DEBUG=1', 10 'MOJO_SHELL_DEBUG=1',
(...skipping 23 matching lines...) Expand all
34 # NOTE: component != "shared_library" implies that we are generating a 34 # NOTE: component != "shared_library" implies that we are generating a
35 # static library, and in that case, it is expected that the target 35 # static library, and in that case, it is expected that the target
36 # listing the component as a dependency will specify either mojo_system 36 # listing the component as a dependency will specify either mojo_system
37 # or mojo_system_impl to link against. This enables multiple targets to 37 # or mojo_system_impl to link against. This enables multiple targets to
38 # link against the same component library without having to agree on 38 # link against the same component library without having to agree on
39 # which Mojo system library they are using. 39 # which Mojo system library they are using.
40 # 40 #
41 ['component=="shared_library"', { 41 ['component=="shared_library"', {
42 'mojo_system_for_component': "mojo_system_impl", 42 'mojo_system_for_component': "mojo_system_impl",
43 'mojo_system_for_loadable_module': "mojo_system_impl", 43 'mojo_system_for_loadable_module': "mojo_system_impl",
44 'mojo_gles2_for_component': "mojo_gles2_impl",
45 'mojo_gles2_for_loadable_module': "mojo_gles2_impl",
44 }, { 46 }, {
45 'mojo_system_for_component': "mojo_none", 47 'mojo_system_for_component': "mojo_none",
46 'mojo_system_for_loadable_module': "mojo_system", 48 'mojo_system_for_loadable_module': "mojo_system",
49 'mojo_gles2_for_component': "mojo_none",
50 'mojo_gles2_for_loadable_module': "mojo_gles2",
47 }], 51 }],
48 ], 52 ],
49 }, 53 },
50 'includes': [ 54 'includes': [
51 'mojo_apps.gypi', 55 'mojo_apps.gypi',
52 'mojo_examples.gypi', 56 'mojo_examples.gypi',
53 'mojo_public.gypi', 57 'mojo_public.gypi',
54 'mojo_public_tests.gypi', 58 'mojo_public_tests.gypi',
55 'mojo_services.gypi', 59 'mojo_services.gypi',
56 ], 60 ],
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after
335 # GN version: //mojo/gles2 339 # GN version: //mojo/gles2
336 'target_name': 'mojo_gles2_impl', 340 'target_name': 'mojo_gles2_impl',
337 'type': '<(component)', 341 'type': '<(component)',
338 'dependencies': [ 342 'dependencies': [
339 '../base/base.gyp:base', 343 '../base/base.gyp:base',
340 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations', 344 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations',
341 '../gpu/gpu.gyp:command_buffer_client', 345 '../gpu/gpu.gyp:command_buffer_client',
342 '../gpu/gpu.gyp:command_buffer_common', 346 '../gpu/gpu.gyp:command_buffer_common',
343 '../gpu/gpu.gyp:gles2_cmd_helper', 347 '../gpu/gpu.gyp:gles2_cmd_helper',
344 '../gpu/gpu.gyp:gles2_implementation', 348 '../gpu/gpu.gyp:gles2_implementation',
345 'mojo_gles2',
346 'mojo_gles2_bindings', 349 'mojo_gles2_bindings',
347 'mojo_environment_chromium', 350 'mojo_environment_chromium',
348 '<(mojo_system_for_component)', 351 '<(mojo_system_for_component)',
349 ], 352 ],
350 'defines': [ 353 'defines': [
351 'MOJO_GLES2_IMPL_IMPLEMENTATION', 354 'MOJO_GLES2_IMPL_IMPLEMENTATION',
355 'MOJO_GLES2_IMPLEMENTATION',
356 'GLES2_USE_MOJO',
357 'MOJO_USE_GLES2_IMPL'
352 ], 358 ],
359 'direct_dependent_settings': {
360 'defines': [
361 'GLES2_USE_MOJO',
362 ],
363 },
353 'sources': [ 364 'sources': [
354 'gles2/command_buffer_client_impl.cc', 365 'gles2/command_buffer_client_impl.cc',
355 'gles2/command_buffer_client_impl.h', 366 'gles2/command_buffer_client_impl.h',
356 'gles2/gles2_impl_export.h', 367 'gles2/gles2_impl_export.h',
357 'gles2/gles2_support_impl.cc', 368 'gles2/gles2_impl.cc',
358 'gles2/gles2_support_impl.h',
359 'gles2/gles2_context.cc', 369 'gles2/gles2_context.cc',
360 'gles2/gles2_context.h', 370 'gles2/gles2_context.h',
361 ], 371 ],
372 'all_dependent_settings': {
373 # Ensures that dependent projects import the core functions on Windows.
374 'defines': ['MOJO_USE_GLES2_IMPL'],
375 }
362 }, 376 },
363 { 377 {
364 'target_name': 'mojo_test_support_impl', 378 'target_name': 'mojo_test_support_impl',
365 'type': 'static_library', 379 'type': 'static_library',
366 'dependencies': [ 380 'dependencies': [
367 '../base/base.gyp:base', 381 '../base/base.gyp:base',
368 ], 382 ],
369 'sources': [ 383 'sources': [
370 'common/test/test_support_impl.cc', 384 'common/test/test_support_impl.cc',
371 'common/test/test_support_impl.h', 385 'common/test/test_support_impl.h',
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
613 ], 627 ],
614 'sources': [ 628 'sources': [
615 'shell/network_service_loader.cc', 629 'shell/network_service_loader.cc',
616 'shell/network_service_loader.h', 630 'shell/network_service_loader.h',
617 ], 631 ],
618 }], 632 }],
619 ['use_aura==1', { 633 ['use_aura==1', {
620 'dependencies': [ 634 'dependencies': [
621 # These are only necessary as long as we hard code use of ViewManage r. 635 # These are only necessary as long as we hard code use of ViewManage r.
622 '../skia/skia.gyp:skia', 636 '../skia/skia.gyp:skia',
623 'mojo_gles2',
624 'mojo_view_manager', 637 'mojo_view_manager',
625 'mojo_view_manager_bindings', 638 'mojo_view_manager_bindings',
626 ], 639 ],
627 }, { # use_aura==0 640 }, { # use_aura==0
628 'sources!': [ 641 'sources!': [
629 'shell/view_manager_loader.cc', 642 'shell/view_manager_loader.cc',
630 'shell/view_manager_loader.h', 643 'shell/view_manager_loader.h',
631 ], 644 ],
632 }], 645 }],
633 ], 646 ],
(...skipping 421 matching lines...) Expand 10 before | Expand all | Expand 10 after
1055 'views/views_init_internal.h', 1068 'views/views_init_internal.h',
1056 ], 1069 ],
1057 'defines': [ 1070 'defines': [
1058 'MOJO_VIEWS_IMPLEMENTATION', 1071 'MOJO_VIEWS_IMPLEMENTATION',
1059 ], 1072 ],
1060 }, 1073 },
1061 ], 1074 ],
1062 }], 1075 }],
1063 ], 1076 ],
1064 } 1077 }
OLDNEW
« no previous file with comments | « mojo/gles2/gles2_support_impl.cc ('k') | mojo/mojo_examples.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698