aboutsummaryrefslogtreecommitdiffstats
path: root/build/conf/rules.conf
blob: 383f47ce7a100629908452e0777b263e2be06b3c (plain) (blame)
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
when ($OPENSOURCE == "yes") {
    PEERDIRS_RULES_PATH=
}
otherwise {
    PEERDIRS_RULES_PATH=\
        build/rules/junk.policy \
        build/rules/go/contrib.policy \
        build/rules/go/vendor.policy \
        build/rules/base_layers.policy \
        build/rules/contrib_deprecated.policy \
        build/rules/contrib_java.policy \
        build/rules/contrib_python.policy \
        build/rules/contrib_restricted.policy \
        build/rules/contrib_deps.policy \
        build/rules/library_deps.policy \
        build/rules/library_deprecated.policy \
        build/rules/passport.policy \
        build/rules/yt.policy \
        build/rules/catboost.policy \
        build/rules/maps/maps.policy \
        build/rules/yp.policy \
        build/rules/alice.policy \
        build/rules/kikimr.policy \
        build/rules/market.policy \
        build/rules/yadi.policy
}

CHECK_INTERNAL=yes
INTERNAL_EXCEPTIONS=\
    contrib \
    search/begemot/rules/internal \
    mssngr/router/lib/protos/internal \
    mssngr/router/lib/registry/method/internal \
    cv/imageproc/ocr/api/mobile_c/internal \
    kernel/ugc/security/lib/internal \
    maps/mobile/libs/mapkit/internal

_BLACKLISTS=
when ($DISABLE_BLACKLIST == "yes" || $OPENSOURCE == "yes") {
    _BLACKLISTS=
}
elsewhen ($CUSTOM_BLACKLIST != "") {
    _BLACKLISTS=$CUSTOM_BLACKLIST
}
elsewhen ($AUTOCHECK == "yes" || $TEST_BLACKLIST_AUTOCHECK == "yes") {
    _BLACKLISTS+=build/rules/autocheck.blacklist
}
otherwise {
    _BLACKLISTS+=build/rules/local.blacklist
}

_ISOLATED_PROJECTS=
when ($DISABLE_ISOLATED_PROJECTS == "yes" || $OPENSOURCE == "yes") {
    _ISOLATED_PROJECTS=
}
elsewhen ($CUSTOM_ISOLATED_PROJECTS != "") {
    _ISOLATED_PROJECTS=$CUSTOM_ISOLATED_PROJECTS
}
elsewhen ($AUTOCHECK == "yes" || $TEST_ISOLATED_PROJECTS_AUTOCHECK == "yes") {
## The block below is parsed by CI machinery to limit CI checks
## Please contact CI on any modification! Do not alter the block structure!
## - Keep one file per line with first line without file
## - Keep comments text and layout intact
## - Do not move or rename this file without CI team aggreement
## BEGIN AUTOCHECK ISOLATED PROJECTS -- DO NOT EDIT COMMENT AND KEEP THE CODE STRUCTURE!
    _ISOLATED_PROJECTS=\
        build/rules/autocheck.isolated_projects \
        build/rules/taxi_backend_py3/taxi_backend_py3.isolated_projects \
        build/rules/taxi_uservices/taxi_uservices.isolated_projects
## END AUTOCHECK ISOLATED PROJECTS -- DO NOT EDIT COMMENT AND KEEP THE CODE STRUCTURE!
}
otherwise {
    _ISOLATED_PROJECTS+=build/rules/local.isolated_projects
}