mirror of
https://github.com/chromium/crashpad.git
synced 2024-12-27 07:14:10 +08:00
[fuchsia] Inject components from test pkg
Make the `crashpad-test` package hermetic and describe a correct build graph by explicitly expressing dependency edges to components. Inject component dependencies from the hermetic package in integration tests. Bug: fuchsia:84248 Change-Id: I20915acf6171b532b2c94941f33dc8eb90fb6776 Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/3197800 Reviewed-by: Mark Mentovai <mark@chromium.org> Commit-Queue: Mark Mentovai <mark@chromium.org>
This commit is contained in:
parent
1ba15daa73
commit
ec7a457e86
5
BUILD.gn
5
BUILD.gn
@ -80,6 +80,11 @@ if (crashpad_is_in_chromium || crashpad_is_in_fuchsia) {
|
||||
fuchsia_test_package("crashpad-test") {
|
||||
test_components = [ ":crashpad-test-component" ]
|
||||
|
||||
deps = [
|
||||
"//src/connectivity/network/dns:component-legacy",
|
||||
"//src/connectivity/network/netstack:component-legacy",
|
||||
]
|
||||
|
||||
test_specs = {
|
||||
log_settings = {
|
||||
max_severity = "FATAL"
|
||||
|
@ -2,8 +2,8 @@
|
||||
"facets": {
|
||||
"fuchsia.test": {
|
||||
"injected-services": {
|
||||
"fuchsia.net.name.Lookup": "fuchsia-pkg://fuchsia.com/dns-resolver#meta/dns-resolver.cmx",
|
||||
"fuchsia.posix.socket.Provider": "fuchsia-pkg://fuchsia.com/netstack#meta/netstack.cmx"
|
||||
"fuchsia.net.name.Lookup": "fuchsia-pkg://fuchsia.com/crashpad-test#meta/dns-resolver.cmx",
|
||||
"fuchsia.posix.socket.Provider": "fuchsia-pkg://fuchsia.com/crashpad-test#meta/netstack.cmx"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user