@VisibleForTesting protected BuildTarget getExtensionTarget(BuildTarget target, Flavor platform) { return CxxDescriptionEnhancer.createSharedLibraryBuildTarget(target, platform); }
@VisibleForTesting protected static BuildTarget getExtensionTarget( BuildTarget target, Flavor pythonPlatform, Flavor platform) { return CxxDescriptionEnhancer.createSharedLibraryBuildTarget( BuildTarget.builder(target).addFlavors(pythonPlatform).build(), platform); }