Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(269)

Side by Side Diff: ui/gl/BUILD.gn

Issue 1248673005: Add GN isolate support for a bunch of unittests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@some_isolates
Patch Set: merge to HEAD Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ui/compositor/BUILD.gn ('k') | url/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 283 matching lines...) Expand 10 before | Expand all | Expand 10 after
294 294
295 if (use_x11) { 295 if (use_x11) {
296 configs += [ "//build/config/linux:x11" ] 296 configs += [ "//build/config/linux:x11" ]
297 deps += [ 297 deps += [
298 "//ui/gfx/x", 298 "//ui/gfx/x",
299 "//ui/platform_window/x11", 299 "//ui/platform_window/x11",
300 ] 300 ]
301 } 301 }
302 } 302 }
303 303
304 # TODO(GYP): Delete this after we've converted everything to GN.
305 # The _run targets exist only for compatibility w/ GYP.
306 group("gl_unittests_run") {
307 testonly = true
308 deps = [
309 ":gl_unittests",
310 ]
311 }
312
304 test("gl_unittests") { 313 test("gl_unittests") {
305 sources = [ 314 sources = [
306 "gl_api_unittest.cc", 315 "gl_api_unittest.cc",
307 "gpu_timing_unittest.cc", 316 "gpu_timing_unittest.cc",
308 "test/run_all_unittests.cc", 317 "test/run_all_unittests.cc",
309 ] 318 ]
310 319
311 if (is_win || is_android || is_linux) { 320 if (is_win || is_android || is_linux) {
312 sources += [ 321 sources += [
313 "egl_api_unittest.cc", 322 "egl_api_unittest.cc",
(...skipping 24 matching lines...) Expand all
338 deps = [ 347 deps = [
339 ":surface_jni_headers", 348 ":surface_jni_headers",
340 ] 349 ]
341 sources = [ 350 sources = [
342 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", 351 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java",
343 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java ", 352 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java ",
344 ] 353 ]
345 jni_package = "ui/gl" 354 jni_package = "ui/gl"
346 } 355 }
347 } 356 }
OLDNEW
« no previous file with comments | « ui/compositor/BUILD.gn ('k') | url/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698