| Index: shell/BUILD.gn
|
| diff --git a/shell/BUILD.gn b/shell/BUILD.gn
|
| index bf995ddafbeb8877a011eeeb2b4239ef8a9d49aa..e23c78b2652153be303b86e447300f33f859cda6 100644
|
| --- a/shell/BUILD.gn
|
| +++ b/shell/BUILD.gn
|
| @@ -19,6 +19,7 @@ group("shell") {
|
| deps = [
|
| ":mojo_shell",
|
| ":tests",
|
| + ":copy_symbols",
|
| ]
|
|
|
| if (is_android) {
|
| @@ -551,3 +552,30 @@ mojo_native_application("shell_nfc_apptests") {
|
| "//shell/test:bindings",
|
| ]
|
| }
|
| +
|
| +copy("copy_symbols") {
|
| + testonly = true
|
| +
|
| + deps = [
|
| + ":mojo_shell",
|
| + ]
|
| + if (is_android) {
|
| + deps += [ ":bootstrap" ]
|
| + }
|
| +
|
| + sources = [
|
| + "${root_out_dir}/mojo_shell_child",
|
| + ]
|
| + if (is_android) {
|
| + sources += [
|
| + "${root_out_dir}/libbootstrap.so",
|
| + "${root_out_dir}/libmojo_shell.so",
|
| + ]
|
| + } else {
|
| + sources += [ "${root_out_dir}/mojo_shell" ]
|
| + }
|
| +
|
| + outputs = [
|
| + "${root_out_dir}/symbols/{{source_file_part}}",
|
| + ]
|
| +}
|
|
|