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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 "command_buffer/tests/gl_test_utils.h", | 87 "command_buffer/tests/gl_test_utils.h", |
88 "command_buffer/tests/gl_tests_main.cc", | 88 "command_buffer/tests/gl_tests_main.cc", |
89 "command_buffer/tests/gl_texture_mailbox_unittest.cc", | 89 "command_buffer/tests/gl_texture_mailbox_unittest.cc", |
90 "command_buffer/tests/gl_texture_storage_unittest.cc", | 90 "command_buffer/tests/gl_texture_storage_unittest.cc", |
91 "command_buffer/tests/gl_unittest.cc", | 91 "command_buffer/tests/gl_unittest.cc", |
92 "command_buffer/tests/gl_unittests_android.cc", | 92 "command_buffer/tests/gl_unittests_android.cc", |
93 "command_buffer/tests/gl_virtual_contexts_unittest.cc", | 93 "command_buffer/tests/gl_virtual_contexts_unittest.cc", |
94 "command_buffer/tests/occlusion_query_unittest.cc", | 94 "command_buffer/tests/occlusion_query_unittest.cc", |
95 ] | 95 ] |
96 | 96 |
97 defines = [ | 97 defines = [ "GL_GLEXT_PROTOTYPES" ] |
98 "GL_GLEXT_PROTOTYPES", | |
99 ] | |
100 | 98 |
101 deps = [ | 99 deps = [ |
102 ":gpu", | 100 ":gpu", |
103 ":test_support", | 101 ":test_support", |
104 "//base", | 102 "//base", |
105 "//base/third_party/dynamic_annotations", | 103 "//base/third_party/dynamic_annotations", |
106 "//testing/gmock", | 104 "//testing/gmock", |
107 "//testing/gtest", | 105 "//testing/gtest", |
108 "//third_party/angle:translator", | 106 "//third_party/angle:translator", |
109 "//ui/gfx", | 107 "//ui/gfx", |
110 "//ui/gfx:test_support", | 108 "//ui/gfx:test_support", |
111 "//ui/gfx/geometry", | 109 "//ui/gfx/geometry", |
112 "//ui/gl", | 110 "//ui/gl", |
113 "//gpu/command_buffer/common:gles2_utils", | 111 "//gpu/command_buffer/common:gles2_utils", |
114 "//gpu/command_buffer/client:gles2_c_lib", | 112 "//gpu/command_buffer/client:gles2_c_lib", |
115 "//gpu/command_buffer/client:gles2_implementation", | 113 "//gpu/command_buffer/client:gles2_implementation", |
116 ] | 114 ] |
117 | 115 |
118 libs = [] | 116 libs = [] |
119 | 117 |
120 if (is_android) { | 118 if (is_android) { |
121 deps += [ | 119 deps += [ "//testing/android:native_test_native_code" ] |
122 "//testing/android:native_test_native_code", | |
123 ] | |
124 libs += [ "android" ] | 120 libs += [ "android" ] |
125 } | 121 } |
| 122 |
126 # TODO(GYP) | 123 # TODO(GYP) |
127 # ['OS == "win"', { | 124 # ['OS == "win"', { |
128 # 'dependencies': [ | 125 # 'dependencies': [ |
129 # '../third_party/angle/src/build_angle.gyp:libEGL', | 126 # '../third_party/angle/src/build_angle.gyp:libEGL', |
130 # '../third_party/angle/src/build_angle.gyp:libGLESv2', | 127 # '../third_party/angle/src/build_angle.gyp:libGLESv2', |
131 # ], | 128 # ], |
132 # }], | 129 # }], |
133 } | 130 } |
134 | 131 |
135 test("gpu_unittests") { | 132 test("gpu_unittests") { |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
252 ] | 249 ] |
253 | 250 |
254 deps = [ | 251 deps = [ |
255 "//base", | 252 "//base", |
256 "//base/third_party/dynamic_annotations", | 253 "//base/third_party/dynamic_annotations", |
257 "//testing/gmock", | 254 "//testing/gmock", |
258 "//testing/gtest", | 255 "//testing/gtest", |
259 "//third_party/angle:translator_static", | 256 "//third_party/angle:translator_static", |
260 ] | 257 ] |
261 } | 258 } |
OLD | NEW |