summaryrefslogtreecommitdiff
path: root/etc/import/absl/synchronization/TARGETS.absl
blob: 14a530d2cfbaaf9fe6449998725aefc9f8e23202 (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
{ "synchronization":
  { "type": ["@", "rules", "CC", "library"]
  , "arguments_config": ["ARCH", "TARGET_ARCH"]
  , "name": ["synchronization"]
  , "stage": ["absl", "synchronization"]
  , "hdrs":
    [ "barrier.h"
    , "blocking_counter.h"
    , "internal/create_thread_identity.h"
    , "internal/futex.h"
    , "internal/per_thread_sem.h"
    , "internal/waiter.h"
    , "mutex.h"
    , "notification.h"
    ]
  , "srcs":
    [ "barrier.cc"
    , "blocking_counter.cc"
    , "internal/create_thread_identity.cc"
    , "internal/per_thread_sem.cc"
    , "internal/waiter.cc"
    , "notification.cc"
    , "mutex.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":
    [ "graphcycles_internal"
    , "kernel_timeout_internal"
    , ["absl/base", "atomic_hook"]
    , ["absl/base", "base"]
    , ["absl/base", "base_internal"]
    , ["absl/base", "config"]
    , ["absl/base", "core_headers"]
    , ["absl/base", "dynamic_annotations"]
    , ["absl/base", "malloc_internal"]
    , ["absl/base", "raw_logging_internal"]
    , ["absl/debugging", "stacktrace"]
    , ["absl/debugging", "symbolize"]
    , ["absl/time", "time"]
    ]
  }
, "graphcycles_internal":
  { "type": ["@", "rules", "CC", "library"]
  , "name": ["graphcycles_internal"]
  , "stage": ["absl", "synchronization"]
  , "hdrs": ["internal/graphcycles.h"]
  , "srcs": ["internal/graphcycles.cc"]
  , "deps":
    [ ["absl/base", "base"]
    , ["absl/base", "base_internal"]
    , ["absl/base", "config"]
    , ["absl/base", "core_headers"]
    , ["absl/base", "malloc_internal"]
    , ["absl/base", "raw_logging_internal"]
    ]
  }
, "kernel_timeout_internal":
  { "type": ["@", "rules", "CC", "library"]
  , "name": ["kernel_timeout_internal"]
  , "stage": ["absl", "synchronization"]
  , "hdrs": ["internal/kernel_timeout.h"]
  , "deps":
    [ ["absl/base", "core_headers"]
    , ["absl/base", "raw_logging_internal"]
    , ["absl/time", "time"]
    ]
  }
}