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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « mojo/tools/upload_binaries.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/ui.gni") 5 import("//build/config/ui.gni")
6 import("//mojo/public/mojo.gni") 6 import("//mojo/public/mojo.gni")
7 import("//mojo/public/mojo_application.gni") 7 import("//mojo/public/mojo_application.gni")
8 import("//mojo/public/tools/bindings/mojom.gni") 8 import("//mojo/public/tools/bindings/mojom.gni")
9 import("//mojo/tools/embed/rules.gni") 9 import("//mojo/tools/embed/rules.gni")
10 import("//testing/test.gni") 10 import("//testing/test.gni")
11 11
12 # We don't support building in the component build since mojo apps are 12 # We don't support building in the component build since mojo apps are
13 # inherently components. 13 # inherently components.
14 assert(!is_component_build) 14 assert(!is_component_build)
15 15
16 group("shell") { 16 group("shell") {
17 testonly = true 17 testonly = true
18 18
19 deps = [ 19 deps = [
20 ":mojo_shell", 20 ":mojo_shell",
21 ":tests", 21 ":tests",
22 ":copy_symbols",
22 ] 23 ]
23 24
24 if (is_android) { 25 if (is_android) {
25 deps += [ 26 deps += [
26 ":mojo_shell_apk", 27 ":mojo_shell_apk",
27 ":mojo_shell_tests_apk", 28 ":mojo_shell_tests_apk",
28 ] 29 ]
29 } 30 }
30 } 31 }
31 32
(...skipping 512 matching lines...) Expand 10 before | Expand all | Expand 10 after
544 "//mojo/application", 545 "//mojo/application",
545 "//mojo/application:test_support", 546 "//mojo/application:test_support",
546 "//mojo/common:common", 547 "//mojo/common:common",
547 "//mojo/public/cpp/bindings:callback", 548 "//mojo/public/cpp/bindings:callback",
548 "//mojo/public/cpp/environment", 549 "//mojo/public/cpp/environment",
549 "//mojo/public/cpp/system:system", 550 "//mojo/public/cpp/system:system",
550 "//mojo/services/nfc/public/interfaces", 551 "//mojo/services/nfc/public/interfaces",
551 "//shell/test:bindings", 552 "//shell/test:bindings",
552 ] 553 ]
553 } 554 }
555
556 copy("copy_symbols") {
557 testonly = true
558
559 deps = [
560 ":mojo_shell",
561 ]
562 if (is_android) {
563 deps += [ ":bootstrap" ]
564 }
565
566 sources = [
567 "${root_out_dir}/mojo_shell_child",
568 ]
569 if (is_android) {
570 sources += [
571 "${root_out_dir}/libbootstrap.so",
572 "${root_out_dir}/libmojo_shell.so",
573 ]
574 } else {
575 sources += [ "${root_out_dir}/mojo_shell" ]
576 }
577
578 outputs = [
579 "${root_out_dir}/symbols/{{source_file_part}}",
580 ]
581 }
OLDNEW
« 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