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

Side by Side Diff: BUILD.gn

Issue 1885093004: [libfuzzer] fetch libfuzzer on mac and register it in build root. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 | DEPS » ('j') | DEPS » ('J')
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 607 matching lines...) Expand 10 before | Expand all | Expand 10 after
618 if (is_win || is_linux) { 618 if (is_win || is_linux) {
619 deps += [ 619 deps += [
620 ":mojo_apptests", 620 ":mojo_apptests",
621 "//components/mus/demo", 621 "//components/mus/demo",
622 "//components/mus/ws:tests", 622 "//components/mus/ws:tests",
623 "//mash:all", 623 "//mash:all",
624 "//mojo", 624 "//mojo",
625 ] 625 ]
626 } 626 }
627 627
628 if (is_win && use_drfuzz) {
629 # build libfuzzer fuzzers on Windows to run with Dr. Fuzz
630 deps += [
631 "//testing/libfuzzer/fuzzers",
632 "//testing/libfuzzer/tests:libfuzzer_tests",
633 ]
634 }
635
636 if (is_linux && !is_chromeos && !is_chromecast) { 628 if (is_linux && !is_chromeos && !is_chromecast) {
637 # TODO(GYP): Figure out if any of these should be in gn_all 629 # TODO(GYP): Figure out if any of these should be in gn_all
638 # and figure out how cross-platform they are 630 # and figure out how cross-platform they are
639 deps += [ 631 deps += [
640 ":gn_mojo_targets", 632 ":gn_mojo_targets",
641 "//chrome/browser/resources:extension_resource_demo", 633 "//chrome/browser/resources:extension_resource_demo",
642 "//chrome/installer/util:strings", 634 "//chrome/installer/util:strings",
643 "//chrome/tools/convert_dict", 635 "//chrome/tools/convert_dict",
644 "//components/constrained_window:unit_tests", 636 "//components/constrained_window:unit_tests",
645 "//components/filesystem:unittests", 637 "//components/filesystem:unittests",
646 "//components/leveldb:leveldb_service_unittests", 638 "//components/leveldb:leveldb_service_unittests",
647 "//components/metrics:serialization", 639 "//components/metrics:serialization",
648 "//components/password_manager/content/renderer:browser_tests", 640 "//components/password_manager/content/renderer:browser_tests",
649 "//components/rappor:unit_tests", 641 "//components/rappor:unit_tests",
650 "//components/sessions:unit_tests", 642 "//components/sessions:unit_tests",
651 "//media/blink:media_blink_unittests", 643 "//media/blink:media_blink_unittests",
652 "//media/cast:udp_proxy", 644 "//media/cast:udp_proxy",
653 "//native_client/src/trusted/debug_stub:gdb_rsp_unittest", 645 "//native_client/src/trusted/debug_stub:gdb_rsp_unittest",
654 "//storage/browser:dump_file_system", 646 "//storage/browser:dump_file_system",
655 "//testing/libfuzzer/fuzzers",
656 "//testing/libfuzzer/tests:libfuzzer_tests",
657 "//third_party/angle:libANGLE", 647 "//third_party/angle:libANGLE",
658 "//third_party/angle:libEGL", 648 "//third_party/angle:libEGL",
659 "//third_party/angle:libGLESv2", 649 "//third_party/angle:libGLESv2",
660 "//third_party/cld_2:cld_2_dynamic_data_tool", 650 "//third_party/cld_2:cld_2_dynamic_data_tool",
661 "//third_party/leveldatabase:leveldb_arena_test", 651 "//third_party/leveldatabase:leveldb_arena_test",
662 "//third_party/leveldatabase:leveldb_bloom_test", 652 "//third_party/leveldatabase:leveldb_bloom_test",
663 "//third_party/leveldatabase:leveldb_cache_test", 653 "//third_party/leveldatabase:leveldb_cache_test",
664 "//third_party/leveldatabase:leveldb_corruption_test", 654 "//third_party/leveldatabase:leveldb_corruption_test",
665 "//third_party/leveldatabase:leveldb_crc32c_test", 655 "//third_party/leveldatabase:leveldb_crc32c_test",
666 "//third_party/leveldatabase:leveldb_db_bench", 656 "//third_party/leveldatabase:leveldb_db_bench",
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
714 } 704 }
715 if (is_linux && current_toolchain == host_toolchain) { 705 if (is_linux && current_toolchain == host_toolchain) {
716 deps += [ "//v8:d8" ] 706 deps += [ "//v8:d8" ]
717 } 707 }
718 } 708 }
719 709
720 if (use_ozone) { 710 if (use_ozone) {
721 deps += [ "//ui/ozone/demo" ] 711 deps += [ "//ui/ozone/demo" ]
722 } 712 }
723 713
714 if ((is_linux && !is_chromeos && !is_chromecast) || (is_win && use_drfuzz) ||
715 (use_libfuzzer && is_mac)) {
716 deps += [
717 "//testing/libfuzzer/fuzzers",
718 "//testing/libfuzzer/tests:libfuzzer_tests",
719 ]
720 }
721
724 if (enable_nacl) { 722 if (enable_nacl) {
725 deps += [ "//native_client_sdk/src:nacl_core_sdk" ] 723 deps += [ "//native_client_sdk/src:nacl_core_sdk" ]
726 } 724 }
727 725
728 if (is_android) { 726 if (is_android) {
729 deps += [ 727 deps += [
730 "//build/android/gyp/test:hello_world", 728 "//build/android/gyp/test:hello_world",
731 "//build/android/incremental_install:bootstrap_java", 729 "//build/android/incremental_install:bootstrap_java",
732 ] 730 ]
733 } 731 }
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
903 assert(target_name != "") # Mark as used. 901 assert(target_name != "") # Mark as used.
904 sources = invoker.actual_sources 902 sources = invoker.actual_sources
905 assert( 903 assert(
906 sources == invoker.actual_sources, 904 sources == invoker.actual_sources,
907 "Do not use a platform name in your output directory (found \"$root_build_ dir\"). http://crbug.com/548283") 905 "Do not use a platform name in your output directory (found \"$root_build_ dir\"). http://crbug.com/548283")
908 } 906 }
909 907
910 assert_valid_out_dir("_unused") { 908 assert_valid_out_dir("_unused") {
911 actual_sources = [ "$root_build_dir/foo" ] 909 actual_sources = [ "$root_build_dir/foo" ]
912 } 910 }
OLDNEW
« no previous file with comments | « no previous file | DEPS » ('j') | DEPS » ('J')

Powered by Google App Engine
This is Rietveld 408576698