tor-browser

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

BUILD.gn (608B)


      1 # Copyright 2016 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/buildflag_header.gni")
      6 import("//chromium/build/config/features.gni")
      7 import("//chromium/build/config/linux/pkg_config.gni")
      8 
      9 buildflag_header("buildflags") {
     10   header = "buildflags.h"
     11   flags = [ "USE_DBUS=$use_dbus" ]
     12 }
     13 
     14 if (use_dbus) {
     15   # Note: if your target also depends on //dbus, you don't need to add this
     16   # config (it will get added automatically if you depend on //dbus).
     17   pkg_config("dbus") {
     18     packages = [ "dbus-1" ]
     19   }
     20 }