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 <jperaza@chromium.org>
Commit-Queue: Scott Graham <scottmg@chromium.org>
This commit is contained in:
Scott Graham 2018-01-24 12:02:59 -08:00 committed by Commit Bot
parent 7e7193d5f1
commit 9d7a5b10ec

View File

@ -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",
]
}
}