Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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/chrome_build.gni") | 5 import("//build/config/chrome_build.gni") |
| 6 import("//build/config/features.gni") | 6 import("//build/config/features.gni") |
| 7 import("//build/config/sanitizers/sanitizers.gni") | 7 import("//build/config/sanitizers/sanitizers.gni") |
| 8 import("//build/config/ui.gni") | 8 import("//build/config/ui.gni") |
| 9 import("//mojo/public/tools/bindings/mojom.gni") | 9 import("//mojo/public/tools/bindings/mojom.gni") |
| 10 import("//tools/grit/repack.gni") | 10 import("//tools/grit/repack.gni") |
| (...skipping 542 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 553 _rebased_dockerfile, | 553 _rebased_dockerfile, |
| 554 "--startup-script", | 554 "--startup-script", |
| 555 _rebased_startup_script, | 555 _rebased_startup_script, |
| 556 "--manifest", | 556 "--manifest", |
| 557 _rebased_manifest, | 557 _rebased_manifest, |
| 558 "--output", | 558 "--output", |
| 559 rebase_path(_bundle), | 559 rebase_path(_bundle), |
| 560 ] | 560 ] |
| 561 } | 561 } |
| 562 | 562 |
| 563 # Creates a breakpad symbol file for the engine. This takes a long time so | 563 # Crash symbols should only be created and uploaded from official builders. |
| 564 # it should only be done as part of the official build. | |
| 565 if (is_official_build) { | 564 if (is_official_build) { |
| 565 # Action to create a breakpad symbol file for the engine. This can take | |
|
Kevin M
2016/05/18 20:31:46
Capitalize: Breakpad, Engine
marcinjb
2016/05/18 20:42:04
Done.
| |
| 566 # a long time. | |
| 566 action("blimp_symbols") { | 567 action("blimp_symbols") { |
| 567 script = "//build/linux/dump_app_syms.py" | 568 script = "//build/linux/dump_app_syms.py" |
| 568 | 569 |
| 569 dump_syms_label = "//breakpad:dump_syms" | 570 dump_syms_label = "//breakpad:dump_syms" |
| 570 dump_syms_binary = | 571 dump_syms_binary = |
| 571 get_label_info(dump_syms_label, "root_out_dir") + "/" + "dump_syms" | 572 get_label_info(dump_syms_label, "root_out_dir") + "/" + "dump_syms" |
| 572 | 573 |
| 573 engine_binary = "$root_out_dir/blimp_engine_app" | 574 engine_binary = "$root_out_dir/blimp_engine_app" |
| 574 symbol_file = "$root_out_dir/blimp_engine_app.breakpad.x64" | 575 symbol_file = "$root_out_dir/blimp_engine_app.breakpad.x64" |
| 575 | 576 |
| (...skipping 10 matching lines...) Expand all Loading... | |
| 586 "0", # strip_binary = false | 587 "0", # strip_binary = false |
| 587 rebase_path(engine_binary, root_build_dir), | 588 rebase_path(engine_binary, root_build_dir), |
| 588 rebase_path(symbol_file, root_build_dir), | 589 rebase_path(symbol_file, root_build_dir), |
| 589 ] | 590 ] |
| 590 | 591 |
| 591 deps = [ | 592 deps = [ |
| 592 ":blimp_engine_app", | 593 ":blimp_engine_app", |
| 593 dump_syms_label, | 594 dump_syms_label, |
| 594 ] | 595 ] |
| 595 } | 596 } |
| 597 | |
| 598 # Binary used by the buildbots to upload breakpad symbols. | |
|
Kevin M
2016/05/18 20:31:46
THis isn't a binary, just a dep list.
Any reason
marcinjb
2016/05/18 20:42:04
Well, with a level of indirection, symupload gener
| |
| 599 group("symupload") { | |
| 600 deps = [ | |
| 601 "//breakpad:symupload", | |
| 602 ] | |
| 603 } | |
| 596 } | 604 } |
| 597 } | 605 } |
| OLD | NEW |