aboutsummaryrefslogtreecommitdiffstats
path: root/build/conf/rules.conf
diff options
context:
space:
mode:
authoralexv-smirnov <alex@ydb.tech>2023-06-13 11:05:01 +0300
committeralexv-smirnov <alex@ydb.tech>2023-06-13 11:05:01 +0300
commitbf0f13dd39ee3e65092ba3572bb5b1fcd125dcd0 (patch)
tree1d1df72c0541a59a81439842f46d95396d3e7189 /build/conf/rules.conf
parent8bfdfa9a9bd19bddbc58d888e180fbd1218681be (diff)
downloadydb-bf0f13dd39ee3e65092ba3572bb5b1fcd125dcd0.tar.gz
add ymake export to ydb
Diffstat (limited to 'build/conf/rules.conf')
-rw-r--r--build/conf/rules.conf75
1 files changed, 75 insertions, 0 deletions
diff --git a/build/conf/rules.conf b/build/conf/rules.conf
new file mode 100644
index 0000000000..8fd7167ece
--- /dev/null
+++ b/build/conf/rules.conf
@@ -0,0 +1,75 @@
+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/taxi.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
+}