fuzztest: Fix centipede build with is_debug = true
This change fixes link errors encountered when setting is_debug = true
by moving source files from centipede_executable_engine to
centipede_common.
Change-Id: I5560f9eb38a227ad20587d1c2207b8360b6b9da4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5437194
Commit-Queue: Titouan Rigoudy <titouan@chromium.org>
Reviewed-by: Titouan Rigoudy <titouan@chromium.org>
Auto-Submit: Reilly Grant <reillyg@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1284349}
NOKEYCHECK=True
GitOrigin-RevId: b8993bf840a7d0e374d899288f45b41de07d68b8
diff --git a/BUILD.gn b/BUILD.gn
index 9aa4170..aa1f99a 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -57,11 +57,16 @@
"src/centipede/binary_info.h",
"src/centipede/byte_array_mutator.cc",
"src/centipede/byte_array_mutator.h",
+ "src/centipede/command.cc",
+ "src/centipede/control_flow.cc",
"src/centipede/defs.h",
+ "src/centipede/early_exit.cc",
+ "src/centipede/early_exit.h",
"src/centipede/execution_metadata.cc",
"src/centipede/execution_metadata.h",
"src/centipede/feature.cc",
"src/centipede/feature.h",
+ "src/centipede/hash.cc",
"src/centipede/knobs.cc",
"src/centipede/knobs.h",
"src/centipede/logging.h",
@@ -77,6 +82,8 @@
"src/centipede/runner_result.h",
"src/centipede/shared_memory_blob_sequence.cc",
"src/centipede/shared_memory_blob_sequence.h",
+ "src/centipede/symbol_table.cc",
+ "src/centipede/util.cc",
]
deps = [ "//third_party/abseil-cpp:absl_full" ]
configs += [ ":fuzztest_internal_config" ]
@@ -147,31 +154,24 @@
"src/centipede/centipede_callbacks.cc",
"src/centipede/centipede_default_callbacks.cc",
"src/centipede/centipede_interface.cc",
- "src/centipede/command.cc",
"src/centipede/config_file.cc",
"src/centipede/config_init.cc",
"src/centipede/config_util.cc",
- "src/centipede/control_flow.cc",
"src/centipede/corpus.cc",
"src/centipede/corpus_io.cc",
"src/centipede/coverage.cc",
"src/centipede/distill.cc",
"src/centipede/distill.h",
- "src/centipede/early_exit.cc",
- "src/centipede/early_exit.h",
"src/centipede/environment.cc",
"src/centipede/feature_set.cc",
"src/centipede/feature_set.h",
"src/centipede/fuzztest_mutator.cc",
"src/centipede/fuzztest_mutator.h",
- "src/centipede/hash.cc",
"src/centipede/minimize_crash.cc",
"src/centipede/resource_pool.cc",
"src/centipede/rusage_profiler.cc",
"src/centipede/rusage_stats.cc",
"src/centipede/stats.cc",
- "src/centipede/symbol_table.cc",
- "src/centipede/util.cc",
"src/centipede/workdir.cc",
"src/centipede/workdir.h",
]