OLD | NEW |
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 Loading... |
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 "//gpu/command_buffer/client:gles2_c_lib", |
| 67 "//gpu/command_buffer/client:gles2_implementation", |
| 68 "//gpu/command_buffer/service", |
| 69 ] |
| 70 |
| 71 defines = [ "EGLAPIENTRY=" ] |
| 72 if (current_os == "win") { |
| 73 defines += [ "EGLAPI=__declspec(dllexport)" ] |
| 74 } else { |
| 75 defines += [ "EGLAPI=__attribute__((visibility(\"default\")))" ] |
| 76 } |
| 77 } |
| 78 |
52 source_set("test_support") { | 79 source_set("test_support") { |
53 testonly = true | 80 testonly = true |
54 sources = [ | 81 sources = [ |
55 "command_buffer/client/gles2_interface_stub.cc", | 82 "command_buffer/client/gles2_interface_stub.cc", |
56 "command_buffer/client/gles2_interface_stub.h", | 83 "command_buffer/client/gles2_interface_stub.h", |
57 "command_buffer/service/error_state_mock.cc", | 84 "command_buffer/service/error_state_mock.cc", |
58 "command_buffer/service/gles2_cmd_decoder_mock.cc", | 85 "command_buffer/service/gles2_cmd_decoder_mock.cc", |
59 ] | 86 ] |
60 | 87 |
61 public_deps = [ | 88 public_deps = [ |
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
334 | 361 |
335 deps = [ | 362 deps = [ |
336 "//base/test:test_support", | 363 "//base/test:test_support", |
337 "//testing/gmock", | 364 "//testing/gmock", |
338 "//testing/gtest", | 365 "//testing/gtest", |
339 | 366 |
340 # TODO(crbug.com/519778): This needs to be implemented. | 367 # TODO(crbug.com/519778): This needs to be implemented. |
341 # "//third_party/angle:end_to_end_tests", | 368 # "//third_party/angle:end_to_end_tests", |
342 ] | 369 ] |
343 } | 370 } |
OLD | NEW |