Add "noparent" support to DEPS files |
||
Issue descriptionFor OWNERS files we have "noparent", which means the file ignores rules from the parent directories. I need something like that for DEPS. In particular, if you have: //ash/DEPS with a bunch of rules //ash/components/foo //ash/components/bar You'd like to add //ash/components/DEPS with noparent to ensure foo and bar don't pick up DEPS from ash. (This is motivated by some cleanup of Chrome OS UI modules / apps, like our file manager, that want to be isolated.) I think this will just be a few lines in checkdeps.py (or builddeps.py).
,
Feb 16 2018
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/0408501687a91fba8fb205da6c8e9c23b40eb245 commit 0408501687a91fba8fb205da6c8e9c23b40eb245 Author: James Cook <jamescook@chromium.org> Date: Fri Feb 16 04:31:24 2018 Roll buildtools to 2888931260f2a32bc583f005bd807a561b2fa6af Picks up this change: Author: James Cook <jamescook@chromium.org> Date: Thu Feb 15 14:30:24 2018 -0800 checkdeps: Add "noparent" support, similar to OWNERS files Adding "noparent = True" to a DEPS file will cause that directory not to inherit rules from its parents. This is useful for a directory like //ash/components, where you want each component to explicitly declare all its dependencies and not inherit from the long list in //ash/DEPS. Bug: 812299 Test: added to checkdeps_test.py TBR=dpranke@chromium.org Bug: 812299 Change-Id: I59d2f18780b82cc40bbba5bcfa8a623f3023bea5 Reviewed-on: https://chromium-review.googlesource.com/923389 Reviewed-by: James Cook <jamescook@chromium.org> Reviewed-by: Dirk Pranke <dpranke@chromium.org> Commit-Queue: James Cook <jamescook@chromium.org> Cr-Commit-Position: refs/heads/master@{#537197} [modify] https://crrev.com/0408501687a91fba8fb205da6c8e9c23b40eb245/DEPS
,
Feb 17 2018
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/9e9b798a4b878d81393adaddd515523b2010ec1a commit 9e9b798a4b878d81393adaddd515523b2010ec1a Author: James Cook <jamescook@chromium.org> Date: Sat Feb 17 04:13:09 2018 cros: Add noparent to //ash/components/DEPS Components must declare all of their dependencies explicitly. Fix quick_launch deps to comply. Bug: 812299 Test: buildtools/checkdeps/checkdeps.py ash Change-Id: I2de1491e28566f2be9afe9bb1756084ef0641310 Reviewed-on: https://chromium-review.googlesource.com/924313 Reviewed-by: Scott Violet <sky@chromium.org> Commit-Queue: James Cook <jamescook@chromium.org> Cr-Commit-Position: refs/heads/master@{#537528} [modify] https://crrev.com/9e9b798a4b878d81393adaddd515523b2010ec1a/ash/components/DEPS [add] https://crrev.com/9e9b798a4b878d81393adaddd515523b2010ec1a/ash/components/quick_launch/DEPS
,
Feb 17 2018
|
||
►
Sign in to add a comment |
||
Comment 1 by bugdroid1@chromium.org
, Feb 16 2018