From: MyungJoo Ham Date: Wed, 5 Apr 2017 10:25:13 +0000 (+0900) Subject: RULE: added a rule X-Git-Tag: submit/tizen/20170406.050031~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2a2650627a62480b1453df7c9fee387f661f0357;p=tools%2Fbuilding-blocks.git 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 --- 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