RULE: added a rule 02/123402/2
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Wed, 5 Apr 2017 10:25:13 +0000 (19:25 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Wed, 5 Apr 2017 11:21:56 +0000 (20:21 +0900)
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>
RULES

diff --git a/RULES b/RULES
index c04476b..9f3e15c 100644 (file)
--- 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