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

Unified Diff: testing/libfuzzer/fuzzer_test.gni

Issue 2905523002: Reduce absolute paths in generated ninja files (Closed)
Patch Set: revert build/config/gcc/BUILD.gn, rebase Created 3 years, 7 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
Index: testing/libfuzzer/fuzzer_test.gni
diff --git a/testing/libfuzzer/fuzzer_test.gni b/testing/libfuzzer/fuzzer_test.gni
index 014bb8f188cb6af69afcda16034446591340a695..1ab6835c61e1a507ee8fa5d48b4a4a418098e327 100644
--- a/testing/libfuzzer/fuzzer_test.gni
+++ b/testing/libfuzzer/fuzzer_test.gni
@@ -48,16 +48,16 @@ template("fuzzer_test") {
args = [
"--output",
- rebase_path(out),
+ rebase_path(out, root_build_dir),
]
if (defined(invoker.seed_corpus)) {
- args += [ rebase_path(invoker.seed_corpus) ]
+ args += [ rebase_path(invoker.seed_corpus, root_build_dir) ]
}
if (defined(invoker.seed_corpuses)) {
foreach(seed_corpus_path, invoker.seed_corpuses) {
- args += [ rebase_path(seed_corpus_path) ]
+ args += [ rebase_path(seed_corpus_path, root_build_dir) ]
}
}
@@ -93,13 +93,14 @@ template("fuzzer_test") {
script = "//testing/libfuzzer/gen_fuzzer_config.py"
args = [
"--config",
- rebase_path("$root_build_dir/" + config_name),
+ rebase_path("$root_build_dir/" + config_name, root_build_dir),
]
if (defined(invoker.dict)) {
args += [
"--dict",
- rebase_path("$root_build_dir/" + invoker.target_name + ".dict"),
+ rebase_path("$root_build_dir/" + invoker.target_name + ".dict",
+ root_build_dir),
]
}
« no previous file with comments | « services/catalog/public/tools/catalog.gni ('k') | tools/generate_library_loader/generate_library_loader.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698