1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22
   23
   24
   25
   26
   27
   28
   29
   30
   31
   32
   33
   34
   35
   36
   37
   38
   39
   40
   41
   42
   43
   44
   45
   46
   47
   48
   49
   50
   51
   52
   53
   54
   55
   56
   57
   58

build / linux / unbundle / absl_functional.gn [blame]

import("//build/config/linux/pkg_config.gni")
import("//build/shim_headers.gni")

pkg_config("system_absl_any_invocable") {
  packages = [ "absl_any_invocable" ]
}

shim_headers("any_invocable_shim") {
  root_path = "."
  prefix = "absl/functional/"
  headers = [ "any_invocable.h" ]
}

source_set("any_invocable") {
  deps = [ ":any_invocable_shim" ]
  public_configs = [ ":system_absl_any_invocable" ]
}

pkg_config("system_absl_bind_front") {
  packages = [ "absl_bind_front" ]
}

shim_headers("bind_front_shim") {
  root_path = "."
  prefix = "absl/functional/"
  headers = [ "bind_front.h" ]
}

source_set("bind_front") {
  deps = [ ":bind_front_shim" ]
  public_configs = [ ":system_absl_bind_front" ]
}

pkg_config("system_absl_function_ref") {
  packages = [ "absl_function_ref" ]
}

shim_headers("function_ref_shim") {
  root_path = "."
  prefix = "absl/functional/"
  headers = [ "function_ref.h" ]
}

source_set("function_ref") {
  deps = [ ":function_ref_shim" ]
  public_configs = [ ":system_absl_function_ref" ]
}

source_set("overload") {
  # Dummy — unavailable with abseil 202308 and chromium 122 does not use it
}

source_set("any_invocable_test") {
}
source_set("function_ref_test") {
}
source_set("overload_test") {
}