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

Side by Side Diff: BUILD.gn

Issue 1818273002: [libfuzzer] supporting libfuzzer on mac with asan (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: wrapping copy in if (is_mac) 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 | « no previous file | build/config/sanitizers/BUILD.gn » ('j') | build/config/sanitizers/BUILD.gn » ('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 628 matching lines...) Expand 10 before | Expand all | Expand 10 after
639 "//components/constrained_window:unit_tests", 639 "//components/constrained_window:unit_tests",
640 "//components/filesystem:unittests", 640 "//components/filesystem:unittests",
641 "//components/metrics:serialization", 641 "//components/metrics:serialization",
642 "//components/password_manager/content/renderer:browser_tests", 642 "//components/password_manager/content/renderer:browser_tests",
643 "//components/rappor:unit_tests", 643 "//components/rappor:unit_tests",
644 "//components/sessions:unit_tests", 644 "//components/sessions:unit_tests",
645 "//media/blink:media_blink_unittests", 645 "//media/blink:media_blink_unittests",
646 "//media/cast:udp_proxy", 646 "//media/cast:udp_proxy",
647 "//native_client/src/trusted/debug_stub:gdb_rsp_unittest", 647 "//native_client/src/trusted/debug_stub:gdb_rsp_unittest",
648 "//storage/browser:dump_file_system", 648 "//storage/browser:dump_file_system",
649 "//testing/libfuzzer/fuzzers",
650 "//testing/libfuzzer/tests:libfuzzer_tests",
651 "//third_party/angle:libANGLE", 649 "//third_party/angle:libANGLE",
652 "//third_party/angle:libEGL", 650 "//third_party/angle:libEGL",
653 "//third_party/angle:libGLESv2", 651 "//third_party/angle:libGLESv2",
654 "//third_party/cld_2:cld_2_dynamic_data_tool", 652 "//third_party/cld_2:cld_2_dynamic_data_tool",
655 "//third_party/leveldatabase:leveldb_arena_test", 653 "//third_party/leveldatabase:leveldb_arena_test",
656 "//third_party/leveldatabase:leveldb_bloom_test", 654 "//third_party/leveldatabase:leveldb_bloom_test",
657 "//third_party/leveldatabase:leveldb_cache_test", 655 "//third_party/leveldatabase:leveldb_cache_test",
658 "//third_party/leveldatabase:leveldb_corruption_test", 656 "//third_party/leveldatabase:leveldb_corruption_test",
659 "//third_party/leveldatabase:leveldb_crc32c_test", 657 "//third_party/leveldatabase:leveldb_crc32c_test",
660 "//third_party/leveldatabase:leveldb_db_bench", 658 "//third_party/leveldatabase:leveldb_db_bench",
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
708 } 706 }
709 if (use_ozone) { 707 if (use_ozone) {
710 deps += [ "//ui/ozone/demo" ] 708 deps += [ "//ui/ozone/demo" ]
711 } 709 }
712 710
713 if (is_linux && current_toolchain == host_toolchain) { 711 if (is_linux && current_toolchain == host_toolchain) {
714 deps += [ "//v8:d8" ] 712 deps += [ "//v8:d8" ]
715 } 713 }
716 } 714 }
717 715
716 if ((is_linux && !is_chromeos && !is_chromecast) || is_mac) {
717 deps += [
718 "//testing/libfuzzer/fuzzers",
719 "//testing/libfuzzer/tests:libfuzzer_tests",
720 ]
721 }
722
718 if (enable_nacl) { 723 if (enable_nacl) {
719 deps += [ "//native_client_sdk/src:nacl_core_sdk" ] 724 deps += [ "//native_client_sdk/src:nacl_core_sdk" ]
720 } 725 }
721 726
722 if (is_android) { 727 if (is_android) {
723 deps += [ 728 deps += [
724 "//build/android/gyp/test:hello_world", 729 "//build/android/gyp/test:hello_world",
725 "//build/android/incremental_install:bootstrap_java", 730 "//build/android/incremental_install:bootstrap_java",
726 ] 731 ]
727 } 732 }
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
897 assert(target_name != "") # Mark as used. 902 assert(target_name != "") # Mark as used.
898 sources = invoker.actual_sources 903 sources = invoker.actual_sources
899 assert( 904 assert(
900 sources == invoker.actual_sources, 905 sources == invoker.actual_sources,
901 "Do not use a platform name in your output directory (found \"$root_build_ dir\"). http://crbug.com/548283") 906 "Do not use a platform name in your output directory (found \"$root_build_ dir\"). http://crbug.com/548283")
902 } 907 }
903 908
904 assert_valid_out_dir("_unused") { 909 assert_valid_out_dir("_unused") {
905 actual_sources = [ "$root_build_dir/foo" ] 910 actual_sources = [ "$root_build_dir/foo" ]
906 } 911 }
OLDNEW
« no previous file with comments | « no previous file | build/config/sanitizers/BUILD.gn » ('j') | build/config/sanitizers/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698