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/test:test_support", | 103 "//base/test:test_support", |
106 "//base/third_party/dynamic_annotations", | 104 "//base/third_party/dynamic_annotations", |
107 "//testing/gmock", | 105 "//testing/gmock", |
108 "//testing/gtest", | 106 "//testing/gtest", |
109 "//third_party/angle:translator", | 107 "//third_party/angle:translator", |
110 "//ui/gfx", | 108 "//ui/gfx", |
111 "//ui/gfx:test_support", | 109 "//ui/gfx:test_support", |
112 "//ui/gfx/geometry", | 110 "//ui/gfx/geometry", |
113 "//ui/gl", | 111 "//ui/gl", |
114 "//gpu/command_buffer/common:gles2_utils", | 112 "//gpu/command_buffer/common:gles2_utils", |
115 "//gpu/command_buffer/client:gles2_c_lib", | 113 "//gpu/command_buffer/client:gles2_c_lib", |
116 "//gpu/command_buffer/client:gles2_implementation", | 114 "//gpu/command_buffer/client:gles2_implementation", |
117 ] | 115 ] |
118 | 116 |
119 libs = [] | 117 libs = [] |
120 | 118 |
121 if (is_android) { | 119 if (is_android) { |
122 deps += [ | 120 deps += [ "//testing/android:native_test_native_code" ] |
123 "//testing/android:native_test_native_code", | |
124 ] | |
125 libs += [ "android" ] | 121 libs += [ "android" ] |
126 } | 122 } |
| 123 |
127 # TODO(GYP) | 124 # TODO(GYP) |
128 # ['OS == "win"', { | 125 # ['OS == "win"', { |
129 # 'dependencies': [ | 126 # 'dependencies': [ |
130 # '../third_party/angle/src/build_angle.gyp:libEGL', | 127 # '../third_party/angle/src/build_angle.gyp:libEGL', |
131 # '../third_party/angle/src/build_angle.gyp:libGLESv2', | 128 # '../third_party/angle/src/build_angle.gyp:libGLESv2', |
132 # ], | 129 # ], |
133 # }], | 130 # }], |
134 } | 131 } |
135 | 132 |
136 test("gpu_unittests") { | 133 test("gpu_unittests") { |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
254 | 251 |
255 deps = [ | 252 deps = [ |
256 "//base", | 253 "//base", |
257 "//base/test:test_support", | 254 "//base/test:test_support", |
258 "//base/third_party/dynamic_annotations", | 255 "//base/third_party/dynamic_annotations", |
259 "//testing/gmock", | 256 "//testing/gmock", |
260 "//testing/gtest", | 257 "//testing/gtest", |
261 "//third_party/angle:translator_static", | 258 "//third_party/angle:translator_static", |
262 ] | 259 ] |
263 } | 260 } |
OLD | NEW |