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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 "//gpu/ipc/service:ipc_service_sources", | 50 "//gpu/ipc/service:ipc_service_sources", |
51 ] | 51 ] |
52 } | 52 } |
53 | 53 |
54 # GYP version: //gpu/gpu.gyp:command_buffer_gles2 | 54 # GYP version: //gpu/gpu.gyp:command_buffer_gles2 |
55 shared_library("command_buffer_gles2") { | 55 shared_library("command_buffer_gles2") { |
56 sources = [ | 56 sources = [ |
57 # TODO(hendrikw): Move egl out of gles2_conform_support. | 57 # TODO(hendrikw): Move egl out of gles2_conform_support. |
58 "gles2_conform_support/egl/config.cc", | 58 "gles2_conform_support/egl/config.cc", |
59 "gles2_conform_support/egl/config.h", | 59 "gles2_conform_support/egl/config.h", |
60 "gles2_conform_support/egl/context.cc", | |
61 "gles2_conform_support/egl/context.h", | |
62 "gles2_conform_support/egl/display.cc", | 60 "gles2_conform_support/egl/display.cc", |
63 "gles2_conform_support/egl/display.h", | 61 "gles2_conform_support/egl/display.h", |
64 "gles2_conform_support/egl/egl.cc", | 62 "gles2_conform_support/egl/egl.cc", |
65 "gles2_conform_support/egl/surface.cc", | 63 "gles2_conform_support/egl/surface.cc", |
66 "gles2_conform_support/egl/surface.h", | 64 "gles2_conform_support/egl/surface.h", |
67 "gles2_conform_support/egl/test_support.cc", | 65 "gles2_conform_support/egl/test_support.cc", |
68 "gles2_conform_support/egl/test_support.h", | 66 "gles2_conform_support/egl/test_support.h", |
69 "gles2_conform_support/egl/thread_state.cc", | |
70 "gles2_conform_support/egl/thread_state.h", | |
71 ] | 67 ] |
72 | 68 |
73 deps = [ | 69 deps = [ |
74 ":gpu", | 70 ":gpu", |
75 "//base", | 71 "//base", |
76 "//gpu/command_buffer/client:gles2_c_lib", | 72 "//gpu/command_buffer/client:gles2_c_lib", |
77 "//gpu/command_buffer/client:gles2_implementation", | 73 "//gpu/command_buffer/client:gles2_implementation", |
78 "//gpu/command_buffer/common:gles2_utils", | |
79 "//ui/gl:gl", | 74 "//ui/gl:gl", |
80 ] | 75 ] |
81 | 76 |
82 defines = [ | 77 defines = [ |
83 "COMMAND_BUFFER_GLES_LIB_SUPPORT_ONLY", | 78 "COMMAND_BUFFER_GLES_LIB_SUPPORT_ONLY", |
84 "EGLAPIENTRY=", | 79 "EGLAPIENTRY=", |
85 ] | 80 ] |
86 if (current_os == "win") { | 81 if (current_os == "win") { |
87 defines += [ "EGLAPI=__declspec(dllexport)" ] | 82 defines += [ "EGLAPI=__declspec(dllexport)" ] |
88 } else { | 83 } else { |
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
367 "//base", | 362 "//base", |
368 "//base/test:test_support", | 363 "//base/test:test_support", |
369 "//gpu/command_buffer/service", | 364 "//gpu/command_buffer/service", |
370 "//testing/gmock", | 365 "//testing/gmock", |
371 "//testing/gtest", | 366 "//testing/gtest", |
372 "//testing/perf", | 367 "//testing/perf", |
373 "//ui/gfx/geometry", | 368 "//ui/gfx/geometry", |
374 "//ui/gl", | 369 "//ui/gl", |
375 ] | 370 ] |
376 } | 371 } |
OLD | NEW |