tor-browser

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

absl_functional.gn (1258B)


      1 import("//chromium/build/config/linux/pkg_config.gni")
      2 import("//chromium/build/shim_headers.gni")
      3 
      4 pkg_config("system_absl_any_invocable") {
      5   packages = [ "absl_any_invocable" ]
      6 }
      7 
      8 shim_headers("any_invocable_shim") {
      9   root_path = "."
     10   prefix = "absl/functional/"
     11   headers = [ "any_invocable.h" ]
     12 }
     13 
     14 source_set("any_invocable") {
     15   deps = [ ":any_invocable_shim" ]
     16   public_configs = [ ":system_absl_any_invocable" ]
     17 }
     18 
     19 pkg_config("system_absl_bind_front") {
     20   packages = [ "absl_bind_front" ]
     21 }
     22 
     23 shim_headers("bind_front_shim") {
     24   root_path = "."
     25   prefix = "absl/functional/"
     26   headers = [ "bind_front.h" ]
     27 }
     28 
     29 source_set("bind_front") {
     30   deps = [ ":bind_front_shim" ]
     31   public_configs = [ ":system_absl_bind_front" ]
     32 }
     33 
     34 pkg_config("system_absl_function_ref") {
     35   packages = [ "absl_function_ref" ]
     36 }
     37 
     38 shim_headers("function_ref_shim") {
     39   root_path = "."
     40   prefix = "absl/functional/"
     41   headers = [ "function_ref.h" ]
     42 }
     43 
     44 source_set("function_ref") {
     45   deps = [ ":function_ref_shim" ]
     46   public_configs = [ ":system_absl_function_ref" ]
     47 }
     48 
     49 source_set("overload") {
     50   # Dummy — unavailable with abseil 202308 and chromium 122 does not use it
     51 }
     52 
     53 source_set("any_invocable_test") {
     54 }
     55 source_set("function_ref_test") {
     56 }
     57 source_set("overload_test") {
     58 }