summaryrefslogtreecommitdiff
path: root/RULES
diff options
context:
space:
mode:
authorMyungJoo Ham <myungjoo.ham@samsung.com>2017-04-05 19:25:13 +0900
committerMyungJoo Ham <myungjoo.ham@samsung.com>2017-04-05 20:21:56 +0900
commit2a2650627a62480b1453df7c9fee387f661f0357 (patch)
tree7afa6bb84d3a25d52304ebec63302ffde2840054 /RULES
parent8af576b30a84dc500c61e93bb853c9c158bdd381 (diff)
downloadbuilding-blocks-2a2650627a62480b1453df7c9fee387f661f0357.tar.gz
building-blocks-2a2650627a62480b1453df7c9fee387f661f0357.tar.bz2
building-blocks-2a2650627a62480b1453df7c9fee387f661f0357.zip
RULE: added a rule
A non-preset/non-feature block (domain block) cannot create dependencies (Requires/Suggests) on other blocks except for its direct child. TODO: add the rule to the rule checker so that a violation will generate a build error. Change-Id: I66bb8dc5027772ea22fad5bc63913114304b8a7f Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Diffstat (limited to 'RULES')
-rw-r--r--RULES5
1 files changed, 5 insertions, 0 deletions
diff --git a/RULES b/RULES
index c04476b..9f3e15c 100644
--- a/RULES
+++ b/RULES
@@ -96,3 +96,8 @@
TIC, we can allow then.
5.3. A block must NOT have any files included
+
+5.4. A block that is not preset/feature cannot add "Requires"/"Suggests" on
+another block that is not a direct child of it
+ E.g., sub2-* cannot Requires/Suggests another root/sub1/sub2
+ E.g., sub1-A cannot Requires/Suggests sub2-B-X