aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCory Barker <cobark@google.com>2022-08-08 16:37:28 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2022-08-08 16:37:28 +0000
commit85125778f571e6e626c7f7de71a847a2b40bf25c (patch)
treef526ddaa86a0a84f2754e35e8722e18867358298
parentaf569e28c5a8c20422216c09fe015a8a50fab649 (diff)
parentf3486b10201c7c5588846f5e7fa704ceabf962ce (diff)
downloadbuild-85125778f571e6e626c7f7de71a847a2b40bf25c.tar.gz
Merge "Revert "Updated the way we build AFL++ fuzz binaries""
-rw-r--r--core/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/Makefile b/core/Makefile
index 2b680fbda7..e724a43e80 100644
--- a/core/Makefile
+++ b/core/Makefile
@@ -6975,6 +6975,7 @@ endif
# depended on by each module in soong_cc_prebuilt.mk, where the module will have
# a dependency on each shared library that it needs to be "reinstalled".
FUZZ_SHARED_DEPS := $(call copy-many-files,$(strip $(FUZZ_TARGET_SHARED_DEPS_INSTALL_PAIRS)))
+AFL_FUZZ_SHARED_DEPS := $(call copy-many-files,$(strip $(AFL_FUZZ_TARGET_SHARED_DEPS_INSTALL_PAIRS)))
# -----------------------------------------------------------------
# The rule to build all fuzz targets for C++ and Rust, and package them.
@@ -6990,6 +6991,10 @@ FUZZ_SHARED_DEPS := $(call copy-many-files,$(strip $(FUZZ_TARGET_SHARED_DEPS_INS
haiku: $(SOONG_FUZZ_PACKAGING_ARCH_MODULES) $(ALL_FUZZ_TARGETS)
$(call dist-for-goals,haiku,$(SOONG_FUZZ_PACKAGING_ARCH_MODULES))
+.PHONY: haiku-afl
+haiku-afl: $(SOONG_AFL_FUZZ_PACKAGING_ARCH_MODULES) $(ALL_AFL_FUZZ_TARGETS)
+$(call dist-for-goals,haiku-afl,$(SOONG_AFL_FUZZ_PACKAGING_ARCH_MODULES))
+
.PHONY: haiku-java
haiku-java: $(SOONG_JAVA_FUZZ_PACKAGING_ARCH_MODULES) $(ALL_JAVA_FUZZ_TARGETS)
$(call dist-for-goals,haiku-java,$(SOONG_JAVA_FUZZ_PACKAGING_ARCH_MODULES))