aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/rules/cpp/CppRuleClasses.java
diff options
context:
space:
mode:
authorGravatar Lukacs Berki <lberki@google.com>2016-05-20 12:34:48 +0000
committerGravatar Kristina Chodorow <kchodorow@google.com>2016-05-20 14:42:02 +0000
commitc169a0ae0899cabf9fa7f3a3cbd7f9c4520fbd3d (patch)
tree6e4ee9254c03c1756a1f1a892f901d38f480a4e0 /src/main/java/com/google/devtools/build/lib/rules/cpp/CppRuleClasses.java
parenta4c7d25d219e8d748c18f8c49d1366fa1d683ab7 (diff)
*** Reason for rollback *** breaks [] *** Original change description *** Move the command line arguments for C++ preprocessor defines to a feature. This required a few assorted changes: - The LIPO compilation context is not merged anymore. Include paths for auxiliary files are apparently taken from the profile files, so it is not necessary. - The FDO build stamp is not special-cased anymore, it is treated as a preprocessor define like any other. - When compiling a .pcm file, use interfaceContext instead of the regular context when setting up the build variables. Th... *** -- MOS_MIGRATED_REVID=122823591
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/rules/cpp/CppRuleClasses.java')
-rw-r--r--src/main/java/com/google/devtools/build/lib/rules/cpp/CppRuleClasses.java7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/cpp/CppRuleClasses.java b/src/main/java/com/google/devtools/build/lib/rules/cpp/CppRuleClasses.java
index eca4a6d189..074900356c 100644
--- a/src/main/java/com/google/devtools/build/lib/rules/cpp/CppRuleClasses.java
+++ b/src/main/java/com/google/devtools/build/lib/rules/cpp/CppRuleClasses.java
@@ -167,17 +167,12 @@ public class CppRuleClasses {
/**
* A string constant for the PIC feature.
*
- * <p>If this feature is active (currently it cannot be switched off) and PIC compilation is
+ * If this feature is active (currently it cannot be switched off) and PIC compilation is
* requested, the "pic" build variable will be defined with an empty string as its value.
*/
public static final String PIC = "pic";
/**
- * A string constant for the feature the represents preprocessor defines.
- */
- public static final String PREPROCESSOR_DEFINES = "preprocessor_defines";
-
- /**
* A string constant for the include_paths feature.
*/
public static final String INCLUDE_PATHS = "include_paths";