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

Side by Side Diff: chrome/BUILD.gn

Issue 2522523002: Add GDB auto-load file to the output directory.
Patch Set: Created 4 years 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 | « no previous file | tools/gdb/chrome-gdb.py » ('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 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/buildflag_header.gni") 5 import("//build/buildflag_header.gni")
6 import("//build/config/chrome_build.gni") 6 import("//build/config/chrome_build.gni")
7 import("//build/config/compiler/compiler.gni") 7 import("//build/config/compiler/compiler.gni")
8 import("//build/config/features.gni") 8 import("//build/config/features.gni")
9 import("//build/config/locales.gni") 9 import("//build/config/locales.gni")
10 import("//build/config/sanitizers/sanitizers.gni") 10 import("//build/config/sanitizers/sanitizers.gni")
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 if (is_chromeos) { 268 if (is_chromeos) {
269 deps += [ "//third_party/adobe/flash:flapper_binaries" ] 269 deps += [ "//third_party/adobe/flash:flapper_binaries" ]
270 } 270 }
271 271
272 data_deps += [ "//third_party/widevine/cdm:widevinecdmadapter" ] 272 data_deps += [ "//third_party/widevine/cdm:widevinecdmadapter" ]
273 273
274 if (is_multi_dll_chrome) { 274 if (is_multi_dll_chrome) {
275 defines += [ "CHROME_MULTIPLE_DLL" ] 275 defines += [ "CHROME_MULTIPLE_DLL" ]
276 data_deps += [ ":chrome_child" ] 276 data_deps += [ ":chrome_child" ]
277 } 277 }
278
279 data_deps += [ ":gdb_auto_load" ]
278 } 280 }
279 } # !is_android && !is_mac 281 } # !is_android && !is_mac
280 282
281 if (is_win) { 283 if (is_win) {
282 # This target is a forwarding target to compile the necessary DLLs used 284 # This target is a forwarding target to compile the necessary DLLs used
283 # by Chrome. 285 # by Chrome.
284 group("chrome_dll") { 286 group("chrome_dll") {
285 data_deps = [ 287 data_deps = [
286 ":main_dll", 288 ":main_dll",
287 ] 289 ]
(...skipping 1323 matching lines...) Expand 10 before | Expand all | Expand 10 after
1611 "//chrome/app/theme/$branding_path_component/product_logo_48.png", 1613 "//chrome/app/theme/$branding_path_component/product_logo_48.png",
1612 "//chrome/tools/build/linux/chrome-wrapper", 1614 "//chrome/tools/build/linux/chrome-wrapper",
1613 "//third_party/xdg-utils/scripts/xdg-mime", 1615 "//third_party/xdg-utils/scripts/xdg-mime",
1614 "//third_party/xdg-utils/scripts/xdg-settings", 1616 "//third_party/xdg-utils/scripts/xdg-settings",
1615 ] 1617 ]
1616 outputs = [ 1618 outputs = [
1617 "$root_out_dir/{{source_file_part}}", 1619 "$root_out_dir/{{source_file_part}}",
1618 ] 1620 ]
1619 } 1621 }
1620 } 1622 }
1623
1624 # When this auto-load file is installed in the same directory as the Chromium
1625 # executable, it automatically registers pretty-printers when you start GDB [1].
1626 #
1627 # [1] https://sourceware.org/gdb/current/onlinedocs/gdb/Writing-a-Pretty_002dPri nter.html
1628 copy("gdb_auto_load") {
1629 sources = [
1630 "//tools/gdb/chrome-gdb.py",
1631 ]
1632 outputs = [
1633 "$root_out_dir/chrome-gdb.py",
1634 ]
1635 }
OLDNEW
« no previous file with comments | « no previous file | tools/gdb/chrome-gdb.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698