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

Side by Side Diff: BUILD.gn

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 unified diff | Download patch
« no previous file with comments | « no previous file | src/base/debug/stack_trace.h » ('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/config/android/config.gni") 5 import("//build/config/android/config.gni")
6 import("//build/config/arm.gni") 6 import("//build/config/arm.gni")
7 import("//build/config/dcheck_always_on.gni") 7 import("//build/config/dcheck_always_on.gni")
8 import("//build/config/mips.gni") 8 import("//build/config/mips.gni")
9 import("//build/config/sanitizers/sanitizers.gni") 9 import("//build/config/sanitizers/sanitizers.gni")
10 10
(...skipping 2018 matching lines...) Expand 10 before | Expand all | Expand 10 after
2029 "src/base/atomicops_internals_s390_gcc.h", 2029 "src/base/atomicops_internals_s390_gcc.h",
2030 "src/base/atomicops_internals_tsan.h", 2030 "src/base/atomicops_internals_tsan.h",
2031 "src/base/atomicops_internals_x86_gcc.cc", 2031 "src/base/atomicops_internals_x86_gcc.cc",
2032 "src/base/atomicops_internals_x86_gcc.h", 2032 "src/base/atomicops_internals_x86_gcc.h",
2033 "src/base/atomicops_internals_x86_msvc.h", 2033 "src/base/atomicops_internals_x86_msvc.h",
2034 "src/base/bits.cc", 2034 "src/base/bits.cc",
2035 "src/base/bits.h", 2035 "src/base/bits.h",
2036 "src/base/build_config.h", 2036 "src/base/build_config.h",
2037 "src/base/cpu.cc", 2037 "src/base/cpu.cc",
2038 "src/base/cpu.h", 2038 "src/base/cpu.h",
2039 "src/base/debug/stack_trace.cc",
2040 "src/base/debug/stack_trace.h",
2039 "src/base/division-by-constant.cc", 2041 "src/base/division-by-constant.cc",
2040 "src/base/division-by-constant.h", 2042 "src/base/division-by-constant.h",
2041 "src/base/file-utils.cc", 2043 "src/base/file-utils.cc",
2042 "src/base/file-utils.h", 2044 "src/base/file-utils.h",
2043 "src/base/flags.h", 2045 "src/base/flags.h",
2044 "src/base/format-macros.h", 2046 "src/base/format-macros.h",
2047 "src/base/free_deleter.h",
2045 "src/base/functional.cc", 2048 "src/base/functional.cc",
2046 "src/base/functional.h", 2049 "src/base/functional.h",
2047 "src/base/hashmap.h", 2050 "src/base/hashmap.h",
2048 "src/base/ieee754.cc", 2051 "src/base/ieee754.cc",
2049 "src/base/ieee754.h", 2052 "src/base/ieee754.h",
2050 "src/base/iterator.h", 2053 "src/base/iterator.h",
2051 "src/base/lazy-instance.h", 2054 "src/base/lazy-instance.h",
2052 "src/base/logging.cc", 2055 "src/base/logging.cc",
2053 "src/base/logging.h", 2056 "src/base/logging.h",
2054 "src/base/macros.h", 2057 "src/base/macros.h",
(...skipping 17 matching lines...) Expand all
2072 "src/base/sys-info.h", 2075 "src/base/sys-info.h",
2073 "src/base/utils/random-number-generator.cc", 2076 "src/base/utils/random-number-generator.cc",
2074 "src/base/utils/random-number-generator.h", 2077 "src/base/utils/random-number-generator.h",
2075 ] 2078 ]
2076 2079
2077 configs = [ ":internal_config_base" ] 2080 configs = [ ":internal_config_base" ]
2078 2081
2079 defines = [] 2082 defines = []
2080 2083
2081 if (is_posix) { 2084 if (is_posix) {
2082 sources += [ "src/base/platform/platform-posix.cc" ] 2085 sources += [
2086 "src/base/platform/platform-posix.cc",
2087 ]
2083 } 2088 }
2084 2089
2085 if (is_linux) { 2090 if (is_linux) {
2086 sources += [ "src/base/platform/platform-linux.cc" ] 2091 sources += [
2092 "src/base/debug/stack_trace_posix.cc",
2093 "src/base/platform/platform-linux.cc",
2094 ]
2087 2095
2088 libs = [ 2096 libs = [
2089 "dl", 2097 "dl",
2090 "rt", 2098 "rt",
2091 ] 2099 ]
2092 } else if (is_android) { 2100 } else if (is_android) {
2093 if (current_toolchain == host_toolchain) { 2101 if (current_toolchain == host_toolchain) {
2094 libs = [ 2102 libs = [
2095 "dl", 2103 "dl",
2096 "rt", 2104 "rt",
2097 ] 2105 ]
2098 if (host_os == "mac") { 2106 if (host_os == "mac") {
2099 sources += [ "src/base/platform/platform-macos.cc" ] 2107 sources += [
2108 "src/base/debug/stack_trace_posix.cc",
2109 "src/base/platform/platform-macos.cc",
2110 ]
2100 } else { 2111 } else {
2101 sources += [ "src/base/platform/platform-linux.cc" ] 2112 sources += [
2113 "src/base/debug/stack_trace_posix.cc",
2114 "src/base/platform/platform-linux.cc",
2115 ]
2102 } 2116 }
2103 } else { 2117 } else {
2104 sources += [ "src/base/platform/platform-linux.cc" ] 2118 sources += [
2119 "src/base/debug/stack_trace_android.cc",
2120 "src/base/platform/platform-linux.cc",
2121 ]
2105 } 2122 }
2106 } else if (is_mac) { 2123 } else if (is_mac) {
2107 sources += [ "src/base/platform/platform-macos.cc" ] 2124 sources += [
2125 "src/base/debug/stack_trace_posix.cc",
2126 "src/base/platform/platform-macos.cc",
2127 ]
2108 } else if (is_win) { 2128 } else if (is_win) {
2109 # TODO(jochen): Add support for cygwin. 2129 # TODO(jochen): Add support for cygwin.
2110 sources += [ 2130 sources += [
2131 "src/base/debug/stack_trace_win.cc",
2111 "src/base/platform/platform-win32.cc", 2132 "src/base/platform/platform-win32.cc",
2112 "src/base/win32-headers.h", 2133 "src/base/win32-headers.h",
2113 ] 2134 ]
2114 2135
2115 defines += [ "_CRT_RAND_S" ] # for rand_s() 2136 defines += [ "_CRT_RAND_S" ] # for rand_s()
2116 2137
2117 libs = [ 2138 libs = [
2139 "dbghelp.lib",
2140 "shlwapi.lib",
2118 "winmm.lib", 2141 "winmm.lib",
2119 "ws2_32.lib", 2142 "ws2_32.lib",
2120 ] 2143 ]
2121 } 2144 }
2122 2145
2123 # TODO(jochen): Add support for qnx, freebsd, openbsd, netbsd, and solaris. 2146 # TODO(jochen): Add support for qnx, freebsd, openbsd, netbsd, and solaris.
2124 } 2147 }
2125 2148
2126 v8_source_set("v8_libplatform") { 2149 v8_source_set("v8_libplatform") {
2127 sources = [ 2150 sources = [
(...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after
2542 2565
2543 deps = [ 2566 deps = [
2544 ":fuzzer_support", 2567 ":fuzzer_support",
2545 ] 2568 ]
2546 2569
2547 configs = [ ":internal_config" ] 2570 configs = [ ":internal_config" ]
2548 } 2571 }
2549 2572
2550 v8_fuzzer("wasm_asmjs_fuzzer") { 2573 v8_fuzzer("wasm_asmjs_fuzzer") {
2551 } 2574 }
OLDNEW
« no previous file with comments | « no previous file | src/base/debug/stack_trace.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698