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 import("//build/config/ui.gni") | 5 import("//build/config/ui.gni") |
6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
7 | 7 |
8 if (is_android) { | 8 if (is_android) { |
9 import("//build/config/android/config.gni") | 9 import("//build/config/android/config.gni") |
10 import("//build/config/android/rules.gni") | 10 import("//build/config/android/rules.gni") |
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
281 "gl_mock_autogen_gl.h", | 281 "gl_mock_autogen_gl.h", |
282 "gpu_timing_fake.cc", | 282 "gpu_timing_fake.cc", |
283 "gpu_timing_fake.h", | 283 "gpu_timing_fake.h", |
284 ] | 284 ] |
285 | 285 |
286 configs += [ "//third_party/khronos:khronos_headers" ] | 286 configs += [ "//third_party/khronos:khronos_headers" ] |
287 | 287 |
288 deps = [ | 288 deps = [ |
289 ":gl", | 289 ":gl", |
290 "//testing/gmock", | 290 "//testing/gmock", |
| 291 "//testing/gtest", |
291 ] | 292 ] |
292 } | 293 } |
293 | 294 |
294 source_set("test_support") { | 295 source_set("test_support") { |
295 testonly = true | 296 testonly = true |
296 sources = [ | 297 sources = [ |
297 "test/gl_image_test_support.cc", | 298 "test/gl_image_test_support.cc", |
298 "test/gl_image_test_support.h", | 299 "test/gl_image_test_support.h", |
299 "test/gl_image_test_template.h", | 300 "test/gl_image_test_template.h", |
300 "test/gl_surface_test_support.cc", | 301 "test/gl_surface_test_support.cc", |
301 "test/gl_surface_test_support.h", | 302 "test/gl_surface_test_support.h", |
302 "test/gl_test_helper.cc", | 303 "test/gl_test_helper.cc", |
303 "test/gl_test_helper.h", | 304 "test/gl_test_helper.h", |
304 ] | 305 ] |
305 | 306 |
306 configs += [ "//third_party/khronos:khronos_headers" ] | 307 configs += [ "//third_party/khronos:khronos_headers" ] |
307 | 308 |
| 309 public_deps = [ |
| 310 ":gl", |
| 311 ] |
308 deps = [ | 312 deps = [ |
309 ":gl", | |
310 "//testing/gtest", | 313 "//testing/gtest", |
311 ] | 314 ] |
312 | 315 |
313 if (use_x11) { | 316 if (use_x11) { |
314 configs += [ "//build/config/linux:x11" ] | 317 configs += [ "//build/config/linux:x11" ] |
315 deps += [ | 318 deps += [ |
316 "//ui/gfx/x", | 319 "//ui/gfx/x", |
317 "//ui/platform_window/x11", | 320 "//ui/platform_window/x11", |
318 ] | 321 ] |
319 } | 322 } |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
389 sources = [ | 392 sources = [ |
390 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", | 393 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", |
391 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
", | 394 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
", |
392 ] | 395 ] |
393 public_deps = [ | 396 public_deps = [ |
394 ":surface_jni_headers", | 397 ":surface_jni_headers", |
395 ] | 398 ] |
396 jni_package = "ui/gl" | 399 jni_package = "ui/gl" |
397 } | 400 } |
398 } | 401 } |
OLD | NEW |