diff options
author | 2016-05-13 21:36:01 +0000 | |
---|---|---|
committer | 2016-05-16 15:16:45 +0000 | |
commit | 4a506137f944397a26c5655500778122dbbeb194 (patch) | |
tree | cd6ba0112fed1d48f0bf0d586f5a41c00c3fd693 /src/main/java | |
parent | 17753172a7f852d7cf2910c79405e60632c5ceb9 (diff) |
Adds configuration fragment requirements for AndroidNeverlinkAspect.
In the near future, aspect RuleContexts will enforce that they only access the
configuration fragments they have declared as required, in order to prepare for
the eventual migration to dynamic configurations (where only configuration
fragments which are actually necessary for a particular build are loaded for
that build).
This change adds those declarations to AndroidNeverlinkAspect.
--
MOS_MIGRATED_REVID=122296909
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/rules/android/AndroidNeverlinkAspect.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/android/AndroidNeverlinkAspect.java b/src/main/java/com/google/devtools/build/lib/rules/android/AndroidNeverlinkAspect.java index db8730062c..8e4cea14bd 100644 --- a/src/main/java/com/google/devtools/build/lib/rules/android/AndroidNeverlinkAspect.java +++ b/src/main/java/com/google/devtools/build/lib/rules/android/AndroidNeverlinkAspect.java @@ -86,6 +86,7 @@ public class AndroidNeverlinkAspect extends NativeAspectClass implements Configu return builder .requireProvider(JavaCompilationArgsProvider.class) + .requiresConfigurationFragments() .build(); } } |