aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorsvidyuk <svidyuk@yandex-team.ru>2022-06-07 08:24:10 +0300
committersvidyuk <svidyuk@yandex-team.ru>2022-06-07 08:24:10 +0300
commitee9ab6cd6d24edacec465d5f8561356cbf1a635d (patch)
tree099cb99132b9d939874ea02b30aab2d1e6352274 /build
parente87d39830a8a3e7d5df2d8cbf92fc141a47a3cdf (diff)
downloadydb-ee9ab6cd6d24edacec465d5f8561356cbf1a635d.tar.gz
Do not use arcadia rules in opensource builds
SECTASK-15696 ref:204d195b96131e3ab2218a08cb52de4b889df7db
Diffstat (limited to 'build')
-rw-r--r--build/conf/rules.conf47
1 files changed, 26 insertions, 21 deletions
diff --git a/build/conf/rules.conf b/build/conf/rules.conf
index 87c51e8211..9308d3b865 100644
--- a/build/conf/rules.conf
+++ b/build/conf/rules.conf
@@ -1,22 +1,27 @@
-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
+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=\
@@ -29,7 +34,7 @@ INTERNAL_EXCEPTIONS=\
maps/mobile/libs/mapkit/internal
_BLACKLISTS=
-when ($DISABLE_BLACKLIST == "yes") {
+when ($DISABLE_BLACKLIST == "yes" || $OPENSOURCE == "yes") {
_BLACKLISTS=
}
elsewhen ($CUSTOM_BLACKLIST != "") {
@@ -43,7 +48,7 @@ otherwise {
}
_ISOLATED_PROJECTS=
-when ($DISABLE_ISOLATED_PROJECTS == "yes") {
+when ($DISABLE_ISOLATED_PROJECTS == "yes" || $OPENSOURCE == "yes") {
_ISOLATED_PROJECTS=
}
elsewhen ($CUSTOM_ISOLATED_PROJECTS != "") {