Skip to content

Commit

Permalink
Revert "Including HEADER_MODE_SYMLINK_TREE_WITH_HEADER_MAP search p…
Browse files Browse the repository at this point in the history
…ath for the swift target before building"

This reverts commit 0b3d8b6.
  • Loading branch information
vulh3 committed May 21, 2023
1 parent b2f4cae commit 7bd254e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
1 change: 0 additions & 1 deletion src/com/facebook/buck/cxx/CxxDescriptionEnhancer.java
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,6 @@ public class CxxDescriptionEnhancer {
InternalFlavor.of("shared-library-symlink-tree");
public static final Flavor BINARY_WITH_SHARED_LIBRARIES_SYMLINK_TREE_FLAVOR =
InternalFlavor.of("binary-with-shared-libraries-symlink-tree");
public static final Flavor HEADER_MODE_SYMLINK_TREE_WITH_HEADER_MAP = InternalFlavor.of("header-mode-symlink-tree-with-header-map");

public static final Flavor CXX_LINK_BINARY_FLAVOR = InternalFlavor.of("binary");
public static final Flavor CXX_LINK_THININDEX_FLAVOR = InternalFlavor.of("thinindex");
Expand Down
8 changes: 0 additions & 8 deletions src/com/facebook/buck/swift/SwiftCompile.java
Original file line number Diff line number Diff line change
Expand Up @@ -431,14 +431,6 @@ ImmutableList<String> getSwiftIncludeArgs(SourcePathResolverAdapter resolver) {
flavor);
args.add(INCLUDE_FLAG.concat(headerPath.toString()));
}

Path headerPath =
CxxDescriptionEnhancer.getHeaderSymlinkTreePath(
getProjectFilesystem(),
getBuildTarget().withFlavors(),
HeaderVisibility.PUBLIC,
CxxDescriptionEnhancer.HEADER_MODE_SYMLINK_TREE_WITH_HEADER_MAP);
args.add(INCLUDE_FLAG.concat(headerPath.toString()));
}

return args.build();
Expand Down

0 comments on commit 7bd254e

Please sign in to comment.