diff options
author | 2017-01-18 20:07:09 +0000 | |
---|---|---|
committer | 2017-01-19 12:36:38 +0000 | |
commit | 7a58fdc827434ce1b872c17cda1b0a0220842387 (patch) | |
tree | c102d493d9c6f4d55782801c57c398f7355a2424 /src/main/java/com/google/devtools/build/lib/rules/objc/IosTest.java | |
parent | 8063f294bd425d71a12f5651517fe83e866c94aa (diff) |
Introduce --experimental_objc_crosstool, which replaces
--experimental_objc_library and --experimental_objc_use_crosstool_for_binary.
This flag will allow testing of the complete (compilation and linking) rollout
of the objc crosstool.
--
PiperOrigin-RevId: 144864301
MOS_MIGRATED_REVID=144864301
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/rules/objc/IosTest.java')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/rules/objc/IosTest.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/objc/IosTest.java b/src/main/java/com/google/devtools/build/lib/rules/objc/IosTest.java index 2902cdc65b..f104dc72b9 100644 --- a/src/main/java/com/google/devtools/build/lib/rules/objc/IosTest.java +++ b/src/main/java/com/google/devtools/build/lib/rules/objc/IosTest.java @@ -32,7 +32,6 @@ import com.google.devtools.build.lib.analysis.RunfilesSupport; import com.google.devtools.build.lib.analysis.actions.ExecutionRequirements; import com.google.devtools.build.lib.collect.nestedset.NestedSet; import com.google.devtools.build.lib.collect.nestedset.NestedSetBuilder; -import com.google.devtools.build.lib.packages.RuleClass.ConfiguredTargetFactory.RuleErrorException; import com.google.devtools.build.lib.rules.RuleConfiguredTargetFactory; import com.google.devtools.build.lib.rules.apple.AppleConfiguration; import com.google.devtools.build.lib.rules.apple.Platform.PlatformType; @@ -151,7 +150,7 @@ public final class IosTest implements RuleConfiguredTargetFactory { ruleContext.getPrerequisites("deps", Mode.TARGET, J2ObjcEntryClassProvider.class)) .build(); - new LegacyCompilationSupport(ruleContext) + CompilationSupport.create(ruleContext) .registerLinkActions( common.getObjcProvider(), j2ObjcMappingFileProvider, @@ -202,7 +201,7 @@ public final class IosTest implements RuleConfiguredTargetFactory { NestedSetBuilder.<Artifact>stableOrder().addTransitive(filesToBuildSet); InstrumentedFilesProvider instrumentedFilesProvider = - new LegacyCompilationSupport(ruleContext).getInstrumentedFilesProvider(common); + CompilationSupport.create(ruleContext).getInstrumentedFilesProvider(common); TestSupport testSupport = new TestSupport(ruleContext) |