diff options
author | Greg Estren <gregce@google.com> | 2016-08-02 21:45:35 +0000 |
---|---|---|
committer | Yun Peng <pcloudy@google.com> | 2016-08-03 07:58:07 +0000 |
commit | 2bc883876a7aad341a2620b5c0865beaeec13ec4 (patch) | |
tree | 700812c36bdbd2f425d633b9c5d0dc67adeeaee7 /src/main/cpp | |
parent | 50283f47d8a7958fe8841ce64e5d068ebf7ada97 (diff) |
Provides a clearer message when target analysis fails because its dynamic
config is missing required fragments.
Before this change, Bazel crashes with the mysterious error: "Fragment
foo can't load missing options BarOptions" with no details on which target or dep
needed Foo. So figuring out the source of the error is painful.
With this change, we instead get:
//foo:foo: dependency //bar:bar from attribute "deps" is missing required config fragments: JavaConfiguration
--
MOS_MIGRATED_REVID=129143764
Diffstat (limited to 'src/main/cpp')
0 files changed, 0 insertions, 0 deletions