tor-browser

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

profiling.gni (470B)


      1 # Copyright 2020 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/pgo/pgo.gni")
      6 import("//chromium/build/config/coverage/coverage.gni")
      7 
      8 declare_args() {
      9   use_clang_profiling =
     10       is_a_target_toolchain && (use_clang_coverage || chrome_pgo_phase == 1)
     11 }
     12 
     13 assert(!use_clang_profiling || is_clang,
     14        "Clang Source-based profiling requires clang.")