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/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 Loading... | |
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($host_toolchain)" | |
Dirk Pranke
2016/05/16 23:50:23
($host_toolchain) is almost certainly unnecessary
marcinjb
2016/05/17 17:49:31
Ah, good to know. Removed (this was basically a c
| |
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 } |
OLD | NEW |