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 | |
340 test("gl_unittests") { | 331 test("gl_unittests") { |
341 sources = [ | 332 sources = [ |
342 "gl_api_unittest.cc", | 333 "gl_api_unittest.cc", |
343 "gl_image_ref_counted_memory_unittest.cc", | 334 "gl_image_ref_counted_memory_unittest.cc", |
344 "gl_image_shared_memory_unittest.cc", | 335 "gl_image_shared_memory_unittest.cc", |
345 "gpu_timing_unittest.cc", | 336 "gpu_timing_unittest.cc", |
346 "test/run_all_unittests.cc", | 337 "test/run_all_unittests.cc", |
347 ] | 338 ] |
348 | 339 |
349 if (is_win || is_android || is_linux) { | 340 if (is_win || is_android || is_linux) { |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
398 sources = [ | 389 sources = [ |
399 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", | 390 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", |
400 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
", | 391 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
", |
401 ] | 392 ] |
402 public_deps = [ | 393 public_deps = [ |
403 ":surface_jni_headers", | 394 ":surface_jni_headers", |
404 ] | 395 ] |
405 jni_package = "ui/gl" | 396 jni_package = "ui/gl" |
406 } | 397 } |
407 } | 398 } |
OLD | NEW |