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 310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
321 | 321 |
322 if (use_x11) { | 322 if (use_x11) { |
323 configs += [ "//build/config/linux:x11" ] | 323 configs += [ "//build/config/linux:x11" ] |
324 deps += [ | 324 deps += [ |
325 "//ui/gfx/x", | 325 "//ui/gfx/x", |
326 "//ui/platform_window/x11", | 326 "//ui/platform_window/x11", |
327 ] | 327 ] |
328 } | 328 } |
329 } | 329 } |
330 | 330 |
| 331 # TODO(GYP): Delete this after we've converted everything to GN. |
| 332 # The _run targets exist only for compatibility w/ GYP. |
| 333 group("gl_unittests_run") { |
| 334 testonly = true |
| 335 deps = [ |
| 336 ":gl_unittests", |
| 337 ] |
| 338 } |
| 339 |
331 test("gl_unittests") { | 340 test("gl_unittests") { |
332 sources = [ | 341 sources = [ |
333 "gl_api_unittest.cc", | 342 "gl_api_unittest.cc", |
334 "gl_image_ref_counted_memory_unittest.cc", | 343 "gl_image_ref_counted_memory_unittest.cc", |
335 "gl_image_shared_memory_unittest.cc", | 344 "gl_image_shared_memory_unittest.cc", |
336 "gpu_timing_unittest.cc", | 345 "gpu_timing_unittest.cc", |
337 "test/run_all_unittests.cc", | 346 "test/run_all_unittests.cc", |
338 ] | 347 ] |
339 | 348 |
340 if (is_win || is_android || is_linux) { | 349 if (is_win || is_android || is_linux) { |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
389 sources = [ | 398 sources = [ |
390 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", | 399 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", |
391 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
", | 400 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
", |
392 ] | 401 ] |
393 public_deps = [ | 402 public_deps = [ |
394 ":surface_jni_headers", | 403 ":surface_jni_headers", |
395 ] | 404 ] |
396 jni_package = "ui/gl" | 405 jni_package = "ui/gl" |
397 } | 406 } |
398 } | 407 } |
OLD | NEW |