From daa8ae565ab2023e49134f0aad233b0a8bd7a5d0 Mon Sep 17 00:00:00 2001 From: jcater Date: Fri, 3 May 2019 14:21:05 -0700 Subject: [PATCH] Automated rollback of commit 5f6ca2ec816c3618eabff25b71ae6cd038a98a82. *** Reason for rollback *** Removing this because it's less surprising for rule authors if execution configurations start from default flags. *** Original change description *** Add getExec method for SwiftCommandLineOptions. Part of work on execution transitions, #7935. PiperOrigin-RevId: 246572501 --- .../lib/rules/apple/swift/SwiftCommandLineOptions.java | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/main/java/com/google/devtools/build/lib/rules/apple/swift/SwiftCommandLineOptions.java b/src/main/java/com/google/devtools/build/lib/rules/apple/swift/SwiftCommandLineOptions.java index f605e8ff26f546..bf81f91bddf0a9 100644 --- a/src/main/java/com/google/devtools/build/lib/rules/apple/swift/SwiftCommandLineOptions.java +++ b/src/main/java/com/google/devtools/build/lib/rules/apple/swift/SwiftCommandLineOptions.java @@ -47,11 +47,4 @@ public FragmentOptions getHost() { host.copts = this.hostSwiftcoptList; return host; } - - @Override - public FragmentOptions getExec() { - SwiftCommandLineOptions exec = (SwiftCommandLineOptions) super.getExec(); - exec.copts = this.hostSwiftcoptList; - return exec; - } }