Class ModernBuildRuleRemoteExecutionHelper

  • All Implemented Interfaces:
    RemoteExecutionHelper

    public class ModernBuildRuleRemoteExecutionHelper
    extends Object
    implements RemoteExecutionHelper
    ModernBuildRuleRemoteExecutionHelper is used to create remote execution actions for a ModernBuildRule.

    To create the remote action, we serialize the MBR (in a graph of serialized AddsToRuleKey parts such that different rules will share serialization if they share references). We then send all the cells BuckConfigs in a serialized form, all of Buck's classpath (including plugin classpath) and run the action remotely with the OutOfProcessIsolatedBuilder (via trampoline.sh).