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

Side by Side Diff: testing/libfuzzer/fuzzer_test.gni

Issue 2296893002: Add minidump fuzzer for breakpad. (Closed)
Patch Set: do not binary_symlink the test Created 4 years, 3 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 | « breakpad/minidump_fuzzer.dict ('k') | 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 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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 # Defines fuzzer_test. 5 # Defines fuzzer_test.
6 # 6 #
7 import("//build/config/features.gni") 7 import("//build/config/features.gni")
8 import("//build/config/sanitizers/sanitizers.gni") 8 import("//build/config/sanitizers/sanitizers.gni")
9 import("//testing/test.gni") 9 import("//testing/test.gni")
10 10
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 "$root_build_dir/$config_name", 101 "$root_build_dir/$config_name",
102 ] 102 ]
103 } 103 }
104 test_deps += [ ":" + config_name ] 104 test_deps += [ ":" + config_name ]
105 } 105 }
106 106
107 test(target_name) { 107 test(target_name) {
108 forward_variables_from(invoker, 108 forward_variables_from(invoker,
109 [ 109 [
110 "check_includes", 110 "check_includes",
111 "defines",
111 "include_dirs", 112 "include_dirs",
112 "sources", 113 "sources",
113 ]) 114 ])
114 deps = test_deps 115 deps = test_deps
115 116
116 if (defined(invoker.additional_configs)) { 117 if (defined(invoker.additional_configs)) {
117 configs += invoker.additional_configs 118 configs += invoker.additional_configs
118 } 119 }
119 configs += [ "//testing/libfuzzer:fuzzer_test_config" ] 120 configs += [ "//testing/libfuzzer:fuzzer_test_config" ]
120 121
(...skipping 16 matching lines...) Expand all
137 if (defined(invoker.dict)) { 138 if (defined(invoker.dict)) {
138 assert(invoker.dict == [] || invoker.dict != []) 139 assert(invoker.dict == [] || invoker.dict != [])
139 } 140 }
140 if (defined(invoker.libfuzzer_options)) { 141 if (defined(invoker.libfuzzer_options)) {
141 assert(invoker.libfuzzer_options == [] || invoker.libfuzzer_options != []) 142 assert(invoker.libfuzzer_options == [] || invoker.libfuzzer_options != [])
142 } 143 }
143 if (defined(invoker.seed_corpus)) { 144 if (defined(invoker.seed_corpus)) {
144 assert(invoker.seed_corpus == [] || invoker.seed_corpus != []) 145 assert(invoker.seed_corpus == [] || invoker.seed_corpus != [])
145 } 146 }
146 assert(!defined(invoker.check_includes) || invoker.check_includes != []) 147 assert(!defined(invoker.check_includes) || invoker.check_includes != [])
148 assert(!defined(invoker.include_dirs) || invoker.include_dirs != [])
149 assert(!defined(invoker.defines) || invoker.defines != [])
147 150
148 group(target_name) { 151 group(target_name) {
149 } 152 }
150 } 153 }
151 } 154 }
OLDNEW
« no previous file with comments | « breakpad/minidump_fuzzer.dict ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698