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
|
{ "foo":
{ "type": ["@", "rules", "CC", "library"]
, "name": ["foo"]
, "hdrs": ["foo.hpp"]
, "srcs": ["foo.cpp"]
, "deps": ["foodep"]
, "components": ["bar"]
}
, "foodep":
{ "type": ["@", "rules", "CC", "library"]
, "name": ["foodep"]
, "hdrs": ["foodep.hpp"]
, "srcs": ["foodep.cpp"]
}
, "bar":
{ "type": ["@", "rules", "CC", "library"]
, "name": ["bar"]
, "hdrs": ["bar.hpp"]
, "srcs": ["bar.cpp"]
, "deps": ["bardep"]
, "components": ["baz"]
}
, "bardep":
{ "type": ["@", "rules", "CC", "library"]
, "name": ["bardep"]
, "hdrs": ["bardep.hpp"]
, "srcs": ["bardep.cpp"]
}
, "baz":
{ "type": ["@", "rules", "CC", "library"]
, "name": ["baz"]
, "hdrs": ["baz.hpp"]
, "srcs": ["baz.cpp"]
, "deps": ["bazdep"]
}
, "bazdep":
{ "type": ["@", "rules", "CC", "library"]
, "name": ["bazdep"]
, "hdrs": ["bazdep.hpp"]
, "srcs": ["bazdep.cpp"]
}
, "main":
{ "type": ["@", "rules", "CC", "binary"]
, "name": ["main"]
, "srcs": ["main.cpp"]
, "private-deps": ["foo"]
}
, "shared-foo":
{ "type": ["@", "rules", "CC", "library"]
, "name": ["foo"]
, "shared": [""]
, "components": ["foo"]
}
, "shared-main":
{ "type": ["@", "rules", "CC", "binary"]
, "name": ["main"]
, "srcs": ["main.cpp"]
, "private-deps": ["shared-foo"]
}
, "installed-shared-main":
{ "type": ["@", "rules", "CC", "install-with-deps"]
, "targets": ["shared-main"]
}
}
|