aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorand42 <and42@yandex-team.ru>2022-05-16 12:55:57 +0300
committerand42 <and42@yandex-team.ru>2022-05-16 12:55:57 +0300
commit8aa1c13de861943eb93322960e17d5b2b9218042 (patch)
tree9a1a7d4e56c5d861f9522c930d459564d0a039b1
parent90d51154fd83e323da09f2b5be5012ad25e74236 (diff)
downloadydb-8aa1c13de861943eb93322960e17d5b2b9218042.tar.gz
YMAKE-126 add detecting dependency to final projects
ref:13bc0902d3f37d8df9f6051d6d0385598e6fdc07
-rw-r--r--build/conf/rules.conf14
-rw-r--r--build/rules/autocheck.isolated_projects2
-rw-r--r--build/rules/local.isolated_projects2
3 files changed, 18 insertions, 0 deletions
diff --git a/build/conf/rules.conf b/build/conf/rules.conf
index 51bf1baa52..87c51e8211 100644
--- a/build/conf/rules.conf
+++ b/build/conf/rules.conf
@@ -41,3 +41,17 @@ elsewhen ($AUTOCHECK == "yes" || $TEST_BLACKLIST_AUTOCHECK == "yes") {
otherwise {
_BLACKLISTS+=build/rules/local.blacklist
}
+
+_ISOLATED_PROJECTS=
+when ($DISABLE_ISOLATED_PROJECTS == "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
+}
diff --git a/build/rules/autocheck.isolated_projects b/build/rules/autocheck.isolated_projects
new file mode 100644
index 0000000000..2cb04ab871
--- /dev/null
+++ b/build/rules/autocheck.isolated_projects
@@ -0,0 +1,2 @@
+# Autocheck isolated projects
+# The list of top level directories which MUST not be used in other projects
diff --git a/build/rules/local.isolated_projects b/build/rules/local.isolated_projects
new file mode 100644
index 0000000000..8934879ebf
--- /dev/null
+++ b/build/rules/local.isolated_projects
@@ -0,0 +1,2 @@
+# Local isolated projects
+# The list of top level directories which MUST not be used in other projects