Commit fb2a899d authored by Eric Seckler's avatar Eric Seckler Committed by Commit Bot

build: Pass on dependencies of nocompile tests

Add the dependencies of the invoker target to the generated nocompile
targets. This should address the flakiness issues of building
content_nocompile_tests.

Bug: 882234
Change-Id: Ic7f7a07d3a6567202b3a0da8800228c7329f119d
Reviewed-on: https://chromium-review.googlesource.com/1215964Reviewed-by: default avatarNico Weber <thakis@chromium.org>
Commit-Queue: Eric Seckler <eseckler@chromium.org>
Cr-Commit-Position: refs/heads/master@{#589918}
parent 7894e7ed
......@@ -70,8 +70,13 @@ if (enable_nocompile_tests) {
nocompile_target = target_name + "_run_nocompile"
action_foreach(nocompile_target) {
testonly = true
script = "//tools/nocompile_driver.py"
sources = invoker.sources
deps = invoker.deps
if (defined(invoker.public_deps)) {
public_deps = invoker.public_deps
}
result_path = "$target_gen_dir/{{source_name_part}}_nc.cc"
depfile = "${result_path}.d"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment