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

Side by Side Diff: gpu/BUILD.gn

Issue 1319453005: Revert of Add command_buffer_gles2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « no previous file | gpu/gles2_conform_support/egl/display.h » ('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 # GYP-to-GN project mappings: 5 # GYP-to-GN project mappings:
6 # 6 #
7 # gpu.gyp:command_buffer_client => //gpu/command_buffer/client 7 # gpu.gyp:command_buffer_client => //gpu/command_buffer/client
8 # 8 #
9 # gpu.gyp:command_buffer_common => //gpu/command_buffer/common 9 # gpu.gyp:command_buffer_common => //gpu/command_buffer/common
10 # 10 #
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 public_deps = [ 42 public_deps = [
43 "//gpu/command_buffer/client:client_sources", 43 "//gpu/command_buffer/client:client_sources",
44 "//gpu/command_buffer/client:gles2_cmd_helper_sources", 44 "//gpu/command_buffer/client:gles2_cmd_helper_sources",
45 "//gpu/command_buffer/common:common_sources", 45 "//gpu/command_buffer/common:common_sources",
46 "//gpu/command_buffer/service:service_sources", 46 "//gpu/command_buffer/service:service_sources",
47 "//gpu/config:config_sources", 47 "//gpu/config:config_sources",
48 "//gpu/ipc:ipc_sources", 48 "//gpu/ipc:ipc_sources",
49 ] 49 ]
50 } 50 }
51 51
52 # GYP version: //gpu/gpu.gyp:command_buffer_gles2
53 shared_library("command_buffer_gles2") {
54 sources = [
55 # TODO(hendrikw): Move egl out of gles2_conform_support.
56 "gles2_conform_support/egl/config.cc",
57 "gles2_conform_support/egl/config.h",
58 "gles2_conform_support/egl/display.cc",
59 "gles2_conform_support/egl/display.h",
60 "gles2_conform_support/egl/egl.cc",
61 "gles2_conform_support/egl/surface.cc",
62 "gles2_conform_support/egl/surface.h",
63 ]
64
65 deps = [
66 "//base",
67 "//gpu/command_buffer/client:client_sources",
68 "//gpu/command_buffer/client:gles2_c_lib",
69 "//gpu/command_buffer/client:gles2_cmd_helper_sources",
70 "//gpu/command_buffer/client:gles2_implementation",
71 "//gpu/command_buffer/service",
72 "//ui/gl:gl",
73 ]
74
75 defines = [ "EGLAPIENTRY=" ]
76 if (current_os == "win") {
77 defines += [ "EGLAPI=__declspec(dllexport)" ]
78 } else {
79 defines += [ "EGLAPI=__attribute__((visibility(\"default\")))" ]
80 }
81 }
82
83 source_set("test_support") { 52 source_set("test_support") {
84 testonly = true 53 testonly = true
85 sources = [ 54 sources = [
86 "command_buffer/client/gles2_interface_stub.cc", 55 "command_buffer/client/gles2_interface_stub.cc",
87 "command_buffer/client/gles2_interface_stub.h", 56 "command_buffer/client/gles2_interface_stub.h",
88 "command_buffer/service/error_state_mock.cc", 57 "command_buffer/service/error_state_mock.cc",
89 "command_buffer/service/gles2_cmd_decoder_mock.cc", 58 "command_buffer/service/gles2_cmd_decoder_mock.cc",
90 ] 59 ]
91 60
92 public_deps = [ 61 public_deps = [
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
365 334
366 deps = [ 335 deps = [
367 "//base/test:test_support", 336 "//base/test:test_support",
368 "//testing/gmock", 337 "//testing/gmock",
369 "//testing/gtest", 338 "//testing/gtest",
370 339
371 # TODO(crbug.com/519778): This needs to be implemented. 340 # TODO(crbug.com/519778): This needs to be implemented.
372 # "//third_party/angle:end_to_end_tests", 341 # "//third_party/angle:end_to_end_tests",
373 ] 342 ]
374 } 343 }
OLDNEW
« no previous file with comments | « no previous file | gpu/gles2_conform_support/egl/display.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698