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

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

Issue 2565383002: [libfuzzer] Remove unused "--fuzzer" argument from archive_corpus.py. (Closed)
Patch Set: Created 4 years 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 | « testing/libfuzzer/archive_corpus.py ('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 29 matching lines...) Expand all
40 if (defined(invoker.seed_corpus)) { 40 if (defined(invoker.seed_corpus)) {
41 out = "$root_build_dir/$target_name" + "_seed_corpus.zip" 41 out = "$root_build_dir/$target_name" + "_seed_corpus.zip"
42 42
43 action(target_name + "_seed_corpus") { 43 action(target_name + "_seed_corpus") {
44 script = "//testing/libfuzzer/archive_corpus.py" 44 script = "//testing/libfuzzer/archive_corpus.py"
45 args = [ 45 args = [
46 "--corpus", 46 "--corpus",
47 rebase_path(invoker.seed_corpus), 47 rebase_path(invoker.seed_corpus),
48 "--output", 48 "--output",
49 rebase_path(out), 49 rebase_path(out),
50 "--fuzzer",
51 rebase_path("$root_build_dir/$target_name"),
52 ] 50 ]
53 51
54 outputs = [ 52 outputs = [
55 out, 53 out,
56 ] 54 ]
57 deps = [ 55 deps = [
58 "//testing/libfuzzer:seed_corpus", 56 "//testing/libfuzzer:seed_corpus",
59 ] 57 ]
60 } 58 }
61 59
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 assert(invoker.seed_corpus == [] || invoker.seed_corpus != []) 143 assert(invoker.seed_corpus == [] || invoker.seed_corpus != [])
146 } 144 }
147 assert(!defined(invoker.check_includes) || invoker.check_includes != []) 145 assert(!defined(invoker.check_includes) || invoker.check_includes != [])
148 assert(!defined(invoker.include_dirs) || invoker.include_dirs != []) 146 assert(!defined(invoker.include_dirs) || invoker.include_dirs != [])
149 assert(!defined(invoker.defines) || invoker.defines != []) 147 assert(!defined(invoker.defines) || invoker.defines != [])
150 148
151 group(target_name) { 149 group(target_name) {
152 } 150 }
153 } 151 }
154 } 152 }
OLDNEW
« no previous file with comments | « testing/libfuzzer/archive_corpus.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698