diff options
author | hlopko <hlopko@google.com> | 2018-04-06 06:20:04 -0700 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-04-06 06:21:09 -0700 |
commit | 655ed474e5c9ab5fbdec921352a43a80769df6c3 (patch) | |
tree | aa0d8ee867c2a2af9b6e92bd7e551aba473c50e0 /src/main/java/com/google/devtools/build/lib/rules/nativedeps | |
parent | ece8c4ede0b6d3ba9cb41a54233fd4343d14e0e7 (diff) |
Automated rollback of commit 77c5582fa0f5c829df576d9f8d66f4975fe415a6.
PiperOrigin-RevId: 191880445
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/rules/nativedeps')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/rules/nativedeps/NativeDepsHelper.java | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/nativedeps/NativeDepsHelper.java b/src/main/java/com/google/devtools/build/lib/rules/nativedeps/NativeDepsHelper.java index 5121bd1752..d8ddf994d9 100644 --- a/src/main/java/com/google/devtools/build/lib/rules/nativedeps/NativeDepsHelper.java +++ b/src/main/java/com/google/devtools/build/lib/rules/nativedeps/NativeDepsHelper.java @@ -234,15 +234,11 @@ public abstract class NativeDepsHelper { featureConfiguration, cppSemantics); if (useDynamicRuntime) { - builder.setRuntimeInputs( - ArtifactCategory.DYNAMIC_LIBRARY, - toolchain.getDynamicRuntimeLinkMiddleman(featureConfiguration), - toolchain.getDynamicRuntimeLinkInputs(featureConfiguration)); + builder.setRuntimeInputs(ArtifactCategory.DYNAMIC_LIBRARY, + toolchain.getDynamicRuntimeLinkMiddleman(), toolchain.getDynamicRuntimeLinkInputs()); } else { - builder.setRuntimeInputs( - ArtifactCategory.STATIC_LIBRARY, - toolchain.getStaticRuntimeLinkMiddleman(featureConfiguration), - toolchain.getStaticRuntimeLinkInputs(featureConfiguration)); + builder.setRuntimeInputs(ArtifactCategory.STATIC_LIBRARY, + toolchain.getStaticRuntimeLinkMiddleman(), toolchain.getStaticRuntimeLinkInputs()); } ImmutableMap.Builder<Artifact, Artifact> ltoBitcodeFilesMap = new ImmutableMap.Builder<>(); for (LibraryToLink lib : linkerInputs) { @@ -292,8 +288,7 @@ public abstract class NativeDepsHelper { List<Artifact> runtimeSymlinks; if (useDynamicRuntime) { runtimeSymlinks = new LinkedList<>(); - for (final Artifact runtimeInput : - toolchain.getDynamicRuntimeLinkInputs(featureConfiguration)) { + for (final Artifact runtimeInput : toolchain.getDynamicRuntimeLinkInputs()) { final Artifact runtimeSymlink = ruleContext.getPackageRelativeArtifact( getRuntimeLibraryPath(ruleContext, runtimeInput), bindirIfShared); |