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

Side by Side Diff: mojo/mojo.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/gles2/gles2_support_impl.cc ('k') | mojo/mojo_apps.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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 ], 97 ],
98 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ], 98 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
99 'export_dependent_settings': [ 99 'export_dependent_settings': [
100 'mojo_base.gyp:mojo_cpp_bindings', 100 'mojo_base.gyp:mojo_cpp_bindings',
101 ], 101 ],
102 'dependencies': [ 102 'dependencies': [
103 'mojo_base.gyp:mojo_cpp_bindings', 103 'mojo_base.gyp:mojo_cpp_bindings',
104 ], 104 ],
105 }, 105 },
106 { 106 {
107 # GN version: //mojo/gles2
108 'target_name': 'mojo_gles2_impl',
109 'type': '<(component)',
110 'dependencies': [
111 '../base/base.gyp:base',
112 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations',
113 '../gpu/gpu.gyp:command_buffer_client',
114 '../gpu/gpu.gyp:command_buffer_common',
115 '../gpu/gpu.gyp:gles2_cmd_helper',
116 '../gpu/gpu.gyp:gles2_implementation',
117 'mojo_base.gyp:mojo_environment_chromium',
118 'mojo_gles2',
119 'mojo_gles2_bindings',
120 '<(mojo_system_for_component)',
121 ],
122 'defines': [
123 'MOJO_GLES2_IMPL_IMPLEMENTATION',
124 ],
125 'sources': [
126 'gles2/command_buffer_client_impl.cc',
127 'gles2/command_buffer_client_impl.h',
128 'gles2/gles2_impl_export.h',
129 'gles2/gles2_support_impl.cc',
130 'gles2/gles2_support_impl.h',
131 'gles2/gles2_context.cc',
132 'gles2/gles2_context.h',
133 ],
134 },
135 {
136 'target_name': 'mojo_spy', 107 'target_name': 'mojo_spy',
137 'type': 'static_library', 108 'type': 'static_library',
138 'dependencies': [ 109 'dependencies': [
139 '../base/base.gyp:base', 110 '../base/base.gyp:base',
140 '../base/base.gyp:base_static', 111 '../base/base.gyp:base_static',
141 '../net/net.gyp:http_server', 112 '../net/net.gyp:http_server',
142 '../url/url.gyp:url_lib', 113 '../url/url.gyp:url_lib',
143 'mojo_application_manager', 114 'mojo_application_manager',
144 ], 115 ],
145 'variables': { 116 'variables': {
(...skipping 17 matching lines...) Expand all
163 'type': 'static_library', 134 'type': 'static_library',
164 'dependencies': [ 135 'dependencies': [
165 '../base/base.gyp:base', 136 '../base/base.gyp:base',
166 '../base/base.gyp:base_static', 137 '../base/base.gyp:base_static',
167 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations', 138 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations',
168 '../net/net.gyp:net', 139 '../net/net.gyp:net',
169 '../url/url.gyp:url_lib', 140 '../url/url.gyp:url_lib',
170 'mojo_application_manager', 141 'mojo_application_manager',
171 'mojo_base.gyp:mojo_application_bindings', 142 'mojo_base.gyp:mojo_application_bindings',
172 'mojo_base.gyp:mojo_common_lib', 143 'mojo_base.gyp:mojo_common_lib',
144 'mojo_base.gyp:mojo_gles2_impl',
173 'mojo_base.gyp:mojo_system_impl', 145 'mojo_base.gyp:mojo_system_impl',
174 'mojo_base.gyp:mojo_application_chromium', 146 'mojo_base.gyp:mojo_application_chromium',
175 'mojo_external_service_bindings', 147 'mojo_external_service_bindings',
176 'mojo_gles2_impl',
177 'mojo_native_viewport_service', 148 'mojo_native_viewport_service',
178 'mojo_network_bindings', 149 'mojo_network_bindings',
179 'mojo_spy', 150 'mojo_spy',
180 ], 151 ],
181 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ], 152 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
182 'sources': [ 153 'sources': [
183 'shell/app_child_process.cc', 154 'shell/app_child_process.cc',
184 'shell/app_child_process.h', 155 'shell/app_child_process.h',
185 'shell/app_child_process.mojom', 156 'shell/app_child_process.mojom',
186 'shell/app_child_process_host.cc', 157 'shell/app_child_process_host.cc',
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 ], 203 ],
233 'sources': [ 204 'sources': [
234 'shell/network_application_loader.cc', 205 'shell/network_application_loader.cc',
235 'shell/network_application_loader.h', 206 'shell/network_application_loader.h',
236 ], 207 ],
237 }], 208 }],
238 ['use_aura==1', { 209 ['use_aura==1', {
239 'dependencies': [ 210 'dependencies': [
240 # These are only necessary as long as we hard code use of ViewManage r. 211 # These are only necessary as long as we hard code use of ViewManage r.
241 '../skia/skia.gyp:skia', 212 '../skia/skia.gyp:skia',
242 'mojo_gles2',
243 'mojo_view_manager', 213 'mojo_view_manager',
244 'mojo_view_manager_bindings', 214 'mojo_view_manager_bindings',
245 ], 215 ],
246 }, { # use_aura==0 216 }, { # use_aura==0
247 'sources!': [ 217 'sources!': [
248 'shell/view_manager_loader.cc', 218 'shell/view_manager_loader.cc',
249 'shell/view_manager_loader.h', 219 'shell/view_manager_loader.h',
250 ], 220 ],
251 }], 221 }],
252 ], 222 ],
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
386 }, 356 },
387 { 357 {
388 # GN version: //mojo/cc 358 # GN version: //mojo/cc
389 'target_name': 'mojo_cc_support', 359 'target_name': 'mojo_cc_support',
390 'type': 'static_library', 360 'type': 'static_library',
391 'dependencies': [ 361 'dependencies': [
392 '../base/base.gyp:base', 362 '../base/base.gyp:base',
393 '../cc/cc.gyp:cc', 363 '../cc/cc.gyp:cc',
394 '../skia/skia.gyp:skia', 364 '../skia/skia.gyp:skia',
395 '../gpu/gpu.gyp:gles2_implementation', 365 '../gpu/gpu.gyp:gles2_implementation',
396 'mojo_gles2', 366 '<(mojo_gles2_for_loadable_module)',
397 ], 367 ],
398 'sources': [ 368 'sources': [
399 'cc/context_provider_mojo.cc', 369 'cc/context_provider_mojo.cc',
400 'cc/context_provider_mojo.h', 370 'cc/context_provider_mojo.h',
401 ], 371 ],
402 }, 372 },
403 ], 373 ],
404 'conditions': [ 374 'conditions': [
405 ['OS=="android"', { 375 ['OS=="android"', {
406 'targets': [ 376 'targets': [
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
483 'type': 'static_library', 453 'type': 'static_library',
484 'dependencies': [ 454 'dependencies': [
485 '../cc/cc.gyp:cc', 455 '../cc/cc.gyp:cc',
486 '../ui/aura/aura.gyp:aura', 456 '../ui/aura/aura.gyp:aura',
487 '../ui/compositor/compositor.gyp:compositor', 457 '../ui/compositor/compositor.gyp:compositor',
488 '../ui/events/events.gyp:events', 458 '../ui/events/events.gyp:events',
489 '../ui/events/events.gyp:events_base', 459 '../ui/events/events.gyp:events_base',
490 '../ui/gl/gl.gyp:gl', 460 '../ui/gl/gl.gyp:gl',
491 '../webkit/common/gpu/webkit_gpu.gyp:webkit_gpu', 461 '../webkit/common/gpu/webkit_gpu.gyp:webkit_gpu',
492 'mojo_cc_support', 462 'mojo_cc_support',
493 'mojo_gles2',
494 'mojo_native_viewport_bindings', 463 'mojo_native_viewport_bindings',
464 '<(mojo_gles2_for_loadable_module)',
495 ], 465 ],
496 'sources': [ 466 'sources': [
497 'aura/aura_init.cc', 467 'aura/aura_init.cc',
498 'aura/aura_init.h', 468 'aura/aura_init.h',
499 'aura/context_factory_mojo.cc', 469 'aura/context_factory_mojo.cc',
500 'aura/context_factory_mojo.h', 470 'aura/context_factory_mojo.h',
501 'aura/screen_mojo.cc', 471 'aura/screen_mojo.cc',
502 'aura/screen_mojo.h', 472 'aura/screen_mojo.h',
503 'aura/window_tree_host_mojo.cc', 473 'aura/window_tree_host_mojo.cc',
504 'aura/window_tree_host_mojo.h', 474 'aura/window_tree_host_mojo.h',
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
550 'views/views_init_internal.h', 520 'views/views_init_internal.h',
551 ], 521 ],
552 'defines': [ 522 'defines': [
553 'MOJO_VIEWS_IMPLEMENTATION', 523 'MOJO_VIEWS_IMPLEMENTATION',
554 ], 524 ],
555 }, 525 },
556 ], 526 ],
557 }], 527 }],
558 ], 528 ],
559 } 529 }
OLDNEW
« no previous file with comments | « mojo/gles2/gles2_support_impl.cc ('k') | mojo/mojo_apps.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698