[fuchsia] Only add fdio config if it's not already present.

Change-Id: Ie5eef8fb76b7a9558791aae8572ec2c91d2e6b84
Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/2026287
Commit-Queue: Francois Rousseau <frousseau@google.com>
Reviewed-by: Francois Rousseau <frousseau@google.com>
This commit is contained in:
P.Y. Laligand 2020-01-28 15:07:43 -08:00 committed by Commit Bot
parent 6c0f5ccaa8
commit 23a2da5e95

View File

@ -85,7 +85,10 @@ template("crashpad_executable") {
}
if (crashpad_is_in_fuchsia) {
configs += [ "//build/config/fuchsia:fdio_config" ]
fdio_config = [ "//build/config/fuchsia:fdio_config" ]
if (configs + fdio_config - fdio_config == configs) {
configs += fdio_config
}
}
}
}