From 00b93a1772722bef23e1d873fab11979053df718 Mon Sep 17 00:00:00 2001 From: Nathan Mulcahey Date: Thu, 23 Sep 2021 12:18:43 -0700 Subject: [PATCH] [fuchsia] Move third_party/lss source location. Fuchsia is unnesting third_party dependencies to be in a flat structure in preperation for migrating to git submodules. Bug: b/189352193 Change-Id: I308bfc1db43eb308b89e2bfca8b4f6abf7177d80 Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/3179766 Commit-Queue: Francois Rousseau Reviewed-by: Francois Rousseau --- third_party/lss/BUILD.gn | 2 ++ third_party/lss/lss.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/third_party/lss/BUILD.gn b/third_party/lss/BUILD.gn index c0652cdf..f1048255 100644 --- a/third_party/lss/BUILD.gn +++ b/third_party/lss/BUILD.gn @@ -17,6 +17,8 @@ import("../../build/crashpad_buildconfig.gni") config("lss_config") { if (crashpad_is_in_chromium) { defines = [ "CRASHPAD_LSS_SOURCE_EXTERNAL" ] + } else if (crashpad_is_in_fuchsia) { + defines = [ "CRASHPAD_LSS_SOURCE_FUCHSIA" ] } else { defines = [ "CRASHPAD_LSS_SOURCE_EMBEDDED" ] } diff --git a/third_party/lss/lss.h b/third_party/lss/lss.h index 11209ff8..2646b6c0 100644 --- a/third_party/lss/lss.h +++ b/third_party/lss/lss.h @@ -19,6 +19,8 @@ #include "third_party/lss/linux_syscall_support.h" #elif defined(CRASHPAD_LSS_SOURCE_EMBEDDED) #include "third_party/lss/lss/linux_syscall_support.h" +#elif defined(CRASHPAD_LSS_SOURCE_FUCHSIA) +#include "../../../../third_party/lss/linux_syscall_support.h" #else #error Unknown lss source #endif