Skip to content

Commit

Permalink
Remove remap flag
Browse files Browse the repository at this point in the history
This was a workaround for MobileNativeFoundation/index-import#54
  • Loading branch information
jerrymarino committed Feb 23, 2021
1 parent 37436b3 commit 45db67b
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions tools/worker/work_processor.cc
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ void WorkProcessor::ProcessWorkRequest(
// Consider adding this binary an external dep of rules_swift
// Needs the feature -import-output-file added here
// https://github.com/lyft/index-import/pull/53
// Currently, just "imports" records and units
auto index_import_path = "/usr/local/bin/index-import";
ii_args.push_back(index_import_path);

Expand All @@ -196,12 +197,6 @@ void WorkProcessor::ProcessWorkRequest(
}
}

// Currently, it doesn't remap anything. The global index is an implementation
// detail used to copy records and units into `bazel-out`. Consider adding a
// way in index-import to not remap
ii_args.push_back("-remap");
ii_args.push_back("NOREMAPJUSTCOPY=0");

// Copy back from the global index store to bazel's index store
ii_args.push_back(global_index_store);

Expand Down

0 comments on commit 45db67b

Please sign in to comment.