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

Unified Diff: src/v8.gyp

Issue 2248393002: Replace DumpBacktrace with Chromium's StackTrace implementation. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Address Comments Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/d8.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/v8.gyp
diff --git a/src/v8.gyp b/src/v8.gyp
index 9ca8b4c8fcc4dfc490a6d8ae16b541885054475d..fe2d3a586f7761f04890ae67235bb33428bc4fa1 100644
--- a/src/v8.gyp
+++ b/src/v8.gyp
@@ -1767,10 +1767,13 @@
'base/cpu.h',
'base/division-by-constant.cc',
'base/division-by-constant.h',
+ 'base/debug/stack_trace.cc',
+ 'base/debug/stack_trace.h',
'base/file-utils.cc',
'base/file-utils.h',
'base/flags.h',
'base/format-macros.h',
+ 'base/free_deleter.h',
'base/functional.cc',
'base/functional.h',
'base/hashmap.h',
@@ -1817,14 +1820,16 @@
],
},
'sources': [
+ 'base/debug/stack_trace_posix.cc',
'base/platform/platform-linux.cc',
- 'base/platform/platform-posix.cc'
+ 'base/platform/platform-posix.cc',
],
}
],
['OS=="android"', {
'sources': [
- 'base/platform/platform-posix.cc'
+ 'base/debug/stack_trace_android.cc',
+ 'base/platform/platform-posix.cc',
],
'link_settings': {
'target_conditions': [
@@ -1878,8 +1883,9 @@
],
},
'sources': [
+ 'base/debug/stack_trace_posix.cc',
'base/platform/platform-posix.cc',
- 'base/qnx-math.h',
+ 'base/qnx-math.h'
],
'target_conditions': [
['_toolset=="host" and host_os=="linux"', {
@@ -1906,8 +1912,9 @@
'-L/usr/local/lib -lexecinfo',
]},
'sources': [
+ 'base/debug/stack_trace_posix.cc',
'base/platform/platform-freebsd.cc',
- 'base/platform/platform-posix.cc'
+ 'base/platform/platform-posix.cc',
],
}
],
@@ -1928,8 +1935,9 @@
'-L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lexecinfo',
]},
'sources': [
+ 'base/debug/stack_trace_posix.cc',
'base/platform/platform-openbsd.cc',
- 'base/platform/platform-posix.cc'
+ 'base/platform/platform-posix.cc',
],
}
],
@@ -1945,15 +1953,17 @@
'-lnsl -lrt',
]},
'sources': [
+ 'base/debug/stack_trace_posix.cc',
'base/platform/platform-solaris.cc',
- 'base/platform/platform-posix.cc'
+ 'base/platform/platform-posix.cc',
],
}
],
['OS=="mac"', {
'sources': [
+ 'base/debug/stack_trace_posix.cc',
'base/platform/platform-macos.cc',
- 'base/platform/platform-posix.cc'
+ 'base/platform/platform-posix.cc',
]},
],
['OS=="win"', {
@@ -1971,11 +1981,13 @@
'conditions': [
['build_env=="Cygwin"', {
'sources': [
+ 'base/debug/stack_trace_posix.cc',
'base/platform/platform-cygwin.cc',
- 'base/platform/platform-posix.cc'
+ 'base/platform/platform-posix.cc',
],
}, {
'sources': [
+ 'base/debug/stack_trace_win.cc',
'base/platform/platform-win32.cc',
'base/win32-headers.h',
],
@@ -1986,12 +1998,18 @@
},
}, {
'sources': [
+ 'base/debug/stack_trace_win.cc',
'base/platform/platform-win32.cc',
'base/win32-headers.h',
],
'msvs_disabled_warnings': [4351, 4355, 4800],
'link_settings': {
- 'libraries': [ '-lwinmm.lib', '-lws2_32.lib' ],
+ 'libraries': [
+ '-ldbghelp.lib',
+ '-lshlwapi.lib',
+ '-lwinmm.lib',
+ '-lws2_32.lib'
+ ],
},
}],
],
« no previous file with comments | « src/d8.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698