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 use_egl = is_win || is_android || is_linux | 8 use_egl = is_win || is_android || is_linux |
9 use_glx = use_x11 | 9 use_glx = use_x11 |
10 | 10 |
(...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
352 if (use_glx) { | 352 if (use_glx) { |
353 sources += [ "glx_api_unittest.cc" ] | 353 sources += [ "glx_api_unittest.cc" ] |
354 } | 354 } |
355 | 355 |
356 if (use_ozone) { | 356 if (use_ozone) { |
357 sources += [ "gl_image_ozone_native_pixmap_unittest.cc" ] | 357 sources += [ "gl_image_ozone_native_pixmap_unittest.cc" ] |
358 } | 358 } |
359 | 359 |
360 if (is_mac) { | 360 if (is_mac) { |
361 sources += [ "gl_image_io_surface_unittest.cc" ] | 361 sources += [ "gl_image_io_surface_unittest.cc" ] |
| 362 libs = [ "IOSurface.framework" ] |
362 } | 363 } |
363 | 364 |
364 include_dirs = [ "//third_party/khronos" ] | 365 include_dirs = [ "//third_party/khronos" ] |
365 | 366 |
366 deps = [ | 367 deps = [ |
367 ":gl", | 368 ":gl", |
368 ":gl_unittest_utils", | 369 ":gl_unittest_utils", |
369 ":test_support", | 370 ":test_support", |
370 "//base", | 371 "//base", |
371 "//base/test:test_support", | 372 "//base/test:test_support", |
(...skipping 22 matching lines...) Expand all Loading... |
394 sources = [ | 395 sources = [ |
395 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", | 396 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", |
396 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
", | 397 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
", |
397 ] | 398 ] |
398 public_deps = [ | 399 public_deps = [ |
399 ":surface_jni_headers", | 400 ":surface_jni_headers", |
400 ] | 401 ] |
401 jni_package = "ui/gl" | 402 jni_package = "ui/gl" |
402 } | 403 } |
403 } | 404 } |
OLD | NEW |