diff options
author | 2017-04-17 20:31:13 +0200 | |
---|---|---|
committer | 2017-04-18 11:33:10 +0200 | |
commit | d470a32e641b0aa407ffbff2022f44636d204f67 (patch) | |
tree | f24f9d195c95dcfdd0363b4522b4a95993cb70cf /src/main/java/com/google/devtools/build/lib/rules/cpp/LinkCommandLine.java | |
parent | 501b62716af12ba42c019bd9f231468b3c144757 (diff) |
Automated g4 rollback of commit e1d692e486a2f838c3c894fd9de693fabd6685ed.
*** Reason for rollback ***
broken tests
*** Original change description ***
Init absent action configs for CppCompile actions
So far only link actions were initialized in CppLinkActionConfigs. This cl
changes this class to also initialize CppCompile actions. This is needed for
our ongoing work removing hard-coded flags from Bazel and moving them into
Crosstool.
RELNOTES: None.
PiperOrigin-RevId: 153366563
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/rules/cpp/LinkCommandLine.java')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/rules/cpp/LinkCommandLine.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/cpp/LinkCommandLine.java b/src/main/java/com/google/devtools/build/lib/rules/cpp/LinkCommandLine.java index e39173dda5..bbb3b4ddb8 100644 --- a/src/main/java/com/google/devtools/build/lib/rules/cpp/LinkCommandLine.java +++ b/src/main/java/com/google/devtools/build/lib/rules/cpp/LinkCommandLine.java @@ -378,7 +378,7 @@ public final class LinkCommandLine extends CommandLine { List<String> argv = new ArrayList<>(); // TODO(b/30109612): Extract this switch into individual crosstools once action configs are no - // longer hardcoded in CppActionConfigs + // longer hardcoded in CppLinkActionConfigs switch (linkTargetType) { case EXECUTABLE: argv.add(cppConfiguration.getCppExecutable().getPathString()); |