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

Side by Side Diff: BUILD.gn

Issue 2059843002: gn: Add chromium_builder_asan target. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: testonly 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 | build/all.gyp » ('j') | 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
11 import("//build/config/features.gni") 11 import("//build/config/features.gni")
12 import("//build/config/sanitizers/sanitizers.gni") 12 import("//build/config/sanitizers/sanitizers.gni")
13 import("//build/config/ui.gni") 13 import("//build/config/ui.gni")
14 import("//build_overrides/v8.gni") 14 import("//build_overrides/v8.gni")
15 import("//media/media_options.gni") 15 import("//media/media_options.gni")
16 import("//third_party/openh264/openh264_args.gni") 16 import("//third_party/openh264/openh264_args.gni")
17 import("//tools/ipc_fuzzer/ipc_fuzzer.gni")
17 18
18 if (is_android) { 19 if (is_android) {
19 import("//build/config/android/config.gni") 20 import("//build/config/android/config.gni")
20 } 21 }
21 22
22 declare_args() { 23 declare_args() {
23 # A list of extra dependencies to add to the root target. This allows a 24 # A list of extra dependencies to add to the root target. This allows a
24 # checkout to add additional targets without explicitly changing any checked- 25 # checkout to add additional targets without explicitly changing any checked-
25 # in files. 26 # in files.
26 root_extra_deps = [] 27 root_extra_deps = []
(...skipping 867 matching lines...) Expand 10 before | Expand all | Expand 10 after
894 deps += [ 895 deps += [
895 "//chrome/installer/mini_installer:mini_installer", 896 "//chrome/installer/mini_installer:mini_installer",
896 "//third_party/angle/src/tests:angle_perftests", 897 "//third_party/angle/src/tests:angle_perftests",
897 ] 898 ]
898 } else { 899 } else {
899 deps += [ "//breakpad:minidump_stackwalk($host_toolchain)" ] 900 deps += [ "//breakpad:minidump_stackwalk($host_toolchain)" ]
900 } 901 }
901 } 902 }
902 } 903 }
903 904
905 if (!is_ios && !is_android && !is_chromecast) {
906 group("chromium_builder_asan") {
907 testonly = true
908
909 deps = [
910 "//chrome:chrome",
911 "//content/shell:content_shell",
912 "//v8:d8",
913 ]
914 if (!is_win) {
915 deps += [
916 "//net:dns_fuzz_stub",
917 "//net:hpack_fuzz_wrapper",
918 "//skia:filter_fuzz_stub",
919 ]
920 }
921 if (enable_ipc_fuzzer && !is_component_build) {
922 deps += [ "//tools/ipc_fuzzer:ipc_fuzzer_all" ]
923 }
924 if (!is_chromeos) {
925 deps += [
926 "//third_party/pdfium/samples:pdfium_test",
927 "//v8:v8_shell($host_toolchain)",
928 ]
929 }
930 if (is_clang) {
931 deps += [ "//build/sanitizers:copy_llvm_symbolizer" ]
932 }
933 if (is_win && symbol_level == 2 && target_cpu == "x86" && is_syzyasan) {
934 deps += [
935 "//chrome/tools/build/win/syzygy:chrome_dll_syzygy",
936 # TODO(GYP): Add this once it exists, https://crbug.com/619086
937 # "//content/shell:content_shell_syzyasan
938 ]
939 if (is_multi_dll_chrome) {
940 deps += [ "//chrome/tools/build/win/syzygy:chrome_child_dll_syzygy" ]
941 }
942 }
943 }
944 }
945
904 # For compatibility with GYP. The linux_chromium_chromeos_rel_ng and 946 # For compatibility with GYP. The linux_chromium_chromeos_rel_ng and
905 # linux_chromium_chromeos_compile_rel_ng bots reference this target as 947 # linux_chromium_chromeos_compile_rel_ng bots reference this target as
906 # something to build, but all targets for those bots to compile are set 948 # something to build, but all targets for those bots to compile are set
907 # up differently. 949 # up differently.
908 # TODO bug 601920: Remove reference to aura_builder on bot config and delete 950 # TODO bug 601920: Remove reference to aura_builder on bot config and delete
909 # this group. 951 # this group.
910 group("aura_builder") { 952 group("aura_builder") {
911 } 953 }
912 954
913 if (is_android) { 955 if (is_android) {
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
946 assert(target_name != "") # Mark as used. 988 assert(target_name != "") # Mark as used.
947 sources = invoker.actual_sources 989 sources = invoker.actual_sources
948 assert( 990 assert(
949 sources == invoker.actual_sources, 991 sources == invoker.actual_sources,
950 "Do not use a platform name in your output directory (found \"$root_build_ dir\"). http://crbug.com/548283") 992 "Do not use a platform name in your output directory (found \"$root_build_ dir\"). http://crbug.com/548283")
951 } 993 }
952 994
953 assert_valid_out_dir("_unused") { 995 assert_valid_out_dir("_unused") {
954 actual_sources = [ "$root_build_dir/foo" ] 996 actual_sources = [ "$root_build_dir/foo" ]
955 } 997 }
OLDNEW
« no previous file with comments | « no previous file | build/all.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698