summaryrefslogtreecommitdiff
path: root/src/buildtool/main/TARGETS
blob: 8ff214d0b4d604b8261e0747e4025e6b87f6ef26 (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
{ "just":
  { "type": ["@", "rules", "CC", "binary"]
  , "arguments_config": ["BUILD_STATIC_BINARY", "FINAL_LDFLAGS"]
  , "name": ["just"]
  , "srcs": ["main.cpp"]
  , "private-deps":
    [ ["src/buildtool/common", "cli"]
    , ["src/buildtool/common", "config"]
    , ["src/buildtool/storage", "storage"]
    , ["src/buildtool/compatibility", "compatibility"]
    , ["src/buildtool/graph_traverser", "graph_traverser"]
    , ["src/buildtool/logging", "logging"]
    , ["src/buildtool/progress_reporting", "progress_reporter"]
    , ["src/buildtool/build_engine/target_map", "result_map"]
    , ["src/buildtool/build_engine/target_map", "target_map"]
    , ["src/buildtool/multithreading", "task_system"]
    , ["src/utils/cpp", "concepts"]
    , ["src/utils/cpp", "json"]
    , ["src/buildtool/auth", "auth"]
    , [ "src/buildtool/execution_api/execution_service"
      , "server_implementation"
      ]
    , ["src/buildtool/execution_api/execution_service", "operation_cache"]
    , ["src/buildtool/execution_api/local", "config"]
    , ["src/buildtool/execution_api/remote", "config"]
    , "common"
    , "version"
    , "analyse"
    , "install_cas"
    , "describe"
    , "constants"
    ]
  , "stage": ["src", "buildtool", "main"]
  , "private-ldflags":
    { "type": "++"
    , "$1":
      [ ["-Wl,-z,stack-size=8388608"]
      , { "type": "if"
        , "cond": {"type": "var", "name": "BUILD_STATIC_BINARY"}
        , "then": ["-static"]
        }
      , {"type": "var", "name": "FINAL_LDFLAGS", "default": []}
      ]
    }
  }
, "describe":
  { "type": ["@", "rules", "CC", "library"]
  , "name": ["describe"]
  , "hdrs": ["describe.hpp"]
  , "srcs": ["describe.cpp"]
  , "deps":
    [ ["src/buildtool/build_engine/base_maps", "entity_name"]
    , ["src/buildtool/build_engine/target_map", "configured_target"]
    , ["@", "json", "", "json"]
    ]
  , "stage": ["src", "buildtool", "main"]
  , "private-deps":
    [ ["src/buildtool/build_engine/base_maps", "rule_map"]
    , ["src/buildtool/build_engine/base_maps", "targets_file_map"]
    , ["src/buildtool/build_engine/target_map", "target_map"]
    , ["src/buildtool/logging", "logging"]
    , "common"
    ]
  }
, "common":
  { "type": ["@", "rules", "CC", "library"]
  , "name": ["common"]
  , "hdrs": ["exit_codes.hpp"]
  , "stage": ["src", "buildtool", "main"]
  }
, "install_cas":
  { "type": ["@", "rules", "CC", "library"]
  , "name": ["install_cas"]
  , "hdrs": ["install_cas.hpp"]
  , "srcs": ["install_cas.cpp"]
  , "deps":
    [ ["src/buildtool/common", "cli"]
    , ["src/buildtool/common", "common"]
    , ["src/buildtool/execution_api/common", "common"]
    , ["@", "gsl", "", "gsl"]
    ]
  , "stage": ["src", "buildtool", "main"]
  , "private-deps":
    [ ["src/buildtool/compatibility", "compatibility"]
    , ["src/buildtool/crypto", "hash_function"]
    , ["src/buildtool/execution_api/bazel_msg", "bazel_msg_factory"]
    , ["src/buildtool/execution_api/remote", "config"]
    , ["src/buildtool/logging", "logging"]
    ]
  }
, "analyse":
  { "type": ["@", "rules", "CC", "library"]
  , "name": ["analyse"]
  , "hdrs": ["analyse.hpp"]
  , "srcs": ["analyse.cpp"]
  , "deps":
    [ ["src/buildtool/common", "cli"]
    , ["src/buildtool/build_engine/target_map", "configured_target"]
    , ["src/buildtool/build_engine/target_map", "result_map"]
    , ["src/buildtool/build_engine/analysed_target", "target"]
    ]
  , "stage": ["src", "buildtool", "main"]
  , "private-deps":
    [ ["src/buildtool/multithreading", "async_map_consumer"]
    , ["src/buildtool/multithreading", "task_system"]
    , ["src/buildtool/build_engine/base_maps", "directory_map"]
    , ["src/buildtool/build_engine/base_maps", "rule_map"]
    , ["src/buildtool/build_engine/base_maps", "source_map"]
    , ["src/buildtool/build_engine/base_maps", "targets_file_map"]
    , ["src/buildtool/build_engine/target_map", "target_map"]
    ]
  }
, "version":
  { "type": ["@", "rules", "CC", "library"]
  , "arguments_config": ["SOURCE_DATE_EPOCH", "VERSION_EXTRA_SUFFIX"]
  , "name": ["version"]
  , "hdrs": ["version.hpp"]
  , "srcs": ["version.cpp"]
  , "private-defines":
    { "type": "++"
    , "$1":
      [ { "type": "if"
        , "cond": {"type": "var", "name": "SOURCE_DATE_EPOCH"}
        , "then":
          [ { "type": "join"
            , "$1":
              [ "SOURCE_DATE_EPOCH="
              , { "type": "json_encode"
                , "$1": {"type": "var", "name": "SOURCE_DATE_EPOCH"}
                }
              ]
            }
          ]
        }
      , { "type": "if"
        , "cond": {"type": "var", "name": "VERSION_EXTRA_SUFFIX"}
        , "then":
          [ { "type": "join"
            , "$1":
              [ "VERSION_EXTRA_SUFFIX="
              , { "type": "json_encode"
                , "$1": {"type": "var", "name": "VERSION_EXTRA_SUFFIX"}
                }
              ]
            }
          ]
        }
      ]
    }
  , "private-deps": [["@", "json", "", "json"], ["src/utils/cpp", "json"]]
  , "stage": ["src", "buildtool", "main"]
  }
, "constants":
  { "type": ["@", "rules", "CC", "library"]
  , "name": ["constants"]
  , "hdrs": ["constants.hpp"]
  , "stage": ["src", "buildtool", "main"]
  }
}