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
   59
   60
   61
   62
   63
   64
   65
   66
   67
   68
   69
   70
   71
   72
   73
   74
   75
   76
   77
   78
   79
   80
   81
   82
   83
   84
   85
   86
   87
   88
   89
   90
   91
   92
   93
   94
   95
   96
   97
   98
   99
  100
  101
  102
  103
  104
  105

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

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

pkg_config("system_absl_base") {
  packages = [ "absl_base" ]
}

pkg_config("system_absl_config") {
  packages = [ "absl_config" ]
}

pkg_config("system_absl_core_headers") {
  packages = [ "absl_core_headers" ]
}

pkg_config("system_absl_nullability") {
  packages = [ "absl_nullability" ]
}

pkg_config("system_absl_prefetch") {
  packages = [ "absl_prefetch" ]
}

shim_headers("base_shim") {
  root_path = "."
  prefix = "absl/base/"
  headers = [
    "call_once.h",
    "casts.h",
    "dynamic_annotations.h",
  ]
}

source_set("base") {
  deps = [ ":base_shim" ]
  public_configs = [ ":system_absl_base" ]
}

shim_headers("config_shim") {
  root_path = "."
  prefix = "absl/base/"
  headers = [
    "config.h",
    "options.h",
    "policy_checks.h",
  ]
}

source_set("config") {
  deps = [ ":config_shim" ]
  public_configs = [ ":system_absl_config" ]
}

shim_headers("core_headers_shim") {
  root_path = "."
  prefix = "absl/base/"
  headers = [
    "attributes.h",
    "const_init.h",
    "macros.h",
    "optimization.h",
    "port.h",
    "thread_annotations.h",
  ]
}

source_set("core_headers") {
  deps = [ ":core_headers_shim" ]
  public_configs = [ ":system_absl_core_headers" ]
}

shim_headers("nullability_shim") {
  root_path = "."
  prefix = "absl/base/"
  headers = [ "nullability.h" ]
}

source_set("nullability") {
  deps = [ ":nullability_shim" ]
  public_configs = [ ":system_absl_nullability" ]
}

shim_headers("prefetch_shim") {
  root_path = "."
  prefix = "absl/base/"
  headers = [ "prefetch.h" ]
}

source_set("prefetch") {
  deps = [ ":prefetch_shim" ]
  public_configs = [ ":system_absl_prefetch" ]
}

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

source_set("config_test") {
}
source_set("no_destructor_test") {
}
source_set("nullability_test") {
}
source_set("prefetch_test") {
}