Commit 3c10111f authored by Sylvain Defresne's avatar Sylvain Defresne Committed by Commit Bot

[ios] Fix incorrect use of rebase_path() in ios/web_view

The parameters of a script invocation needs to be relative to the
directory where the script is invoked which is available as the
`root_build_dir` variable.

Using `root_out_dir` is incorrect as it has a different value for
secondary toolchains (i.e. current_toolchain != default_toolchain).

Bug: none
Change-Id: I3fc329e27657377493c3c7cca6b7ff060531ec87
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2489624
Auto-Submit: Sylvain Defresne <sdefresne@chromium.org>
Commit-Queue: Eugene But <eugenebut@chromium.org>
Reviewed-by: default avatarEugene But <eugenebut@chromium.org>
Cr-Commit-Position: refs/heads/master@{#819371}
parent c44d0485
...@@ -634,8 +634,8 @@ if (additional_toolchains == [] || current_toolchain == default_toolchain) { ...@@ -634,8 +634,8 @@ if (additional_toolchains == [] || current_toolchain == default_toolchain) {
outputs = [ _output ] outputs = [ _output ]
args = [ rebase_path(_output, root_out_dir) ] + args = [ rebase_path(_output, root_build_dir) ] +
rebase_path(_dsyms, root_out_dir) rebase_path(_dsyms, root_build_dir)
deps = [ ":web_view" ] deps = [ ":web_view" ]
} }
......
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