From 3a7b80995d7ab01bfc8bf33729d1719357963502 Mon Sep 17 00:00:00 2001 From: Scott Graham Date: Wed, 17 Jan 2018 10:48:49 -0800 Subject: [PATCH] fuchsia: Default crashpad_dependencies based on is_fuchsia_tree Bug: crashpad:196 Change-Id: I0ff0157287e8b84323068741e060ff3c10f9719a Reviewed-on: https://chromium-review.googlesource.com/871044 Commit-Queue: Scott Graham Reviewed-by: Mark Mentovai --- build/crashpad_buildconfig.gni | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/build/crashpad_buildconfig.gni b/build/crashpad_buildconfig.gni index 021bd53a..562ef142 100644 --- a/build/crashpad_buildconfig.gni +++ b/build/crashpad_buildconfig.gni @@ -17,6 +17,14 @@ declare_args() { # targets to use for dependencies. Valid values are "standalone", "chromium", # and "fuchsia". crashpad_dependencies = "standalone" + + if (defined(is_fuchsia_tree) && is_fuchsia_tree) { + # Determines various flavors of build configuration, and which concrete + # targets to use for dependencies. Valid values are "standalone", + # "chromium", and "fuchsia". Defaulted to "fuchsia" because + # "is_fuchsia_tree" is set. + crashpad_dependencies = "fuchsia" + } } assert(