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

Side by Side Diff: blimp/engine/BUILD.gn

Issue 1979773002: Add an action to create a symbol file for the Blimp engine (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove $host_toolchain Created 4 years, 7 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 | « blimp/BUILD.gn ('k') | build/args/bots/official.desktop/blimp-engine.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/features.gni") 6 import("//build/config/features.gni")
6 import("//build/config/sanitizers/sanitizers.gni") 7 import("//build/config/sanitizers/sanitizers.gni")
7 import("//build/config/ui.gni") 8 import("//build/config/ui.gni")
8 import("//mojo/public/tools/bindings/mojom.gni") 9 import("//mojo/public/tools/bindings/mojom.gni")
9 import("//tools/grit/repack.gni") 10 import("//tools/grit/repack.gni")
10 import("//tools/grit/grit_rule.gni") 11 import("//tools/grit/grit_rule.gni")
11 12
12 repack("pak") { 13 repack("pak") {
13 sources = [ 14 sources = [
14 "$root_gen_dir/blink/public/resources/blink_image_resources_100_percent.pak" , 15 "$root_gen_dir/blink/public/resources/blink_image_resources_100_percent.pak" ,
(...skipping 509 matching lines...) Expand 10 before | Expand all | Expand 10 after
524 "--dockerfile", 525 "--dockerfile",
525 _rebased_dockerfile, 526 _rebased_dockerfile,
526 "--startup-script", 527 "--startup-script",
527 _rebased_startup_script, 528 _rebased_startup_script,
528 "--manifest", 529 "--manifest",
529 _rebased_manifest, 530 _rebased_manifest,
530 "--output", 531 "--output",
531 rebase_path(_bundle), 532 rebase_path(_bundle),
532 ] 533 ]
533 } 534 }
535
536 # Creates a breakpad symbol file for the engine. This takes a long time so
537 # it should only be done as part of the official build.
538 if (is_official_build) {
539 action("blimp_symbols") {
540 script = "//build/linux/dump_app_syms.py"
541
542 dump_syms_label = "//breakpad:dump_syms"
543 dump_syms_binary =
544 get_label_info(dump_syms_label, "root_out_dir") + "/" + "dump_syms"
545
546 engine_binary = "$root_out_dir/blimp_engine_app"
547 symbol_file = "$root_out_dir/blimp_engine_app.breakpad.x64"
548
549 inputs = [
550 engine_binary,
551 dump_syms_binary,
552 ]
553 outputs = [
554 symbol_file,
555 ]
556
557 args = [
558 "./" + rebase_path(dump_syms_binary, root_build_dir),
559 "0", # strip_binary = false
560 rebase_path(engine_binary, root_build_dir),
561 rebase_path(symbol_file, root_build_dir),
562 ]
563
564 deps = [
565 ":blimp_engine_app",
566 dump_syms_label,
567 ]
568 }
569 }
534 } 570 }
OLDNEW
« no previous file with comments | « blimp/BUILD.gn ('k') | build/args/bots/official.desktop/blimp-engine.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698