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

Side by Side Diff: gpu/gpu.gyp

Issue 1220883008: Add command_buffer_gles2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixed another comment Created 5 years, 3 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
« gpu/BUILD.gn ('K') | « gpu/gles2_conform_support/egl/egl.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 'variables': { 6 'variables': {
7 'nacl_win64_target': 0, 7 'nacl_win64_target': 0,
8 }, 8 },
9 'includes': [ 9 'includes': [
10 'gpu_common.gypi', 10 'gpu_common.gypi',
(...skipping 397 matching lines...) Expand 10 before | Expand all | Expand 10 after
408 'include_dirs': [ 408 'include_dirs': [
409 '..', 409 '..',
410 ], 410 ],
411 'sources': [ 411 'sources': [
412 'command_buffer/client/gles2_interface_stub.cc', 412 'command_buffer/client/gles2_interface_stub.cc',
413 'command_buffer/client/gles2_interface_stub.h', 413 'command_buffer/client/gles2_interface_stub.h',
414 'command_buffer/service/error_state_mock.cc', 414 'command_buffer/service/error_state_mock.cc',
415 'command_buffer/service/gles2_cmd_decoder_mock.cc', 415 'command_buffer/service/gles2_cmd_decoder_mock.cc',
416 ], 416 ],
417 }, 417 },
418 {
419 # GN version: //gpu:command_buffer_gles2
420 'target_name': 'command_buffer_gles2',
421 'type': 'shared_library',
422 'dependencies': [
423 '../base/base.gyp:base',
424 '../gpu/gpu.gyp:command_buffer_service',
425 '../ui/gfx/gfx.gyp:gfx_geometry',
426 '../ui/gl/gl.gyp:gl',
427 'gles2_c_lib',
428 'gles2_implementation',
429 ],
430 'sources': [
431 # Note: sources list duplicated in GN build.
432 # TODO(hendrikw): Move egl out of gles2_conform_support.
433 'gles2_conform_support/egl/config.cc',
434 'gles2_conform_support/egl/config.h',
435 'gles2_conform_support/egl/display.cc',
436 'gles2_conform_support/egl/display.h',
437 'gles2_conform_support/egl/egl.cc',
438 'gles2_conform_support/egl/surface.cc',
439 'gles2_conform_support/egl/surface.h',
440 ],
441 'conditions': [
442 ['OS=="win"', {
443 'defines': [
444 'COMMAND_BUFFER_GLES_LIB_SUPPORT_ONLY',
445 'EGLAPIENTRY=',
446 'EGLAPI=__declspec(dllexport)',
447 ],
448 }, { # OS!="win"
449 'defines': [
450 'COMMAND_BUFFER_GLES_LIB_SUPPORT_ONLY',
451 'EGLAPIENTRY=',
452 'EGLAPI=__attribute__((visibility(\"default\")))'
453 ],
454 }, ],
455 ],
456 }
418 ], 457 ],
419 'conditions': [ 458 'conditions': [
420 ['component=="static_library"', { 459 ['component=="static_library"', {
421 'targets': [ 460 'targets': [
422 { 461 {
423 # GN version: //gpu/command_buffer/service:disk_cache_proto 462 # GN version: //gpu/command_buffer/service:disk_cache_proto
424 'target_name': 'disk_cache_proto', 463 'target_name': 'disk_cache_proto',
425 'type': 'static_library', 464 'type': 'static_library',
426 'sources': [ 'command_buffer/service/disk_cache_proto.proto' ], 465 'sources': [ 'command_buffer/service/disk_cache_proto.proto' ],
427 'variables': { 466 'variables': {
(...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after
804 '../third_party/angle/build/common_defines.gypi', 843 '../third_party/angle/build/common_defines.gypi',
805 ], 844 ],
806 'sources': [ 845 'sources': [
807 'angle_deqp_tests_main.cc', 846 'angle_deqp_tests_main.cc',
808 ], 847 ],
809 }, 848 },
810 ], 849 ],
811 }] 850 }]
812 ], 851 ],
813 } 852 }
OLDNEW
« gpu/BUILD.gn ('K') | « gpu/gles2_conform_support/egl/egl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698