diff options
author | Ulf Adams <ulfjack@google.com> | 2015-08-31 08:08:12 +0000 |
---|---|---|
committer | Kristina Chodorow <kchodorow@google.com> | 2015-08-31 19:13:22 +0000 |
commit | 30c6e9598367c7c35577d56422e6f00ccc9368bc (patch) | |
tree | 0da4fc5cb5346d247c102c6f840891f075fd24e3 /src/main/java | |
parent | c061bed4590b3a6f3e0a65ea8bc9409ca463b645 (diff) |
Remove the deprecated unused addTransitiveLangTargets method.
--
MOS_MIGRATED_REVID=101913201
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/rules/cpp/CcLinkParams.java | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/cpp/CcLinkParams.java b/src/main/java/com/google/devtools/build/lib/rules/cpp/CcLinkParams.java index 84d6ec85b2..8426bcdf32 100644 --- a/src/main/java/com/google/devtools/build/lib/rules/cpp/CcLinkParams.java +++ b/src/main/java/com/google/devtools/build/lib/rules/cpp/CcLinkParams.java @@ -211,25 +211,6 @@ public final class CcLinkParams { } /** - * Includes link parameters from the given targets. Each target is checked for the given - * mappings in the order specified, and the first mapping that returns a non-null result is - * added. - * - * @deprecated don't add any new uses; all existing uses need to be audited and possibly merged - * into a single call - some of them may introduce semantic changes which need to be - * carefully vetted - */ - @Deprecated - @SafeVarargs - public final Builder addTransitiveLangTargets( - Iterable<? extends TransitiveInfoCollection> targets, - Function<TransitiveInfoCollection, CcLinkParamsStore> firstMapping, - @SuppressWarnings("unchecked") // Java arrays don't preserve generic arguments. - Function<TransitiveInfoCollection, CcLinkParamsStore>... remainingMappings) { - return addTransitiveTargets(targets, firstMapping, remainingMappings); - } - - /** * Merges the other {@link CcLinkParams} object into this one. */ public Builder addTransitiveArgs(CcLinkParams args) { |