Skip to content

Commit

Permalink
Add getExec method for SwiftCommandLineOptions.
Browse files Browse the repository at this point in the history
Part of work on execution transitions, bazelbuild#7935.

PiperOrigin-RevId: 245428827
  • Loading branch information
katre authored and copybara-github committed Apr 26, 2019
1 parent 6b3724f commit 5f6ca2e
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,11 @@ public FragmentOptions getHost() {
host.copts = this.hostSwiftcoptList;
return host;
}

@Override
public FragmentOptions getExec() {
SwiftCommandLineOptions exec = (SwiftCommandLineOptions) super.getExec();
exec.copts = this.hostSwiftcoptList;
return exec;
}
}

0 comments on commit 5f6ca2e

Please sign in to comment.