aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/rules/cpp/CcCommon.java
diff options
context:
space:
mode:
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.java15
1 files changed, 15 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 e9ae312128..69c3f6061d 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
@@ -70,6 +70,21 @@ import javax.annotation.Nullable;
*/
public final class CcCommon {
+ /** Name of the build variable for the sysroot path variable name. */
+ public static final String SYSROOT_VARIABLE_NAME = "sysroot";
+
+ /** Name of the build variable for the path to the input file being processed. */
+ public static final String INPUT_FILE_VARIABLE_NAME = "input_file";
+
+ /**
+ * Name of the build variable for includes that compiler needs to include into sources to be
+ * compiled.
+ */
+ public static final String INCLUDES_VARIABLE_NAME = "includes";
+
+ /** Name of the build variable for stripopts for the strip action. */
+ public static final String STRIPOPTS_VARIABLE_NAME = "stripopts";
+
private static final String NO_COPTS_ATTRIBUTE = "nocopts";
/**