tor-browser

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

absl_base.gn (1980B)


      1 import("//chromium/build/config/linux/pkg_config.gni")
      2 import("//chromium/build/shim_headers.gni")
      3 
      4 pkg_config("system_absl_base") {
      5   packages = [ "absl_base" ]
      6 }
      7 
      8 pkg_config("system_absl_config") {
      9   packages = [ "absl_config" ]
     10 }
     11 
     12 pkg_config("system_absl_core_headers") {
     13   packages = [ "absl_core_headers" ]
     14 }
     15 
     16 pkg_config("system_absl_nullability") {
     17   packages = [ "absl_nullability" ]
     18 }
     19 
     20 pkg_config("system_absl_prefetch") {
     21   packages = [ "absl_prefetch" ]
     22 }
     23 
     24 shim_headers("base_shim") {
     25   root_path = "."
     26   prefix = "absl/base/"
     27   headers = [
     28     "call_once.h",
     29     "casts.h",
     30     "dynamic_annotations.h",
     31   ]
     32 }
     33 
     34 source_set("base") {
     35   deps = [ ":base_shim" ]
     36   public_configs = [ ":system_absl_base" ]
     37 }
     38 
     39 shim_headers("config_shim") {
     40   root_path = "."
     41   prefix = "absl/base/"
     42   headers = [
     43     "config.h",
     44     "options.h",
     45     "policy_checks.h",
     46   ]
     47 }
     48 
     49 source_set("config") {
     50   deps = [ ":config_shim" ]
     51   public_configs = [ ":system_absl_config" ]
     52 }
     53 
     54 shim_headers("core_headers_shim") {
     55   root_path = "."
     56   prefix = "absl/base/"
     57   headers = [
     58     "attributes.h",
     59     "const_init.h",
     60     "macros.h",
     61     "optimization.h",
     62     "port.h",
     63     "thread_annotations.h",
     64   ]
     65 }
     66 
     67 source_set("core_headers") {
     68   deps = [ ":core_headers_shim" ]
     69   public_configs = [ ":system_absl_core_headers" ]
     70 }
     71 
     72 shim_headers("nullability_shim") {
     73   root_path = "."
     74   prefix = "absl/base/"
     75   headers = [ "nullability.h" ]
     76 }
     77 
     78 source_set("nullability") {
     79   deps = [ ":nullability_shim" ]
     80   public_configs = [ ":system_absl_nullability" ]
     81 }
     82 
     83 shim_headers("prefetch_shim") {
     84   root_path = "."
     85   prefix = "absl/base/"
     86   headers = [ "prefetch.h" ]
     87 }
     88 
     89 source_set("prefetch") {
     90   deps = [ ":prefetch_shim" ]
     91   public_configs = [ ":system_absl_prefetch" ]
     92 }
     93 
     94 source_set("no_destructor") {
     95   # Dummy — unavailable with abseil 202308 and chromium 122 does not use it
     96 }
     97 
     98 source_set("config_test") {
     99 }
    100 source_set("no_destructor_test") {
    101 }
    102 source_set("nullability_test") {
    103 }
    104 source_set("prefetch_test") {
    105 }