| 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 345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 356 | 356 |
| 357 if (use_ozone) { | 357 if (use_ozone) { |
| 358 sources += [ "gl_image_ozone_native_pixmap_unittest.cc" ] | 358 sources += [ "gl_image_ozone_native_pixmap_unittest.cc" ] |
| 359 } | 359 } |
| 360 | 360 |
| 361 if (is_mac) { | 361 if (is_mac) { |
| 362 sources += [ "gl_image_io_surface_unittest.cc" ] | 362 sources += [ "gl_image_io_surface_unittest.cc" ] |
| 363 libs = [ "IOSurface.framework" ] | 363 libs = [ "IOSurface.framework" ] |
| 364 } | 364 } |
| 365 | 365 |
| 366 if (is_win) { |
| 367 sources += [ "wgl_api_unittest.cc" ] |
| 368 } |
| 369 |
| 366 include_dirs = [ "//third_party/khronos" ] | 370 include_dirs = [ "//third_party/khronos" ] |
| 367 | 371 |
| 368 deps = [ | 372 deps = [ |
| 369 ":gl", | 373 ":gl", |
| 370 ":gl_unittest_utils", | 374 ":gl_unittest_utils", |
| 371 ":test_support", | 375 ":test_support", |
| 372 "//base", | 376 "//base", |
| 373 "//base/test:test_support", | 377 "//base/test:test_support", |
| 374 "//testing/gmock", | 378 "//testing/gmock", |
| 375 "//testing/gtest", | 379 "//testing/gtest", |
| (...skipping 21 matching lines...) Expand all Loading... |
| 397 sources = [ | 401 sources = [ |
| 398 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", | 402 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", |
| 399 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
", | 403 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
", |
| 400 ] | 404 ] |
| 401 public_deps = [ | 405 public_deps = [ |
| 402 ":surface_jni_headers", | 406 ":surface_jni_headers", |
| 403 ] | 407 ] |
| 404 jni_package = "ui/gl" | 408 jni_package = "ui/gl" |
| 405 } | 409 } |
| 406 } | 410 } |
| OLD | NEW |