diff options
author | 2016-06-08 14:37:29 +0000 | |
---|---|---|
committer | 2016-06-08 15:58:13 +0000 | |
commit | fa878df99618bfc59a5ff733871e266e9e3f3fd1 (patch) | |
tree | bfc63fcfdaca58d42a1c75ea620a05f62bb96a00 /src/main/java/com/google/devtools/build/lib/rules/cpp/CppRuleClasses.java | |
parent | 6e3e48ee51e8174f89da853d3618baa87d7ae812 (diff) |
Move -c and -o options into action_config
Also moved -S and -E options into the same action_config.
Since whoever consume CppCompileInfo add -c and -o options by themselves, to
keep compatible with this, the original code is still kept and used, until the corresponding flag sets are added into CROSSTOOL.
--
MOS_MIGRATED_REVID=124350905
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.java | 7 |
1 files changed, 7 insertions, 0 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 2d3d0b5c4a..3a2add3f32 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 @@ -102,6 +102,13 @@ public class CppRuleClasses { public static final String RANDOM_SEED = "random_seed"; /** + * A string constant for the compile_action_flags_in_flag_set feature. This feature is just a + * transitional feature which helps telling whether -c and -o options are already in flag_set of + * action_config in CROSSTOOL file. Once the transition is done, it should be removed. + */ + public static final String COMPILE_ACTION_FLAGS_IN_FLAG_SET = "compile_action_flags_in_flag_set"; + + /** * A string constant for the module_map_home_cwd feature. */ public static final String MODULE_MAP_HOME_CWD = "module_map_home_cwd"; |