| 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 "gl_enums_implementation_autogen.h", | 52 "gl_enums_implementation_autogen.h", |
| 53 "gl_export.h", | 53 "gl_export.h", |
| 54 "gl_fence.cc", | 54 "gl_fence.cc", |
| 55 "gl_fence.h", | 55 "gl_fence.h", |
| 56 "gl_fence_arb.cc", | 56 "gl_fence_arb.cc", |
| 57 "gl_fence_arb.h", | 57 "gl_fence_arb.h", |
| 58 "gl_fence_nv.cc", | 58 "gl_fence_nv.cc", |
| 59 "gl_fence_nv.h", | 59 "gl_fence_nv.h", |
| 60 "gl_gl_api_implementation.cc", | 60 "gl_gl_api_implementation.cc", |
| 61 "gl_gl_api_implementation.h", | 61 "gl_gl_api_implementation.h", |
| 62 "gl_helper.cc", |
| 63 "gl_helper.h", |
| 62 "gl_image.h", | 64 "gl_image.h", |
| 63 "gl_image_memory.cc", | 65 "gl_image_memory.cc", |
| 64 "gl_image_memory.h", | 66 "gl_image_memory.h", |
| 65 "gl_image_ref_counted_memory.cc", | 67 "gl_image_ref_counted_memory.cc", |
| 66 "gl_image_ref_counted_memory.h", | 68 "gl_image_ref_counted_memory.h", |
| 67 "gl_image_shared_memory.cc", | 69 "gl_image_shared_memory.cc", |
| 68 "gl_image_shared_memory.h", | 70 "gl_image_shared_memory.h", |
| 69 "gl_image_stub.cc", | 71 "gl_image_stub.cc", |
| 70 "gl_image_stub.h", | 72 "gl_image_stub.h", |
| 71 "gl_implementation.cc", | 73 "gl_implementation.cc", |
| (...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 337 sources += [ | 339 sources += [ |
| 338 "egl_api_unittest.cc", | 340 "egl_api_unittest.cc", |
| 339 "test/egl_initialization_displays_unittest.cc", | 341 "test/egl_initialization_displays_unittest.cc", |
| 340 ] | 342 ] |
| 341 } | 343 } |
| 342 | 344 |
| 343 if (use_x11) { | 345 if (use_x11) { |
| 344 sources += [ "glx_api_unittest.cc" ] | 346 sources += [ "glx_api_unittest.cc" ] |
| 345 } | 347 } |
| 346 | 348 |
| 349 if (is_mac) { |
| 350 sources += [ "gl_image_io_surface_unittest.cc" ] |
| 351 } |
| 347 include_dirs = [ "//third_party/khronos" ] | 352 include_dirs = [ "//third_party/khronos" ] |
| 348 | 353 |
| 349 deps = [ | 354 deps = [ |
| 350 ":gl", | 355 ":gl", |
| 351 ":gl_unittest_utils", | 356 ":gl_unittest_utils", |
| 352 ":test_support", | 357 ":test_support", |
| 353 "//base", | 358 "//base", |
| 354 "//base/test:test_support", | 359 "//base/test:test_support", |
| 355 "//testing/gmock", | 360 "//testing/gmock", |
| 356 "//testing/gtest", | 361 "//testing/gtest", |
| (...skipping 16 matching lines...) Expand all Loading... |
| 373 sources = [ | 378 sources = [ |
| 374 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", | 379 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", |
| 375 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
", | 380 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
", |
| 376 ] | 381 ] |
| 377 public_deps = [ | 382 public_deps = [ |
| 378 ":surface_jni_headers", | 383 ":surface_jni_headers", |
| 379 ] | 384 ] |
| 380 jni_package = "ui/gl" | 385 jni_package = "ui/gl" |
| 381 } | 386 } |
| 382 } | 387 } |
| OLD | NEW |