From 9d7a5b10eca07cde757eaee06e6b6e4346f9799c Mon Sep 17 00:00:00 2001 From: Scott Graham Date: Wed, 24 Jan 2018 12:02:59 -0800 Subject: [PATCH] gn: Fix relative path to base for in-Fuchsia build Change from an absolute path to a relative one so that the location of Crashpad and mini_chromium don't matter, as long as they're in the same relative locations. Bug: crashpad:196 Change-Id: I20380b02f211ca0ac04cffaab7d7510d2c8f35ea Reviewed-on: https://chromium-review.googlesource.com/884370 Reviewed-by: Joshua Peraza Commit-Queue: Scott Graham --- third_party/mini_chromium/BUILD.gn | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/third_party/mini_chromium/BUILD.gn b/third_party/mini_chromium/BUILD.gn index 9ab81780..e11d0111 100644 --- a/third_party/mini_chromium/BUILD.gn +++ b/third_party/mini_chromium/BUILD.gn @@ -19,13 +19,9 @@ group("base") { public_deps = [ "//base", ] - } else if (crashpad_is_in_fuchsia) { + } else if (crashpad_is_standalone || crashpad_is_in_fuchsia) { public_deps = [ - "//third_party/mini_chromium/base", - ] - } else if (crashpad_is_standalone) { - public_deps = [ - "//third_party/mini_chromium/mini_chromium/base", + "mini_chromium/base", ] } }