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

Side by Side Diff: third_party/WebKit/Source/platform/BUILD.gn

Issue 1758653004: [GN] Set testonly unconditionally. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 | « build/secondary/testing/gtest/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 import("//testing/test.gni") 6 import("//testing/test.gni")
7 import("//third_party/WebKit/Source/build/scripts/scripts.gni") 7 import("//third_party/WebKit/Source/build/scripts/scripts.gni")
8 import("//third_party/WebKit/Source/config.gni") 8 import("//third_party/WebKit/Source/config.gni")
9 import("//third_party/WebKit/Source/platform/platform.gni") 9 import("//third_party/WebKit/Source/platform/platform.gni")
10 import("//third_party/WebKit/Source/platform/platform_generated.gni") 10 import("//third_party/WebKit/Source/platform/platform_generated.gni")
(...skipping 428 matching lines...) Expand 10 before | Expand all | Expand 10 after
439 439
440 if (remove_webcore_debug_symbols) { 440 if (remove_webcore_debug_symbols) {
441 configs -= [ "//build/config/compiler:default_symbols" ] 441 configs -= [ "//build/config/compiler:default_symbols" ]
442 configs += [ "//build/config/compiler:no_symbols" ] 442 configs += [ "//build/config/compiler:no_symbols" ]
443 } 443 }
444 } 444 }
445 445
446 source_set("test_support") { 446 source_set("test_support") {
447 sources = platform_test_support_files 447 sources = platform_test_support_files
448 visibility += [ "//third_party/WebKit/*" ] 448 visibility += [ "//third_party/WebKit/*" ]
449 449 testonly = true
450 # This should always be test-only, but see http://crbug.com/412064.
451 testonly = !is_component_build
452 450
453 configs += [ 451 configs += [
454 "//third_party/WebKit/Source:config", 452 "//third_party/WebKit/Source:config",
455 "//third_party/WebKit/Source:inside_blink", 453 "//third_party/WebKit/Source:inside_blink",
456 "//third_party/WebKit/Source:non_test_config", 454 "//third_party/WebKit/Source:non_test_config",
457 ] 455 ]
458 456
459 public_deps = [ 457 public_deps = [
460 ":platform", 458 ":platform",
461 "//cc", 459 "//cc",
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
585 } 583 }
586 584
587 if (current_cpu == "x86" || current_cpu == "x64") { 585 if (current_cpu == "x86" || current_cpu == "x64") {
588 source_set("blink_x86_sse") { 586 source_set("blink_x86_sse") {
589 sources = blink_platform_sse_files 587 sources = blink_platform_sse_files
590 deps = [ 588 deps = [
591 ":blink_common", 589 ":blink_common",
592 ] 590 ]
593 } 591 }
594 } 592 }
OLDNEW
« no previous file with comments | « build/secondary/testing/gtest/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698