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

Unified Diff: BUILD.gn

Issue 2335193002: [wasm] Move the wasm-module-runner from test/cctest to test/common (Closed)
Patch Set: Files should be compiled exactly once in a GN build. Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | test/cctest/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: BUILD.gn
diff --git a/BUILD.gn b/BUILD.gn
index 2d58432a05b32c22544f4561756284853425ac67..01d71a1a5ddc4ed653f9f9eb433fcb00d04bec83 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -2584,15 +2584,23 @@ v8_source_set("regexp_fuzzer") {
v8_fuzzer("regexp_fuzzer") {
}
+v8_source_set("wasm_module_runner") {
+ sources = [
+ "test/common/wasm/wasm-module-runner.cc",
+ "test/common/wasm/wasm-module-runner.h",
+ ]
+
+ configs = [ ":internal_config" ]
+}
+
v8_source_set("wasm_fuzzer") {
sources = [
- "test/cctest/wasm/wasm-module-runner.cc",
- "test/cctest/wasm/wasm-module-runner.h",
"test/fuzzer/wasm.cc",
]
deps = [
":fuzzer_support",
+ ":wasm_module_runner",
]
configs = [ ":internal_config" ]
@@ -2603,13 +2611,12 @@ v8_fuzzer("wasm_fuzzer") {
v8_source_set("wasm_asmjs_fuzzer") {
sources = [
- "test/cctest/wasm/wasm-module-runner.cc",
- "test/cctest/wasm/wasm-module-runner.h",
"test/fuzzer/wasm-asmjs.cc",
]
deps = [
":fuzzer_support",
+ ":wasm_module_runner",
]
configs = [ ":internal_config" ]
@@ -2620,13 +2627,12 @@ v8_fuzzer("wasm_asmjs_fuzzer") {
v8_source_set("wasm_code_fuzzer") {
sources = [
- "test/cctest/wasm/wasm-module-runner.cc",
- "test/cctest/wasm/wasm-module-runner.h",
"test/fuzzer/wasm-code.cc",
]
deps = [
":fuzzer_support",
+ ":wasm_module_runner",
]
configs = [ ":internal_config" ]
« no previous file with comments | « no previous file | test/cctest/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698