platform_build_soong/cc
Cory Barker 9cfcf6d4e9 Revert^2 "Update the way we build AFL++ fuzz binaries"
Test: Built AFL fuzzers individually and built all using haiku command
and built libfuzzers individually and also by using haiku command. Ran
selected fuzzers manually to ensure fuzzing still worked.

Description: Previously we needed to add cc_afl_fuzz to build an afl fuzz binary,
however, to turn current libFuzzers into AFL fuzzers this would required
an update to each Android.bp file which is a lot of work, and would also
require an approval from each Android.bp file owner, which is even more
work.

To get around this (and also to match how AFL fuzzers are built in G3)
we will build AFL++ fuzz binaries by command line option FUZZ_FRAMEWORK.
When FUZZ_FRAMEWORK=AFL is set, all cc_fuzz modules will be built
for AFL rather than libFuzzer. Devs can also specify if a cc_fuzz module
is only for libFuzzer or AFL by using fuzzing_frameworks. If
fuzzing_frameworks is left blank then it will be assumed that the
cc_fuzz module can be built for all available fuzzing frameworks.

Change-Id: If57d3038f05e52775177eaeb26f8ed2bdc73443a
2022-08-08 20:26:09 +00:00
..
config Add option to allow unknown warning options 2022-07-21 15:49:05 +08:00
libbuildversion Set the dist dir for musl targets of build_version_test 2022-04-28 14:18:59 +00:00
ndk_api_coverage_parser Distinguish # apex and # systemapi symbols 2022-07-19 13:47:19 +09:00
ndkstubgen Distinguish # apex and # systemapi symbols 2022-07-19 13:47:19 +09:00
symbolfile Distinguish # apex and # systemapi symbols 2022-07-19 13:47:19 +09:00
afdo.go moved comment to describe Afdo bool 2022-04-08 18:57:30 +00:00
afdo_test.go Add tests for afdo.go 2022-01-26 17:46:33 +08:00
Android.bp Add binary_test.cc to testSrcs 2022-05-09 23:11:22 +01:00
androidmk.go Add support for test_suites to cc_test_library 2022-04-04 19:10:13 +00:00
api_level.go
binary.go Merge "cc bazel handlers: use better interface checking" 2022-05-23 18:54:50 +00:00
binary_sdk_member.go
binary_test.go Fix test compilation error 2022-05-09 19:36:04 +01:00
bp2build.go bp2build support for .asm files 2022-08-03 13:34:15 -07:00
builder.go Move libFlags as well to the RSP file for link actions 2022-07-04 20:34:57 +00:00
cc.go Revert^2 "Update the way we build AFL++ fuzz binaries" 2022-08-08 20:26:09 +00:00
cc_test.go Revert^2 "Update the way we build AFL++ fuzz binaries" 2022-08-08 20:26:09 +00:00
ccdeps.go
cflag_artifacts.go
check.go Add linker_scripts property 2022-05-05 16:36:56 +01:00
cmakelists.go
compdb.go
compiler.go Merge "Replace API level codename with number" 2022-06-28 13:39:37 +00:00
compiler_test.go
coverage.go Memory mapped coverage (take 2) 2022-03-04 14:07:53 -08:00
fuzz.go Revert^2 "Update the way we build AFL++ fuzz binaries" 2022-08-08 20:26:09 +00:00
gen.go Generate genlex rules from bp2build for cc targets 2022-05-24 14:42:51 +00:00
gen_test.go
genrule.go
genrule_test.go
image.go Fix typo 2022-07-21 18:04:37 +08:00
image_sdk_traits.go
installer.go Fix typo in installer.go 2022-05-05 16:36:56 +01:00
kernel_headers.go
library.go Diff source dump and current version dump for Cross-Version ABI Check 2022-08-02 17:35:15 +00:00
library_headers.go Add support and tests for export_*_lib_headers 2022-06-29 15:25:01 +00:00
library_headers_test.go
library_sdk_member.go Handle multiple linkages in sdk snapshots 2022-05-23 10:51:22 -04:00
library_stub.go Prototype changes for multitree 2022-04-28 08:20:10 +00:00
library_stub_test.go Prototype changes for multitree 2022-04-28 08:20:10 +00:00
library_test.go Fix transitive whole_static_libs on prebuilt static libraries 2022-02-11 13:51:41 -08:00
linkable.go rust: Allow rust_ffi_shared in jni_libs 2022-06-27 16:00:26 -04:00
linker.go Use LLD for Darwin host binaries 2022-06-24 13:45:32 +00:00
llndk_library.go
lto.go Merge "Revert "[cc_fuzz] Revert 'disable LTO' patches."" 2022-03-02 05:08:27 +00:00
makevars.go Rename modulesAddedWall to modulesWarningsAllowed 2022-05-19 20:11:10 +08:00
native_bridge_sdk_trait.go
ndk_abi.go Disable ABI dumping for hwasan builds. 2022-04-19 22:01:43 +00:00
ndk_headers.go
ndk_library.go Merge "Remove warnings about mismatched types with builtins for stubs." 2022-04-29 22:29:27 +00:00
ndk_prebuilt.go
ndk_sysroot.go
object.go Merge "Handle multiple linkages in sdk snapshots" 2022-05-24 14:13:19 +00:00
object_test.go
OWNERS add ALLOW_LOCAL_TIDY_TRUE and some tests 2022-04-26 13:30:32 -07:00
pgo.go Remove sampling profile support from pgo rule 2022-06-07 15:23:08 +08:00
prebuilt.go Enable Mixed Builds for Prebuilt Library 2022-06-07 20:36:53 +00:00
prebuilt_test.go Enable Mixed Builds for Prebuilt Library 2022-06-07 20:36:53 +00:00
proto.go convert java proto libraries with bp2build 2022-02-15 21:04:59 +00:00
proto_test.go
pylintrc
rs.go
sabi.go
sanitize.go Pass -fno-sanitize=vptr,function for musl 2022-07-01 02:58:25 +00:00
sanitize_test.go Reland: Fix -Wl,--exclude-libs for clang runtime libraries 2022-06-17 22:48:22 +00:00
sdk.go
sdk_test.go
snapshot_prebuilt.go Fix snapshot symlinks 2022-02-24 10:29:18 +09:00
snapshot_utils.go
stl.go Remove alternative stl names in bp2build 2022-06-27 17:20:17 -04:00
strip.go
stub_library.go
sysprop.go
test.go Revert "Turn gtest isolated true by default" 2022-05-20 08:02:50 +00:00
test_data_test.go
testing.go Revert^2 "Update the way we build AFL++ fuzz binaries" 2022-08-08 20:26:09 +00:00
tidy.go Set NoWarningsAsErrorsInTidyFlags 2022-06-13 23:58:12 +00:00
tidy_test.go Prepare to obsolete -warnings-as-errors in tidy_flags 2022-06-12 20:25:43 -07:00
util.go Delete some unused functions. 2022-04-25 16:00:17 -04:00
vendor_public_library.go
vendor_public_library_test.go
vendor_snapshot.go Add InstallInRoot property to snapshot binary json file. 2022-03-07 14:49:46 -08:00
vendor_snapshot_test.go Fix snapshot symlinks 2022-02-24 10:29:18 +09:00
vndk.go Remove obsolete notice property. 2022-07-29 17:54:40 +00:00
vndk_prebuilt.go