tor-browser

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

zstd.gn (614B)


      1 # Copyright 2024 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 import("//chromium/build/shim_headers.gni")
      7 
      8 pkg_config("system_zstd") {
      9   packages = [ "libzstd" ]
     10 }
     11 
     12 shim_headers("zstd_headers") {
     13   root_path = "src/lib"
     14   headers = [
     15     "zstd.h",
     16     "zstd_errors.h",
     17   ]
     18 }
     19 
     20 source_set("compress") {
     21   public_configs = [ ":system_zstd" ]
     22   public_deps = [ ":zstd_headers" ]
     23 }
     24 source_set("decompress") {
     25   public_configs = [ ":system_zstd" ]
     26   public_deps = [ ":zstd_headers" ]
     27 }