refactor(ivy): make sure that test bed symbols are imported from ivy_switch (#26121)
PR Close #26121
This commit is contained in:
		
							parent
							
								
									5f6900ecc0
								
							
						
					
					
						commit
						63b795ae4a
					
				| @ -125,18 +125,12 @@ export {  Render3DebugRendererFactory2 as ɵRender3DebugRendererFactory2 } from | |||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| export { | export { | ||||||
|   compileNgModuleDefs as ɵcompileNgModuleDefs, |   R3_COMPILE_NGMODULE_DEFS as ɵcompileNgModuleDefs, | ||||||
|   patchComponentDefWithScope as ɵpatchComponentDefWithScope, |   R3_PATCH_COMPONENT_DEF_WTIH_SCOPE as ɵpatchComponentDefWithScope, | ||||||
| } from './render3/jit/module'; |   R3_COMPILE_COMPONENT as ɵcompileComponent, | ||||||
| 
 |   R3_COMPILE_DIRECTIVE as ɵcompileDirective, | ||||||
| export { |   R3_COMPILE_PIPE as ɵcompilePipe, | ||||||
|   compileComponent as ɵcompileComponent, | } from './ivy_switch/compiler/ivy_switch_on'; | ||||||
|   compileDirective as ɵcompileDirective, |  | ||||||
| } from './render3/jit/directive'; |  | ||||||
| 
 |  | ||||||
| export { |  | ||||||
|   compilePipe as ɵcompilePipe, |  | ||||||
| } from './render3/jit/pipe'; |  | ||||||
| 
 | 
 | ||||||
| export { | export { | ||||||
|   NgModuleDef as ɵNgModuleDef, |   NgModuleDef as ɵNgModuleDef, | ||||||
|  | |||||||
| @ -8,7 +8,7 @@ | |||||||
| 
 | 
 | ||||||
| import {compileComponent, compileDirective} from '../../render3/jit/directive'; | import {compileComponent, compileDirective} from '../../render3/jit/directive'; | ||||||
| import {compileInjectable} from '../../render3/jit/injectable'; | import {compileInjectable} from '../../render3/jit/injectable'; | ||||||
| import {compileNgModule} from '../../render3/jit/module'; | import {compileNgModule, compileNgModuleDefs, patchComponentDefWithScope} from '../../render3/jit/module'; | ||||||
| import {compilePipe} from '../../render3/jit/pipe'; | import {compilePipe} from '../../render3/jit/pipe'; | ||||||
| 
 | 
 | ||||||
| export const ivyEnabled = true; | export const ivyEnabled = true; | ||||||
| @ -17,3 +17,5 @@ export const R3_COMPILE_DIRECTIVE = compileDirective; | |||||||
| export const R3_COMPILE_INJECTABLE = compileInjectable; | export const R3_COMPILE_INJECTABLE = compileInjectable; | ||||||
| export const R3_COMPILE_NGMODULE = compileNgModule; | export const R3_COMPILE_NGMODULE = compileNgModule; | ||||||
| export const R3_COMPILE_PIPE = compilePipe; | export const R3_COMPILE_PIPE = compilePipe; | ||||||
|  | export const R3_COMPILE_NGMODULE_DEFS = compileNgModuleDefs; | ||||||
|  | export const R3_PATCH_COMPONENT_DEF_WTIH_SCOPE = patchComponentDefWithScope; | ||||||
|  | |||||||
| @ -26,6 +26,10 @@ export const R3_COMPILE_DIRECTIVE__POST_NGCC__: DirectiveCompiler = ivyOn.R3_COM | |||||||
| export const R3_COMPILE_INJECTABLE__POST_NGCC__: DirectiveCompiler = ivyOn.R3_COMPILE_INJECTABLE; | export const R3_COMPILE_INJECTABLE__POST_NGCC__: DirectiveCompiler = ivyOn.R3_COMPILE_INJECTABLE; | ||||||
| export const R3_COMPILE_NGMODULE__POST_NGCC__: DirectiveCompiler = ivyOn.R3_COMPILE_NGMODULE; | export const R3_COMPILE_NGMODULE__POST_NGCC__: DirectiveCompiler = ivyOn.R3_COMPILE_NGMODULE; | ||||||
| export const R3_COMPILE_PIPE__POST_NGCC__: DirectiveCompiler = ivyOn.R3_COMPILE_PIPE; | export const R3_COMPILE_PIPE__POST_NGCC__: DirectiveCompiler = ivyOn.R3_COMPILE_PIPE; | ||||||
|  | export const R3_COMPILE_NGMODULE_DEFS__POST_NGCC__: DirectiveCompiler = | ||||||
|  |     ivyOn.R3_COMPILE_NGMODULE_DEFS; | ||||||
|  | export const R3_PATCH_COMPONENT_DEF_WTIH_SCOPE__POST_NGCC__: DirectiveCompiler = | ||||||
|  |     ivyOn.R3_PATCH_COMPONENT_DEF_WTIH_SCOPE; | ||||||
| 
 | 
 | ||||||
| export const ivyEnable__POST_NGCC__: boolean = ivyOn.ivyEnabled; | export const ivyEnable__POST_NGCC__: boolean = ivyOn.ivyEnabled; | ||||||
| 
 | 
 | ||||||
| @ -34,6 +38,8 @@ const R3_COMPILE_DIRECTIVE__PRE_NGCC__: DirectiveCompiler = noop; | |||||||
| const R3_COMPILE_INJECTABLE__PRE_NGCC__: DirectiveCompiler = preR3InjectableCompile; | const R3_COMPILE_INJECTABLE__PRE_NGCC__: DirectiveCompiler = preR3InjectableCompile; | ||||||
| const R3_COMPILE_NGMODULE__PRE_NGCC__: DirectiveCompiler = preR3NgModuleCompile; | const R3_COMPILE_NGMODULE__PRE_NGCC__: DirectiveCompiler = preR3NgModuleCompile; | ||||||
| const R3_COMPILE_PIPE__PRE_NGCC__: DirectiveCompiler = noop; | const R3_COMPILE_PIPE__PRE_NGCC__: DirectiveCompiler = noop; | ||||||
|  | const R3_COMPILE_NGMODULE_DEFS__PRE_NGCC__: DirectiveCompiler = noop; | ||||||
|  | const R3_PATCH_COMPONENT_DEF_WTIH_SCOPE__PRE_NGCC__: DirectiveCompiler = noop; | ||||||
| 
 | 
 | ||||||
| const ivyEnable__PRE_NGCC__ = false; | const ivyEnable__PRE_NGCC__ = false; | ||||||
| 
 | 
 | ||||||
| @ -43,6 +49,9 @@ export let R3_COMPILE_DIRECTIVE: DirectiveCompiler = R3_COMPILE_DIRECTIVE__PRE_N | |||||||
| export let R3_COMPILE_INJECTABLE: DirectiveCompiler = R3_COMPILE_INJECTABLE__PRE_NGCC__; | export let R3_COMPILE_INJECTABLE: DirectiveCompiler = R3_COMPILE_INJECTABLE__PRE_NGCC__; | ||||||
| export let R3_COMPILE_NGMODULE: DirectiveCompiler = R3_COMPILE_NGMODULE__PRE_NGCC__; | export let R3_COMPILE_NGMODULE: DirectiveCompiler = R3_COMPILE_NGMODULE__PRE_NGCC__; | ||||||
| export let R3_COMPILE_PIPE: DirectiveCompiler = R3_COMPILE_PIPE__PRE_NGCC__; | export let R3_COMPILE_PIPE: DirectiveCompiler = R3_COMPILE_PIPE__PRE_NGCC__; | ||||||
|  | export let R3_COMPILE_NGMODULE_DEFS: DirectiveCompiler = R3_COMPILE_NGMODULE_DEFS__PRE_NGCC__; | ||||||
|  | export let R3_PATCH_COMPONENT_DEF_WTIH_SCOPE: DirectiveCompiler = | ||||||
|  |     R3_PATCH_COMPONENT_DEF_WTIH_SCOPE__PRE_NGCC__; | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| ////////////////////////////////////////////////////////////
 | ////////////////////////////////////////////////////////////
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user