aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objc_tools/xcodegen/java/com/google/devtools/build/xcode/xcodegen/LibraryObjects.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/objc_tools/xcodegen/java/com/google/devtools/build/xcode/xcodegen/LibraryObjects.java')
-rw-r--r--src/objc_tools/xcodegen/java/com/google/devtools/build/xcode/xcodegen/LibraryObjects.java14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/objc_tools/xcodegen/java/com/google/devtools/build/xcode/xcodegen/LibraryObjects.java b/src/objc_tools/xcodegen/java/com/google/devtools/build/xcode/xcodegen/LibraryObjects.java
index f751d9d48b..11c738a33d 100644
--- a/src/objc_tools/xcodegen/java/com/google/devtools/build/xcode/xcodegen/LibraryObjects.java
+++ b/src/objc_tools/xcodegen/java/com/google/devtools/build/xcode/xcodegen/LibraryObjects.java
@@ -43,7 +43,6 @@ import java.util.LinkedHashSet;
public final class LibraryObjects implements HasProjectNavigatorFiles {
@VisibleForTesting static final String FRAMEWORK_FILE_TYPE = "wrapper.framework";
- @VisibleForTesting static final String DYLIB_FILE_TYPE = "compiled.mach-o.dylib";
private final LinkedHashMap<FileReference, PBXReference> fileToMainGroupReferences =
new LinkedHashMap<>();
@@ -67,19 +66,6 @@ public final class LibraryObjects implements HasProjectNavigatorFiles {
private BuildPhaseBuilder() {} // Don't allow instantiation from outside the enclosing class.
/**
- * Creates a new dylib library based on the passed name.
- *
- * @param name simple dylib without ".dylib" suffix, e.g. "libz"
- */
- public BuildPhaseBuilder addDylib(String name) {
- FileReference reference =
- FileReference.of(String.format("usr/lib/%s.dylib", name), SourceTree.SDKROOT)
- .withExplicitFileType(DYLIB_FILE_TYPE);
- fileReferences.add(reference);
- return this;
- }
-
- /**
* Creates a new SDK framework based on the passed name.
*
* @param name simple framework name without ".framework" suffix, e.g. "Foundation"