tor-browser

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

BUILD.gn (675B)


      1 # Copyright 2021 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/toolchain/concurrent_links.gni")
      6 
      7 declare_args() {
      8   # Reduce the number of tasks using the copy_bundle_data and compile_xcassets
      9   # tools as they can cause lots of I/O contention when invoking ninja with a
     10   # large number of parallel jobs (e.g. when using distributed build like rbe).
     11   bundle_pool_depth = -1
     12 }
     13 
     14 if (current_toolchain == default_toolchain) {
     15   pool("bundle_pool") {
     16     if (bundle_pool_depth == -1) {
     17       depth = concurrent_links
     18     } else {
     19       depth = bundle_pool_depth
     20     }
     21   }
     22 }