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

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

Issue 551933002: Mark gtest and gmock as testonly in GN. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@testonly
Patch Set: android Created 6 years, 3 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/base/BUILD.gn ('k') | no next file » | 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 if (is_android) { 6 if (is_android) {
7 import("//build/config/android/config.gni") 7 import("//build/config/android/config.gni")
8 import("//build/config/android/rules.gni") 8 import("//build/config/android/rules.gni")
9 } 9 }
10 10
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after
309 rebase_path("//gpu", root_build_dir), 309 rebase_path("//gpu", root_build_dir),
310 rebase_path(gl_binding_output_dir, root_build_dir), 310 rebase_path(gl_binding_output_dir, root_build_dir),
311 ] 311 ]
312 } 312 }
313 313
314 config("gl_unittest_utils_config") { 314 config("gl_unittest_utils_config") {
315 include_dirs = [ gl_binding_output_dir ] 315 include_dirs = [ gl_binding_output_dir ]
316 } 316 }
317 317
318 source_set("gl_unittest_utils") { 318 source_set("gl_unittest_utils") {
319 testonly = true
319 sources = [ 320 sources = [
320 "gl_mock.h", 321 "gl_mock.h",
321 "gl_mock.cc", 322 "gl_mock.cc",
322 "$gl_binding_output_dir/gl_bindings_autogen_mock.cc", 323 "$gl_binding_output_dir/gl_bindings_autogen_mock.cc",
323 "$gl_binding_output_dir/gl_bindings_autogen_mock.h", 324 "$gl_binding_output_dir/gl_bindings_autogen_mock.h",
324 "$gl_binding_output_dir/gl_mock_autogen_gl.h", 325 "$gl_binding_output_dir/gl_mock_autogen_gl.h",
325 ] 326 ]
326 327
327 configs += [ "//third_party/khronos:khronos_headers" ] 328 configs += [ "//third_party/khronos:khronos_headers" ]
328 direct_dependent_configs = [ ":gl_unittest_utils_config" ] 329 direct_dependent_configs = [ ":gl_unittest_utils_config" ]
(...skipping 13 matching lines...) Expand all
342 generate_jni("gl_jni_headers") { 343 generate_jni("gl_jni_headers") {
343 deps = [ ":surface_jni_headers" ] 344 deps = [ ":surface_jni_headers" ]
344 forward_dependent_configs_from = [ ":surface_jni_headers" ] 345 forward_dependent_configs_from = [ ":surface_jni_headers" ]
345 sources = [ 346 sources = [
346 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", 347 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java",
347 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java ", 348 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java ",
348 ] 349 ]
349 jni_package = "ui/gl" 350 jni_package = "ui/gl"
350 } 351 }
351 } 352 }
OLDNEW
« no previous file with comments | « ui/base/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698