mirror of
https://github.com/chromium/crashpad.git
synced 2024-12-28 15:50:26 +08:00
BUILD: Look at current_cpu instead of target_cpu
Fixes build error where fuchsia_arm64 builds were failing because they picked up linux x86 code. Bug: None Change-Id: I48a7bc92490604fd2a59cb4d36421cb76f579224 Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/2172636 Reviewed-by: Joshua Peraza <jperaza@chromium.org> Commit-Queue: Ian Barkley-Yeung <iby@chromium.org>
This commit is contained in:
parent
174a92d296
commit
8bd5e53777
@ -232,7 +232,7 @@ static_library("snapshot") {
|
||||
]
|
||||
}
|
||||
|
||||
if (target_cpu == "x86" || target_cpu == "x64") {
|
||||
if (current_cpu == "x86" || current_cpu == "x64") {
|
||||
sources += [
|
||||
"x86/cpuid_reader.cc",
|
||||
"x86/cpuid_reader.h",
|
||||
|
Loading…
x
Reference in New Issue
Block a user