Remove dead code in thinlto test.
The call to AnalysisMock in testFdoNoImplicitThinLto is unnecessary since the following call to setupFdoThinLtoCrosstool overrides the features.
Tested:
Existing unit tests pass with the code removed.
@@ -1396,12 +1396,6 @@ public class CcBinaryThinLtoTest extends BuildViewTestCase {
*/
@Test
public void testFdoNoImplicitThinLto() throws Exception {
- AnalysisMock.get()
- .ccSupport()
- .setupCcToolchainConfig(
- mockToolsConfig,
- CcToolchainConfig.builder()
- .withFeatures(CppRuleClasses.THIN_LTO, CppRuleClasses.SUPPORTS_START_END_LIB));
scratch.file(
"pkg/BUILD",
"",
