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

Side by Side Diff: BUILD.gn

Issue 1578413002: [libfuzzer] unittest-style main driver. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits Created 4 years, 11 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 | testing/libfuzzer/BUILD.gn » ('j') | testing/libfuzzer/unittest_main.cc » ('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 627 matching lines...) Expand 10 before | Expand all | Expand 10 after
638 "//components/constrained_window:unit_tests", 638 "//components/constrained_window:unit_tests",
639 "//components/enhanced_bookmarks:test_support", 639 "//components/enhanced_bookmarks:test_support",
640 "//components/metrics:serialization", 640 "//components/metrics:serialization",
641 "//components/password_manager/content/renderer:browser_tests", 641 "//components/password_manager/content/renderer:browser_tests",
642 "//components/rappor:unit_tests", 642 "//components/rappor:unit_tests",
643 "//components/sessions:unit_tests", 643 "//components/sessions:unit_tests",
644 "//media/blink:media_blink_unittests", 644 "//media/blink:media_blink_unittests",
645 "//media/cast:udp_proxy", 645 "//media/cast:udp_proxy",
646 "//native_client/src/trusted/debug_stub:gdb_rsp_unittest", 646 "//native_client/src/trusted/debug_stub:gdb_rsp_unittest",
647 "//storage/browser:dump_file_system", 647 "//storage/browser:dump_file_system",
648 "//testing/libfuzzer/fuzzers",
649 "//testing/libfuzzer/tests:libfuzzer_tests",
648 "//third_party/angle:libANGLE", 650 "//third_party/angle:libANGLE",
649 "//third_party/angle:libEGL", 651 "//third_party/angle:libEGL",
650 "//third_party/angle:libGLESv2", 652 "//third_party/angle:libGLESv2",
651 "//third_party/cld_2:cld_2_dynamic_data_tool", 653 "//third_party/cld_2:cld_2_dynamic_data_tool",
652 "//third_party/leveldatabase:leveldb_arena_test", 654 "//third_party/leveldatabase:leveldb_arena_test",
653 "//third_party/leveldatabase:leveldb_bloom_test", 655 "//third_party/leveldatabase:leveldb_bloom_test",
654 "//third_party/leveldatabase:leveldb_cache_test", 656 "//third_party/leveldatabase:leveldb_cache_test",
655 "//third_party/leveldatabase:leveldb_corruption_test", 657 "//third_party/leveldatabase:leveldb_corruption_test",
656 "//third_party/leveldatabase:leveldb_crc32c_test", 658 "//third_party/leveldatabase:leveldb_crc32c_test",
657 "//third_party/leveldatabase:leveldb_db_bench", 659 "//third_party/leveldatabase:leveldb_db_bench",
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
721 "//build/android/incremental_install:bootstrap_java", 723 "//build/android/incremental_install:bootstrap_java",
722 ] 724 ]
723 } 725 }
724 726
725 if (!is_chromecast && (is_android || is_linux || is_chromeos)) { 727 if (!is_chromecast && (is_android || is_linux || is_chromeos)) {
726 deps += [ 728 deps += [
727 "//blimp", 729 "//blimp",
728 "//blimp:blimp_tests", 730 "//blimp:blimp_tests",
729 ] 731 ]
730 } 732 }
731
732 if (use_libfuzzer || use_drfuzz) {
733 # these are needed only for gn to discover build files.
734 deps += [
735 "//testing/libfuzzer:libfuzzer_main",
736 "//testing/libfuzzer/fuzzers:string_to_int_fuzzer",
737 "//testing/libfuzzer/tests:libfuzzer_tests",
738 ]
739 }
740 } 733 }
741 734
742 group("gn_mojo_targets") { 735 group("gn_mojo_targets") {
743 testonly = true 736 testonly = true
744 if (is_linux && !is_chromeos) { 737 if (is_linux && !is_chromeos) {
745 # TODO(GYP): Figure out if any of these should be in gn_all 738 # TODO(GYP): Figure out if any of these should be in gn_all
746 # and figure out how cross-platform they are 739 # and figure out how cross-platform they are
747 deps = [ 740 deps = [
748 "//ipc/mojo:ipc_mojo_perftests", 741 "//ipc/mojo:ipc_mojo_perftests",
749 "//media/mojo:tests", 742 "//media/mojo:tests",
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
872 ] 865 ]
873 866
874 if (target_cpu == "x86") { 867 if (target_cpu == "x86") {
875 deps += [ "//chrome/tools/crash_service:crash_service_win64" ] 868 deps += [ "//chrome/tools/crash_service:crash_service_win64" ]
876 } 869 }
877 } else { 870 } else {
878 deps += [ "//breakpad:minidump_stackwalk($host_toolchain)" ] 871 deps += [ "//breakpad:minidump_stackwalk($host_toolchain)" ]
879 } 872 }
880 } 873 }
881 } 874 }
OLDNEW
« no previous file with comments | « no previous file | testing/libfuzzer/BUILD.gn » ('j') | testing/libfuzzer/unittest_main.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698