summaryrefslogtreecommitdiff
path: root/tests/test_cases/deps/lint/TARGETS
blob: 425815bbd452c16d84240d30f08067e3d6862895 (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
{ "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"]
  }
, "bardep":
  { "type": ["@", "rules", "CC", "library"]
  , "name": ["bardep"]
  , "hdrs": ["bardep.hpp"]
  , "srcs": ["bardep.cpp"]
  }
, "plain":
  { "type": ["@", "rules", "CC", "library"]
  , "name": ["plain"]
  , "arguments_config": ["TEST_SHARED"]
  , "shared":
    { "type": "if"
    , "cond": {"type": "var", "name": "TEST_SHARED"}
    , "then": ["yes"]
    }
  , "hdrs": ["plain.hpp"]
  , "srcs": ["plain.cpp"]
  , "deps": ["foo"]
  }
, "main":
  { "type": ["@", "rules", "CC", "binary"]
  , "name": ["main"]
  , "srcs": ["main.cpp"]
  , "private-deps": ["plain"]
  }
, "test":
  { "type": ["@", "rules", "shell/test", "script"]
  , "name": ["test"]
  , "test": ["check-main.sh"]
  , "deps": ["main"]
  }
, "suite":
  { "type": ["@", "rules", "test", "suite"]
  , "deps": ["test"]
  , "stage": ["suite"]
  }
, "lint":
  { "type": ["@", "rules", "lint", "targets"]
  , "targets": ["suite"]
  , "tainted": ["test"]
  , "linter": ["pretend_lint.py"]
  , "summarizer": ["summary.py"]
  }
, "lint-shared":
  { "type": "configure"
  , "target": "lint"
  , "tainted": ["lint", "test"]
  , "config": {"type": "singleton_map", "key": "TEST_SHARED", "value": true}
  }
, "test-shared":
  { "type": "configure"
  , "target": "test"
  , "tainted": ["test"]
  , "config": {"type": "singleton_map", "key": "TEST_SHARED", "value": true}
  }
, "verifier": {"type": "install", "files": {"expect": "expect.py"}}
}