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 338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
349 } | 349 } |
350 | 350 |
351 if (use_ozone) { | 351 if (use_ozone) { |
352 sources += [ "gl_image_ozone_native_pixmap_unittest.cc" ] | 352 sources += [ "gl_image_ozone_native_pixmap_unittest.cc" ] |
353 } | 353 } |
354 | 354 |
355 if (is_mac) { | 355 if (is_mac) { |
356 sources += [ "gl_image_io_surface_unittest.cc" ] | 356 sources += [ "gl_image_io_surface_unittest.cc" ] |
357 } | 357 } |
358 | 358 |
| 359 if (is_android) { |
| 360 sources += [ "gl_image_surface_texture_unittest.cc" ] |
| 361 } |
| 362 |
359 include_dirs = [ "//third_party/khronos" ] | 363 include_dirs = [ "//third_party/khronos" ] |
360 | 364 |
361 deps = [ | 365 deps = [ |
362 ":gl", | 366 ":gl", |
363 ":gl_unittest_utils", | 367 ":gl_unittest_utils", |
364 ":test_support", | 368 ":test_support", |
365 "//base", | 369 "//base", |
366 "//base/test:test_support", | 370 "//base/test:test_support", |
367 "//testing/gmock", | 371 "//testing/gmock", |
368 "//testing/gtest", | 372 "//testing/gtest", |
(...skipping 20 matching lines...) Expand all Loading... |
389 sources = [ | 393 sources = [ |
390 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", | 394 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", |
391 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
", | 395 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
", |
392 ] | 396 ] |
393 public_deps = [ | 397 public_deps = [ |
394 ":surface_jni_headers", | 398 ":surface_jni_headers", |
395 ] | 399 ] |
396 jni_package = "ui/gl" | 400 jni_package = "ui/gl" |
397 } | 401 } |
398 } | 402 } |
OLD | NEW |