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

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

Issue 2238013002: Roll src/third_party/afl/src/ 2.14b..2.30b (16 versions). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Note in "Local Modifications" that we have removed dictionaries/. Created 4 years, 4 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 | third_party/afl/README.chromium » ('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 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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 group("afl") { 5 group("afl") {
6 deps = [ 6 deps = [
7 ":afl-cmin", 7 ":afl-cmin",
8 ":afl-fuzz", 8 ":afl-fuzz",
9 ":afl-showmap", 9 ":afl-showmap",
10 ":afl-tmin", 10 ":afl-tmin",
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 cflags = [ 49 cflags = [
50 # Include flags from afl's Makefile. 50 # Include flags from afl's Makefile.
51 "-O3", 51 "-O3",
52 "-funroll-loops", 52 "-funroll-loops",
53 "-D_FORTIFY_SOURCE=2", 53 "-D_FORTIFY_SOURCE=2",
54 54
55 # These flags are necessary to build with -Werror. 55 # These flags are necessary to build with -Werror.
56 "-Wno-sign-compare", 56 "-Wno-sign-compare",
57 "-Wno-pointer-sign", 57 "-Wno-pointer-sign",
58 58
59 # TODO: Patch afl so the version is defined in source code and not the
60 # Makefile.
61 "-DVERSION=\"2.14b\"",
62
63 # afl_docs copies docs/ to this location. 59 # afl_docs copies docs/ to this location.
64 "-DDOC_PATH=\"$root_build_dir/afl/docs/\"", 60 "-DDOC_PATH=\"$root_build_dir/afl/docs/\"",
65 61
66 # This flag is needed for compilation but is only used for QEMU mode which 62 # This flag is needed for compilation but is only used for QEMU mode which
67 # we do not use. Therefore its value is unimportant. 63 # we do not use. Therefore its value is unimportant.
68 "-DBIN_PATH=\"$root_build_dir\"", 64 "-DBIN_PATH=\"$root_build_dir\"",
69 ] 65 ]
70 } 66 }
71 67
72 copy("afl-cmin") { 68 copy("afl-cmin") {
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 113
118 executable("afl-showmap") { 114 executable("afl-showmap") {
119 configs -= [ "//build/config/sanitizers:default_sanitizer_flags" ] 115 configs -= [ "//build/config/sanitizers:default_sanitizer_flags" ]
120 configs += [ ":afl-tool" ] 116 configs += [ ":afl-tool" ]
121 117
122 sources = [ 118 sources = [
123 "src/afl-showmap.c", 119 "src/afl-showmap.c",
124 ] 120 ]
125 sources += afl_headers 121 sources += afl_headers
126 } 122 }
OLDNEW
« no previous file with comments | « no previous file | third_party/afl/README.chromium » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698