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 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
343 } | 345 } |
344 | 346 |
345 if (use_x11) { | 347 if (use_x11) { |
346 sources += [ "glx_api_unittest.cc" ] | 348 sources += [ "glx_api_unittest.cc" ] |
347 } | 349 } |
348 | 350 |
349 if (use_ozone) { | 351 if (use_ozone) { |
350 sources += [ "gl_image_ozone_native_pixmap_unittest.cc" ] | 352 sources += [ "gl_image_ozone_native_pixmap_unittest.cc" ] |
351 } | 353 } |
352 | 354 |
| 355 if (is_mac) { |
| 356 sources += [ "gl_image_io_surface_unittest.cc" ] |
| 357 } |
| 358 |
353 include_dirs = [ "//third_party/khronos" ] | 359 include_dirs = [ "//third_party/khronos" ] |
354 | 360 |
355 deps = [ | 361 deps = [ |
356 ":gl", | 362 ":gl", |
357 ":gl_unittest_utils", | 363 ":gl_unittest_utils", |
358 ":test_support", | 364 ":test_support", |
359 "//base", | 365 "//base", |
360 "//base/test:test_support", | 366 "//base/test:test_support", |
361 "//testing/gmock", | 367 "//testing/gmock", |
362 "//testing/gtest", | 368 "//testing/gtest", |
(...skipping 20 matching lines...) Expand all Loading... |
383 sources = [ | 389 sources = [ |
384 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", | 390 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", |
385 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
", | 391 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
", |
386 ] | 392 ] |
387 public_deps = [ | 393 public_deps = [ |
388 ":surface_jni_headers", | 394 ":surface_jni_headers", |
389 ] | 395 ] |
390 jni_package = "ui/gl" | 396 jni_package = "ui/gl" |
391 } | 397 } |
392 } | 398 } |
OLD | NEW |