Move xbinaryfdo feature from CppActionConfigs to crosstool.
apple_crosstool and android_crosstool don't recognize the profile format
of xbinaryfdo and will report errors. We want the xbinaryfdo feature to be
effective only when default crosstool is used.
RELNOTES: None.
@@ -402,21 +402,6 @@ public class CppActionConfigs {
" }",
" }",
"}"),
- ifTrue(
- !existingFeatureNames.contains(CppRuleClasses.XBINARYFDO),
- "feature {",
- " name: 'xbinaryfdo'",
- " provides: 'profile'",
- " flag_set {",
- " action: 'c-compile'",
- " action: 'c++-compile'",
- " expand_if_all_available: 'fdo_profile_path'",
- " flag_group {",
- " flag: '-fauto-profile=%{fdo_profile_path}'",
- " flag: '-fprofile-correction'",
- " }",
- " }",
- "}"),
ifTrue(
!existingFeatureNames.contains(CppRuleClasses.AUTOFDO),
"feature {",
