aboutsummaryrefslogtreecommitdiffstats
path: root/build/conf/rules.conf
blob: 9308d3b865192ed33adf53487c370cc9ae7926a8 (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
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/contrib_deprecated.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/taxi.policy \
        build/rules/yp.policy \
        build/rules/alice.policy \
        build/rules/kikimr.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") {
    _ISOLATED_PROJECTS=build/rules/autocheck.isolated_projects
}
otherwise {
    _ISOLATED_PROJECTS+=build/rules/local.isolated_projects
}