Clean up Fuchsia package()

The libraries key is deprecated.  The new loadable_modules key is the right
thing to use.  The dependencies should not specify the toolchain.

Change-Id: I2f218adce96b7161a5a0097f84c7ed6b0c87e3bd
Reviewed-on: https://chromium-review.googlesource.com/1071067
Reviewed-by: Scott Graham <scottmg@chromium.org>
Commit-Queue: Scott Graham <scottmg@chromium.org>
This commit is contained in:
Roland McGrath 2018-05-23 17:14:05 -07:00 committed by Commit Bot
parent f5564e6292
commit 9839ef5605

View File

@ -40,10 +40,10 @@ if (crashpad_is_in_chromium || crashpad_is_in_fuchsia) {
deps = [
":crashpad_tests",
"snapshot:crashpad_snapshot_test_both_dt_hash_styles(//build/toolchain/fuchsia:$current_cpu-shared)",
"snapshot:crashpad_snapshot_test_module(//build/toolchain/fuchsia:$current_cpu-shared)",
"snapshot:crashpad_snapshot_test_module_large(//build/toolchain/fuchsia:$current_cpu-shared)",
"snapshot:crashpad_snapshot_test_module_small(//build/toolchain/fuchsia:$current_cpu-shared)",
"snapshot:crashpad_snapshot_test_both_dt_hash_styles",
"snapshot:crashpad_snapshot_test_module",
"snapshot:crashpad_snapshot_test_module_large",
"snapshot:crashpad_snapshot_test_module_small",
"test:crashpad_test_test_multiprocess_exec_test_child",
"util:http_transport_test_server",
]
@ -62,7 +62,7 @@ if (crashpad_is_in_chromium || crashpad_is_in_fuchsia) {
},
]
libraries = [
loadable_modules = [
{
name = "crashpad_snapshot_test_both_dt_hash_styles.so"
},
@ -79,15 +79,15 @@ if (crashpad_is_in_chromium || crashpad_is_in_fuchsia) {
resources = [
{
path = rebase_path("util/net/testdata/ascii_http_body.txt")
path = "util/net/testdata/ascii_http_body.txt"
dest = "crashpad_test_data/util/net/testdata/ascii_http_body.txt"
},
{
path = rebase_path("util/net/testdata/binary_http_body.dat")
path = "util/net/testdata/binary_http_body.dat"
dest = "crashpad_test_data/util/net/testdata/binary_http_body.dat"
},
{
path = rebase_path("test/test_paths_test_data_root.txt")
path = "test/test_paths_test_data_root.txt"
dest = "crashpad_test_data/test/test_paths_test_data_root.txt"
},
]