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