tor-browser

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

config.gni (777B)


      1 # Copyright 2022 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 declare_args() {
      6   # Control whether cronet is built (this is usually set by the script
      7   # components/cronet/tools/cr_cronet.py as cronet requires specific
      8   # gn args to build correctly).
      9   is_cronet_build = false
     10 
     11   # Controls whether cronet is currently being built for AOSP or Chromium.
     12   # This will always be false when building Cronet for Chromium.
     13   # the flag exists to accommodate for the divergence between the repos.
     14   is_cronet_for_aosp_build = false
     15 }
     16 
     17 if (is_cronet_for_aosp_build) {
     18   assert(
     19       is_cronet_build,
     20       "`is_cronet_for_aosp_build` flag can be only enabled when `is_cronet_build` flag is enabled.")
     21 }