Browse Source

YMAKE-126 add detecting dependency to final projects

ref:13bc0902d3f37d8df9f6051d6d0385598e6fdc07
and42 2 years ago
parent
commit
8aa1c13de8

+ 14 - 0
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
+}

+ 2 - 0
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

+ 2 - 0
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