aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/rules/cpp/CcCommon.java
diff options
context:
space:
mode:
authorGravatar Googler <noreply@google.com>2015-09-04 16:15:19 +0000
committerGravatar Damien Martin-Guillerez <dmarting@google.com>2015-09-04 16:33:04 +0000
commita708acd02baf3821c975801ae0e5cad6867a6735 (patch)
tree1be391b7c9fa3df12cdf29412b2abe71f250de95 /src/main/java/com/google/devtools/build/lib/rules/cpp/CcCommon.java
parentd416ffeac5e81630688e31b7925e287354195b60 (diff)
Teach Bazel to accept assembler-without-preprocessor source files.
Adding the accepted file extensions was a minor issue. The bulk of this change was to weaken the assertion that all cxx compiler actions produce a '.d' file. RELNOTES[NEW]: a cc_binary rule may list '.s' and '.asm' files in the srcs -- MOS_MIGRATED_REVID=102346882
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/rules/cpp/CcCommon.java')
-rw-r--r--src/main/java/com/google/devtools/build/lib/rules/cpp/CcCommon.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/cpp/CcCommon.java b/src/main/java/com/google/devtools/build/lib/rules/cpp/CcCommon.java
index aff5dd7143..8028abda49 100644
--- a/src/main/java/com/google/devtools/build/lib/rules/cpp/CcCommon.java
+++ b/src/main/java/com/google/devtools/build/lib/rules/cpp/CcCommon.java
@@ -63,6 +63,7 @@ public final class CcCommon {
CppFileTypes.CPP_SOURCE,
CppFileTypes.CPP_HEADER,
CppFileTypes.C_SOURCE,
+ CppFileTypes.ASSEMBLER,
CppFileTypes.ASSEMBLER_WITH_C_PREPROCESSOR);
/**