summaryrefslogtreecommitdiff
path: root/etc/import/absl/base/TARGETS.absl
blob: a9365c8838f2c1c7907142602b78365a8a8a8c2c (plain)
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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
{ "base":
  { "type": ["@", "rules", "CC", "library"]
  , "arguments_config": ["OS", "COMPILER_FAMILY", "ARCH", "TARGET_ARCH"]
  , "name": ["base"]
  , "stage": ["absl", "base"]
  , "hdrs":
    [ "call_once.h"
    , "casts.h"
    , "internal/cycleclock.h"
    , "internal/cycleclock_config.h"
    , "internal/low_level_scheduling.h"
    , "internal/per_thread_tls.h"
    , "internal/spinlock.h"
    , "internal/sysinfo.h"
    , "internal/thread_identity.h"
    , "internal/tsan_mutex_interface.h"
    , "internal/unscaledcycleclock.h"
    , "internal/unscaledcycleclock_config.h"
    ]
  , "srcs":
    [ "internal/cycleclock.cc"
    , "internal/spinlock.cc"
    , "internal/sysinfo.cc"
    , "internal/thread_identity.cc"
    , "internal/unscaledcycleclock.cc"
    ]
  , "private-ldflags":
    { "type": "++"
    , "$1":
      [ ["-pthread"]
      , { "type": "case*"
        , "expr": {"type": "var", "name": "COMPILER_FAMILY"}
        , "case": [["mingw", ["-ladvapi32"]]]
        }
      , { "type": "case*"
        , "expr": {"type": "var", "name": "OS"}
        , "case": [["linux", ["-lrt"]]]
        }
      , { "type": "case"
        , "expr":
          { "type": "var"
          , "name": "TARGET_ARCH"
          , "default":
            { "type": "var"
            , "name": "ARCH"
            , "default":
              {"type": "fail", "msg": "Required variable 'ARCH' is not set."}
            }
          }
        , "case": {"arm": ["-latomic"]}
        }
      ]
    }
  , "deps":
    [ "atomic_hook"
    , "base_internal"
    , "config"
    , "core_headers"
    , "cycleclock_internal"
    , "dynamic_annotations"
    , "log_severity"
    , "raw_logging_internal"
    , "spinlock_wait"
    , ["absl/meta", "type_traits"]
    ]
  }
, "atomic_hook":
  { "type": ["@", "rules", "CC", "library"]
  , "arguments_config": ["ARCH", "TARGET_ARCH"]
  , "name": ["atomic_hook"]
  , "stage": ["absl", "base"]
  , "hdrs": ["internal/atomic_hook.h"]
  , "private-ldflags":
    { "type": "case"
    , "expr":
      { "type": "var"
      , "name": "TARGET_ARCH"
      , "default":
        { "type": "var"
        , "name": "ARCH"
        , "default":
          {"type": "fail", "msg": "Required variable 'ARCH' is not set."}
        }
      }
    , "case": {"arm": ["-latomic"]}
    }
  , "deps": ["config", "core_headers"]
  }
, "base_internal":
  { "type": ["@", "rules", "CC", "library"]
  , "name": ["base_internal"]
  , "stage": ["absl", "base"]
  , "hdrs":
    [ "internal/hide_ptr.h"
    , "internal/identity.h"
    , "internal/inline_variable.h"
    , "internal/invoke.h"
    , "internal/scheduling_mode.h"
    ]
  , "deps": ["config", ["absl/meta", "type_traits"]]
  }
, "config":
  { "type": ["@", "rules", "CC", "library"]
  , "name": ["config"]
  , "stage": ["absl", "base"]
  , "hdrs": ["config.h", "options.h", "policy_checks.h"]
  }
, "core_headers":
  { "type": ["@", "rules", "CC", "library"]
  , "name": ["core_headers"]
  , "stage": ["absl", "base"]
  , "hdrs":
    [ "attributes.h"
    , "const_init.h"
    , "macros.h"
    , "optimization.h"
    , "port.h"
    , "thread_annotations.h"
    , "internal/thread_annotations.h"
    ]
  , "deps": ["config"]
  }
, "cycleclock_internal":
  { "type": ["@", "rules", "CC", "library"]
  , "name": ["cycleclock_internal"]
  , "stage": ["absl", "base"]
  , "hdrs":
    ["internal/cycleclock_config.h", "internal/unscaledcycleclock_config.h"]
  , "deps": ["base_internal", "config"]
  }
, "dynamic_annotations":
  { "type": ["@", "rules", "CC", "library"]
  , "name": ["dynamic_annotations"]
  , "stage": ["absl", "base"]
  , "hdrs": ["dynamic_annotations.h", "internal/dynamic_annotations.h"]
  , "deps": ["config", "core_headers"]
  }
, "log_severity":
  { "type": ["@", "rules", "CC", "library"]
  , "name": ["log_severity"]
  , "stage": ["absl", "base"]
  , "hdrs": ["log_severity.h"]
  , "srcs": ["log_severity.cc"]
  , "deps": ["config", "core_headers"]
  }
, "raw_logging_internal":
  { "type": ["@", "rules", "CC", "library"]
  , "arguments_config": ["ARCH", "TARGET_ARCH"]
  , "name": ["raw_logging_internal"]
  , "stage": ["absl", "base"]
  , "hdrs": ["internal/raw_logging.h"]
  , "srcs": ["internal/raw_logging.cc"]
  , "private-ldflags":
    { "type": "case"
    , "expr":
      { "type": "var"
      , "name": "TARGET_ARCH"
      , "default":
        { "type": "var"
        , "name": "ARCH"
        , "default":
          {"type": "fail", "msg": "Required variable 'ARCH' is not set."}
        }
      }
    , "case": {"arm": ["-latomic"]}
    }
  , "deps":
    ["atomic_hook", "config", "core_headers", "errno_saver", "log_severity"]
  }
, "spinlock_wait":
  { "type": ["@", "rules", "CC", "library"]
  , "name": ["spinlock_wait"]
  , "stage": ["absl", "base"]
  , "hdrs": ["internal/spinlock_wait.h"]
  , "srcs": ["internal/spinlock_wait.cc"]
  , "private-hdrs":
    [ "internal/spinlock_akaros.inc"
    , "internal/spinlock_linux.inc"
    , "internal/spinlock_posix.inc"
    , "internal/spinlock_win32.inc"
    ]
  , "deps": ["base_internal", "core_headers", "errno_saver"]
  }
, "errno_saver":
  { "type": ["@", "rules", "CC", "library"]
  , "name": ["errno_saver"]
  , "stage": ["absl", "base"]
  , "hdrs": ["internal/errno_saver.h"]
  , "deps": ["config"]
  }
, "endian":
  { "type": ["@", "rules", "CC", "library"]
  , "name": ["endian"]
  , "stage": ["absl", "base"]
  , "hdrs": ["internal/endian.h", "internal/unaligned_access.h"]
  , "deps": ["base", "config", "core_headers"]
  }
, "fast_type_id":
  { "type": ["@", "rules", "CC", "library"]
  , "name": ["fast_type_id"]
  , "stage": ["absl", "base"]
  , "hdrs": ["internal/fast_type_id.h"]
  , "deps": ["config"]
  }
, "strerror":
  { "type": ["@", "rules", "CC", "library"]
  , "name": ["strerror"]
  , "stage": ["absl", "base"]
  , "hdrs": ["internal/strerror.h"]
  , "srcs": ["internal/strerror.cc"]
  , "deps": ["config", "core_headers", "errno_saver"]
  }
, "throw_delegate":
  { "type": ["@", "rules", "CC", "library"]
  , "name": ["throw_delegate"]
  , "stage": ["absl", "base"]
  , "hdrs": ["internal/throw_delegate.h"]
  , "srcs": ["internal/throw_delegate.cc"]
  , "deps": ["config", "raw_logging_internal"]
  }
, "malloc_internal":
  { "type": ["@", "rules", "CC", "library"]
  , "arguments_config": ["ARCH", "TARGET_ARCH"]
  , "name": ["malloc_internal"]
  , "stage": ["absl", "base"]
  , "hdrs": ["internal/direct_mmap.h", "internal/low_level_alloc.h"]
  , "srcs": ["internal/low_level_alloc.cc"]
  , "private-ldflags":
    { "type": "++"
    , "$1":
      [ ["-pthread"]
      , { "type": "case"
        , "expr":
          { "type": "var"
          , "name": "TARGET_ARCH"
          , "default":
            { "type": "var"
            , "name": "ARCH"
            , "default":
              {"type": "fail", "msg": "Required variable 'ARCH' is not set."}
            }
          }
        , "case": {"arm": ["-latomic"]}
        }
      ]
    }
  , "deps":
    [ "base"
    , "base_internal"
    , "config"
    , "core_headers"
    , "dynamic_annotations"
    , "raw_logging_internal"
    ]
  }
, "prefetch":
  { "type": ["@", "rules", "CC", "library"]
  , "name": ["prefetch"]
  , "stage": ["absl", "base"]
  , "hdrs": ["internal/prefetch.h"]
  , "deps": ["config"]
  }
}