Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2051)

Unified Diff: shell/BUILD.gn

Issue 1236543003: Upload symbols when uploading mojo binaries to the CDN. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Copy symbols to know location during build Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/tools/upload_binaries.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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}}",
+ ]
+}
« no previous file with comments | « mojo/tools/upload_binaries.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698