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

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

Issue 2151013002: Convert some GN test support targets to static libs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remoting Created 4 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/gfx/BUILD.gn ('k') | ui/message_center/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/linux/pkg_config.gni") 5 import("//build/config/linux/pkg_config.gni")
6 import("//build/config/ui.gni") 6 import("//build/config/ui.gni")
7 import("//testing/test.gni") 7 import("//testing/test.gni")
8 8
9 use_egl = is_win || is_android || is_linux 9 use_egl = is_win || is_android || is_linux
10 use_glx = use_x11 10 use_glx = use_x11
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
283 283
284 libs = [ "android" ] 284 libs = [ "android" ]
285 285
286 deps += [ 286 deps += [
287 ":gl_jni_headers", 287 ":gl_jni_headers",
288 "//ui/android:ui_java", 288 "//ui/android:ui_java",
289 ] 289 ]
290 } 290 }
291 } 291 }
292 292
293 source_set("gl_unittest_utils") { 293 static_library("gl_unittest_utils") {
294 testonly = true 294 testonly = true
295 sources = [ 295 sources = [
296 "gl_bindings_autogen_mock.cc", 296 "gl_bindings_autogen_mock.cc",
297 "gl_bindings_autogen_mock.h", 297 "gl_bindings_autogen_mock.h",
298 "gl_mock.cc", 298 "gl_mock.cc",
299 "gl_mock.h", 299 "gl_mock.h",
300 "gl_mock_autogen_gl.h", 300 "gl_mock_autogen_gl.h",
301 "gpu_timing_fake.cc", 301 "gpu_timing_fake.cc",
302 "gpu_timing_fake.h", 302 "gpu_timing_fake.h",
303 ] 303 ]
304 304
305 configs += [ "//third_party/khronos:khronos_headers" ] 305 configs += [ "//third_party/khronos:khronos_headers" ]
306 306
307 deps = [ 307 deps = [
308 ":gl", 308 ":gl",
309 "//testing/gmock", 309 "//testing/gmock",
310 "//testing/gtest", 310 "//testing/gtest",
311 ] 311 ]
312 } 312 }
313 313
314 source_set("test_support") { 314 static_library("test_support") {
315 testonly = true 315 testonly = true
316 sources = [ 316 sources = [
317 "test/gl_image_test_support.cc", 317 "test/gl_image_test_support.cc",
318 "test/gl_image_test_support.h", 318 "test/gl_image_test_support.h",
319 "test/gl_image_test_template.h", 319 "test/gl_image_test_template.h",
320 "test/gl_surface_test_support.cc", 320 "test/gl_surface_test_support.cc",
321 "test/gl_surface_test_support.h", 321 "test/gl_surface_test_support.h",
322 "test/gl_test_helper.cc", 322 "test/gl_test_helper.cc",
323 "test/gl_test_helper.h", 323 "test/gl_test_helper.h",
324 ] 324 ]
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
414 sources = [ 414 sources = [
415 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", 415 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java",
416 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java ", 416 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java ",
417 ] 417 ]
418 public_deps = [ 418 public_deps = [
419 ":surface_jni_headers", 419 ":surface_jni_headers",
420 ] 420 ]
421 jni_package = "ui/gl" 421 jni_package = "ui/gl"
422 } 422 }
423 } 423 }
OLDNEW
« no previous file with comments | « ui/gfx/BUILD.gn ('k') | ui/message_center/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698