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

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

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, 8 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
« build/config/sanitizers/BUILD.gn ('K') | « testing/libfuzzer/BUILD.gn ('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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 forward_variables_from(invoker, 120 forward_variables_from(invoker,
121 [ 121 [
122 "sources", 122 "sources",
123 "include_dirs", 123 "include_dirs",
124 ]) 124 ])
125 deps = test_deps 125 deps = test_deps
126 126
127 if (defined(invoker.additional_configs)) { 127 if (defined(invoker.additional_configs)) {
128 configs += invoker.additional_configs 128 configs += invoker.additional_configs
129 } 129 }
130 configs += [ "//testing/libfuzzer:fuzzer_test_config" ]
130 } 131 }
131 } else { 132 } else {
132 # noop on unsupported platforms. 133 # noop on unsupported platforms.
133 # mark attributes as used. 134 # mark attributes as used.
134 assert(invoker.sources == [] || invoker.sources != []) 135 assert(invoker.sources == [] || invoker.sources != [])
135 if (defined(invoker.additional_configs)) { 136 if (defined(invoker.additional_configs)) {
136 assert( 137 assert(
137 invoker.additional_configs == [] || invoker.additional_configs != []) 138 invoker.additional_configs == [] || invoker.additional_configs != [])
138 } 139 }
139 if (defined(invoker.deps)) { 140 if (defined(invoker.deps)) {
140 assert(invoker.deps == [] || invoker.deps != []) 141 assert(invoker.deps == [] || invoker.deps != [])
141 } 142 }
142 if (defined(invoker.dict)) { 143 if (defined(invoker.dict)) {
143 assert(invoker.dict == [] || invoker.dict != []) 144 assert(invoker.dict == [] || invoker.dict != [])
144 } 145 }
145 if (defined(invoker.libfuzzer_options)) { 146 if (defined(invoker.libfuzzer_options)) {
146 assert(invoker.libfuzzer_options == [] || invoker.libfuzzer_options != []) 147 assert(invoker.libfuzzer_options == [] || invoker.libfuzzer_options != [])
147 } 148 }
148 if (defined(invoker.seed_corpus)) { 149 if (defined(invoker.seed_corpus)) {
149 assert(invoker.seed_corpus == [] || invoker.seed_corpus != []) 150 assert(invoker.seed_corpus == [] || invoker.seed_corpus != [])
150 } 151 }
151 152
152 group(target_name) { 153 group(target_name) {
153 } 154 }
154 } 155 }
155 } 156 }
OLDNEW
« build/config/sanitizers/BUILD.gn ('K') | « testing/libfuzzer/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698