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