Fix fat build for ios.

root_build_dir will always be the root build output directory.
root_out_dir is the directory "for the current toolchain".

WebRTC.framework is always in the root output directory.

Bug: webrtc:7507
Change-Id: I30b8eccaac3ed07e40c86acf361ee24a1c20b074
Reviewed-on: https://webrtc-review.googlesource.com/7640
Commit-Queue: Kári Helgason <kthelgason@webrtc.org>
Reviewed-by: Kári Helgason <kthelgason@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#20237}
This commit is contained in:
wjywbs 2017-10-09 02:32:28 -04:00 committed by Commit Bot
parent 4e5b8e67b8
commit bef8a5d2ca

View File

@ -318,7 +318,7 @@ if (is_ios || (is_mac && target_cpu != "x86")) {
"../sdk:framework_objc+link",
]
sources = [
"$root_out_dir/WebRTC.framework",
"$root_build_dir/WebRTC.framework",
]
outputs = [
"{{bundle_resources_dir}}/Frameworks/{{source_file_part}}",