OLD | NEW |
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/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/locales.gni") | 7 import("//build/config/locales.gni") |
8 import("//build/config/ui.gni") | 8 import("//build/config/ui.gni") |
9 import("//chrome/chrome_repack_locales.gni") | 9 import("//chrome/chrome_repack_locales.gni") |
10 import("//chrome/version.gni") | 10 import("//chrome/version.gni") |
(...skipping 790 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
801 ] | 801 ] |
802 | 802 |
803 args = [ | 803 args = [ |
804 rebase_path(infile, root_build_dir), | 804 rebase_path(infile, root_build_dir), |
805 rebase_path(outfile, root_build_dir), | 805 rebase_path(outfile, root_build_dir), |
806 "-e s/@@NAME@@/$name/", | 806 "-e s/@@NAME@@/$name/", |
807 "-e s/@@FILENAME@@/$filename/", | 807 "-e s/@@FILENAME@@/$filename/", |
808 "-e s/@@CONFDIR@@/$confdir/", | 808 "-e s/@@CONFDIR@@/$confdir/", |
809 ] | 809 ] |
810 } | 810 } |
811 | |
812 action("linux_symbols") { | |
813 script = "//build/linux/dump_app_syms.py" | |
814 | |
815 dump_syms_label = "//breakpad:dump_syms($host_toolchain)" | |
816 dump_syms_binary = | |
817 get_label_info(dump_syms_label, "root_out_dir") + "/" + "dump_syms" | |
818 | |
819 chrome_binary = "$root_out_dir/chrome" | |
820 if (current_cpu == "x86") { | |
821 # Use "ia32" instead of "x86" for GYP compat. | |
822 symbol_file = "$root_out_dir/chrome.breakpad.ia32" | |
823 } else { | |
824 symbol_file = "$root_out_dir/chrome.breakpad.$current_cpu" | |
825 } | |
826 | |
827 inputs = [ | |
828 chrome_binary, | |
829 dump_syms_binary, | |
830 ] | |
831 outputs = [ | |
832 symbol_file, | |
833 ] | |
834 | |
835 args = [ | |
836 rebase_path(dump_syms_binary, root_build_dir), | |
837 "0", # TODO(GYP) This is linux_strip_binary if it is needed. | |
838 rebase_path(chrome_binary, root_build_dir), | |
839 rebase_path(symbol_file, root_build_dir), | |
840 ] | |
841 | |
842 deps = [ | |
843 ":chrome", | |
844 dump_syms_label, | |
845 ] | |
846 } | |
847 } | 811 } |
OLD | NEW |