compat: Remove unused deps
This is a rest-of-revert of
https://chromium-review.googlesource.com/c/crashpad/crashpad/+/1489795
that was part of a plan for future changes, but that hasn't happened
yet.
Bug: fuchsia:66116
Change-Id: Ifd3b18e6a472bdfc78bee220ce96923e3b97809d
Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/2641314
Commit-Queue: Scott Graham <scottmg@chromium.org>
Reviewed-by: Mark Mentovai <mark@chromium.org>
GitOrigin-RevId: b858473d9c3db5b190505b3d427f427bc8d7c544
diff --git a/compat/BUILD.gn b/compat/BUILD.gn
index 4579ddf..91c437d 100644
--- a/compat/BUILD.gn
+++ b/compat/BUILD.gn
@@ -19,8 +19,6 @@
if (crashpad_is_mac || crashpad_is_ios) {
include_dirs += [ "mac" ]
- } else {
- include_dirs += [ "non_mac" ]
}
if (crashpad_is_ios) {
@@ -40,10 +38,6 @@
} else {
include_dirs += [ "non_win" ]
}
-
- if (!crashpad_is_linux && !crashpad_is_android && !crashpad_is_fuchsia) {
- include_dirs += [ "non_elf" ]
- }
}
template("compat_target") {
@@ -81,12 +75,7 @@
"mac/sys/resource.h",
]
} else {
- sources += [
- "non_mac/mach-o/loader.h",
- "non_mac/mach/mach.h",
- "non_mac/mach/machine.h",
- "non_mac/mach/vm_prot.h",
- ]
+ sources += [ "non_mac/mach/mach.h" ]
}
if (crashpad_is_ios) {
@@ -150,10 +139,6 @@
]
}
- if (!crashpad_is_linux && !crashpad_is_android && !crashpad_is_fuchsia) {
- sources += [ "non_elf/elf.h" ]
- }
-
public_configs = [
":compat_config",
"..:crashpad_config",
@@ -168,8 +153,4 @@
if (crashpad_is_win) {
deps += [ "../third_party/getopt" ]
}
-
- if (!crashpad_is_linux && !crashpad_is_android && !crashpad_is_fuchsia) {
- deps += [ "../third_party/glibc" ]
- }
}