tor-browser

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

BUILD.gn (665B)


      1 # Copyright 2017 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/linux/pkg_config.gni")
      6 
      7 assert(is_linux, "This file should only be referenced on Linux")
      8 
      9 pkg_config("dri") {
     10   packages = [ "dri" ]
     11   dri_driver_dir = exec_script(pkg_config_script,
     12                                common_pkg_config_args + pkg_config_args + [
     13                                      "--dridriverdir",
     14                                      "dri",
     15                                    ],
     16                                "string")
     17   defines = [ "DRI_DRIVER_DIR=\"$dri_driver_dir\"" ]
     18 }