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

Side by Side Diff: gpu/BUILD.gn

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
« 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:gles2_c_lib",
68 "//gpu/command_buffer/client:gles2_implementation",
69 "//gpu/command_buffer/service",
70 "//ui/gl:gl",
71 ]
72
73 if (!is_component_build) {
Nico 2015/12/21 16:48:46 Why is this conditional here? This seems wrong at
74 deps += [
75 "//gpu/command_buffer/client:client_sources",
76 "//gpu/command_buffer/client:gles2_cmd_helper_sources",
77 ]
78 }
79
80 defines = [
81 "COMMAND_BUFFER_GLES_LIB_SUPPORT_ONLY",
82 "EGLAPIENTRY=",
83 ]
84 if (current_os == "win") {
85 defines += [ "EGLAPI=__declspec(dllexport)" ]
86 } else {
87 defines += [ "EGLAPI=__attribute__((visibility(\"default\")))" ]
88 }
89 }
90
52 source_set("test_support") { 91 source_set("test_support") {
53 testonly = true 92 testonly = true
54 sources = [ 93 sources = [
55 "command_buffer/client/gles2_interface_stub.cc", 94 "command_buffer/client/gles2_interface_stub.cc",
56 "command_buffer/client/gles2_interface_stub.h", 95 "command_buffer/client/gles2_interface_stub.h",
57 "command_buffer/service/error_state_mock.cc", 96 "command_buffer/service/error_state_mock.cc",
58 "command_buffer/service/gles2_cmd_decoder_mock.cc", 97 "command_buffer/service/gles2_cmd_decoder_mock.cc",
59 ] 98 ]
60 99
61 public_deps = [ 100 public_deps = [
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
334 373
335 deps = [ 374 deps = [
336 "//base/test:test_support", 375 "//base/test:test_support",
337 "//testing/gmock", 376 "//testing/gmock",
338 "//testing/gtest", 377 "//testing/gtest",
339 378
340 # TODO(crbug.com/519778): This needs to be implemented. 379 # TODO(crbug.com/519778): This needs to be implemented.
341 # "//third_party/angle:end_to_end_tests", 380 # "//third_party/angle:end_to_end_tests",
342 ] 381 ]
343 } 382 }
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