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

Side by Side Diff: BUILD.gn

Issue 2025793004: mac/gn: Add most missing test binaries to the gn build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 | « no previous file | 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 (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 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 # This is the root build file for GN. GN will start processing by loading this 5 # This is the root build file for GN. GN will start processing by loading this
6 # file, and recursively load all dependencies until all dependencies are either 6 # file, and recursively load all dependencies until all dependencies are either
7 # resolved or known not to exist (which will cause the build to fail). So if 7 # resolved or known not to exist (which will cause the build to fail). So if
8 # you add a new build file, there must be some path of dependencies from this 8 # you add a new build file, there must be some path of dependencies from this
9 # file to your new one or GN won't know about it. 9 # file to your new one or GN won't know about it.
10 10
(...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after
425 } 425 }
426 426
427 if (is_ios || is_win || (is_linux && !is_chromeos)) { 427 if (is_ios || is_win || (is_linux && !is_chromeos)) {
428 deps += [ 428 deps += [
429 "//base:base_i18n_perftests", 429 "//base:base_i18n_perftests",
430 "//base:base_perftests", 430 "//base:base_perftests",
431 "//google_apis:google_apis_unittests", 431 "//google_apis:google_apis_unittests",
432 ] 432 ]
433 } 433 }
434 434
435 if (is_android || is_win || (is_linux && !is_chromeos)) { 435 # TODO(GYP): Figure out which of these should (and can) build
436 # for chromeos/ios.
437 if (!is_chromeos && !is_ios) {
436 deps += [ 438 deps += [
437 "//base:build_utf8_validator_tables", 439 "//base:build_utf8_validator_tables",
438 "//base:check_example", 440 "//base:check_example",
439 "//cc:cc_perftests", 441 "//cc:cc_perftests",
440 "//cc/blink:cc_blink_unittests", 442 "//cc/blink:cc_blink_unittests",
441 "//components:components_perftests", 443 "//components:components_perftests",
442 "//device:device_unittests", 444 "//device:device_unittests",
443 "//gin:gin_shell", 445 "//gin:gin_shell",
444 "//gin:gin_unittests", 446 "//gin:gin_unittests",
445 "//google_apis/gcm:mcs_probe", 447 "//google_apis/gcm:mcs_probe",
446 "//gpu:gl_tests", 448 "//gpu:gl_tests",
447 "//gpu:gpu_perftests", 449 "//gpu:gpu_perftests",
448 "//ipc:ipc_perftests", 450 "//ipc:ipc_perftests",
449 "//media:media_perftests", 451 "//media:media_perftests",
450 "//net:dump_cache", 452 "//net:dump_cache",
451 "//sync:run_sync_testserver", 453 "//sync:run_sync_testserver",
452 "//third_party/angle/src/tests:angle_unittests", 454 "//third_party/angle/src/tests:angle_unittests",
453 "//third_party/codesighs:maptsvdifftool", 455 "//third_party/codesighs:maptsvdifftool",
454 "//third_party/libphonenumber:libphonenumber_unittests", 456 "//third_party/libphonenumber:libphonenumber_unittests",
455 "//ui/compositor:compositor_unittests", 457 "//ui/compositor:compositor_unittests",
456 ] 458 ]
457 459
458 # TODO(GYP): Figure out which of these should (and can) build
459 # for chromeos/mac/ios.
460 if (!is_android) { 460 if (!is_android) {
461 deps += [ 461 deps += [
462 "//chrome/test:load_library_perf_tests", 462 "//chrome/test:load_library_perf_tests",
463 "//chrome/test:sync_performance_tests", 463 "//chrome/test:sync_performance_tests",
464 "//chrome/test/chromedriver:chromedriver", 464 "//chrome/test/chromedriver:chromedriver",
465 "//chrome/test/chromedriver:chromedriver_tests", 465 "//chrome/test/chromedriver:chromedriver_tests",
466 "//courgette:courgette", 466 "//courgette:courgette",
467 "//courgette:courgette_fuzz", 467 "//courgette:courgette_fuzz",
468 "//courgette:courgette_minimal_tool", 468 "//courgette:courgette_minimal_tool",
469 "//courgette:courgette_unittests", 469 "//courgette:courgette_unittests",
(...skipping 481 matching lines...) Expand 10 before | Expand all | Expand 10 after
951 assert(target_name != "") # Mark as used. 951 assert(target_name != "") # Mark as used.
952 sources = invoker.actual_sources 952 sources = invoker.actual_sources
953 assert( 953 assert(
954 sources == invoker.actual_sources, 954 sources == invoker.actual_sources,
955 "Do not use a platform name in your output directory (found \"$root_build_ dir\"). http://crbug.com/548283") 955 "Do not use a platform name in your output directory (found \"$root_build_ dir\"). http://crbug.com/548283")
956 } 956 }
957 957
958 assert_valid_out_dir("_unused") { 958 assert_valid_out_dir("_unused") {
959 actual_sources = [ "$root_build_dir/foo" ] 959 actual_sources = [ "$root_build_dir/foo" ]
960 } 960 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698