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

Side by Side Diff: third_party/re2/BUILD.gn

Issue 2698653002: Use re2_fuzzer stored in re2 repository, remove old version. (Closed)
Patch Set: Created 3 years, 10 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 | « testing/libfuzzer/fuzzers/re2_fuzzer.cc ('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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 import("//testing/libfuzzer/fuzzer_test.gni")
6
5 config("re2_config") { 7 config("re2_config") {
6 include_dirs = [ "src" ] 8 include_dirs = [ "src" ]
7 } 9 }
8 10
9 static_library("re2") { 11 static_library("re2") {
10 sources = [ 12 sources = [
11 "src/re2/bitmap256.h", 13 "src/re2/bitmap256.h",
12 "src/re2/bitstate.cc", 14 "src/re2/bitstate.cc",
13 "src/re2/compile.cc", 15 "src/re2/compile.cc",
14 "src/re2/dfa.cc", 16 "src/re2/dfa.cc",
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 "src/util/strutil.cc", 52 "src/util/strutil.cc",
51 "src/util/strutil.h", 53 "src/util/strutil.h",
52 "src/util/utf.h", 54 "src/util/utf.h",
53 "src/util/util.h", 55 "src/util/util.h",
54 ] 56 ]
55 57
56 configs -= [ "//build/config/compiler:chromium_code" ] 58 configs -= [ "//build/config/compiler:chromium_code" ]
57 configs += [ "//build/config/compiler:no_chromium_code" ] 59 configs += [ "//build/config/compiler:no_chromium_code" ]
58 public_configs = [ ":re2_config" ] 60 public_configs = [ ":re2_config" ]
59 } 61 }
62
63 fuzzer_test("third_party_re2_fuzzer") {
64 sources = [
65 "src/re2/fuzzing/re2_fuzzer.cc",
66 ]
67 deps = [
68 ":re2",
69 ]
70 }
OLDNEW
« no previous file with comments | « testing/libfuzzer/fuzzers/re2_fuzzer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698