tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

logging.gni (830B)


      1 # Copyright 2019 The Chromium Authors
      2 # Use of this source code is governed by a BSD-style license that can be
      3 # found in the LICENSE file.
      4 
      5 import("//chromium/build/config/compiler/compiler.gni")
      6 
      7 declare_args() {
      8   # Stack traces will not include function names. Instead they will contain
      9   # file and offset information that can be used with
     10   # tools/valgrind/asan/asan_symbolize.py. By piping stderr through this script,
     11   # and also enabling symbol_level = 2, you can get much more detailed stack
     12   # traces with file names and line numbers, even in non-ASAN builds.
     13   print_unsymbolized_stack_traces = is_asan || is_lsan || is_msan || is_tsan
     14 
     15   # Enables the DWARF line number reader on Linux. This only has an effect if
     16   # print_unsymbolized_stack_traces is false.
     17   enable_stack_trace_line_numbers = symbol_level > 0
     18 }