diff --git a/modules/benchmarks/src/largetable/render3/BUILD.bazel b/modules/benchmarks/src/largetable/render3/BUILD.bazel index 848128851c..8ff7e381e2 100644 --- a/modules/benchmarks/src/largetable/render3/BUILD.bazel +++ b/modules/benchmarks/src/largetable/render3/BUILD.bazel @@ -19,6 +19,7 @@ ng_module( "//packages:types", "//packages/common", "//packages/core", + "@ngdeps//reflect-metadata", ], ) diff --git a/modules/benchmarks/src/tree/render3/BUILD.bazel b/modules/benchmarks/src/tree/render3/BUILD.bazel index 4b8b9fce0b..8f3e6875f1 100644 --- a/modules/benchmarks/src/tree/render3/BUILD.bazel +++ b/modules/benchmarks/src/tree/render3/BUILD.bazel @@ -17,6 +17,7 @@ ng_module( "//packages:types", "//packages/common", "//packages/core", + "@ngdeps//reflect-metadata", ], ) @@ -61,7 +62,6 @@ protractor_web_test( "//modules/benchmarks/src/tree:perf_lib", "@ngdeps//node-uuid", "@ngdeps//protractor", - "@ngdeps//reflect-metadata", "@ngdeps//yargs", ], ) diff --git a/packages/benchpress/BUILD.bazel b/packages/benchpress/BUILD.bazel index 9d66376a44..0ed71573d5 100644 --- a/packages/benchpress/BUILD.bazel +++ b/packages/benchpress/BUILD.bazel @@ -15,5 +15,6 @@ ts_library( "//packages:types", "//packages/core", "@ngdeps//@types/node", + "@ngdeps//reflect-metadata", ], ) diff --git a/packages/compiler-cli/integrationtest/bazel/ng_module/BUILD.bazel b/packages/compiler-cli/integrationtest/bazel/ng_module/BUILD.bazel index 0b31e97b69..97c8574c0e 100644 --- a/packages/compiler-cli/integrationtest/bazel/ng_module/BUILD.bazel +++ b/packages/compiler-cli/integrationtest/bazel/ng_module/BUILD.bazel @@ -2,6 +2,7 @@ load("//packages/bazel:index.bzl", "ng_module") ng_module( name = "test_module", + testonly = True, srcs = glob(["*.ts"]), compiler = "//packages/bazel/src/ngc-wrapped", entry_point = "index.ts", @@ -9,6 +10,10 @@ ng_module( module_name = "some_npm_module", ng_xi18n = "//packages/bazel/src/ngc-wrapped:xi18n", node_modules = "@ngdeps//typescript:typescript__typings", + tags = [ + "fixme-ivy-aot", + "no-ivy-jit", + ], deps = [ "//packages/core", "@ngdeps//@types", @@ -19,6 +24,7 @@ load(":extract_flat_module_index.bzl", "extract_flat_module_index") extract_flat_module_index( name = "flat_module_index", + testonly = True, deps = [":test_module"], ) diff --git a/packages/core/test/bundling/animation_world/BUILD.bazel b/packages/core/test/bundling/animation_world/BUILD.bazel index b3b8de3f46..f483015cb0 100644 --- a/packages/core/test/bundling/animation_world/BUILD.bazel +++ b/packages/core/test/bundling/animation_world/BUILD.bazel @@ -7,7 +7,10 @@ load("//tools/http-server:http_server.bzl", "http_server") ng_module( name = "animation_world", srcs = ["index.ts"], - tags = ["ivy-only"], + tags = [ + "ivy-only", + "no-ivy-jit", + ], type_check = False, # see #26462 deps = [ "//packages/common", @@ -25,7 +28,10 @@ ng_rollup_bundle( # has an "external" directory for external dependencies. # This should probably start with "angular/" and let the rule deal with it. entry_point = "packages/core/test/bundling/animation_world/index.js", - tags = ["ivy-only"], + tags = [ + "ivy-only", + "no-ivy-jit", + ], deps = [ ":animation_world", "//packages/core", @@ -39,6 +45,7 @@ js_expected_symbol_test( tags = [ "ivy-aot", "ivy-only", + "no-ivy-jit", ], ) @@ -51,4 +58,8 @@ http_server( ":bundle.min.js", ":bundle.min_debug.js", ], + tags = [ + "ivy-only", + "no-ivy-jit", + ], ) diff --git a/packages/core/test/bundling/hello_world/BUILD.bazel b/packages/core/test/bundling/hello_world/BUILD.bazel index cc3e205f95..2283f9775d 100644 --- a/packages/core/test/bundling/hello_world/BUILD.bazel +++ b/packages/core/test/bundling/hello_world/BUILD.bazel @@ -7,7 +7,10 @@ load("//tools/http-server:http_server.bzl", "http_server") ng_module( name = "hello_world", srcs = ["index.ts"], - tags = ["ivy-only"], + tags = [ + "ivy-only", + "no-ivy-jit", + ], deps = [ "//packages/core", ], @@ -22,7 +25,10 @@ ng_rollup_bundle( # has an "external" directory for external dependencies. # This should probably start with "angular/" and let the rule deal with it. entry_point = "packages/core/test/bundling/hello_world/index.js", - tags = ["ivy-only"], + tags = [ + "ivy-only", + "no-ivy-jit", + ], deps = [ ":hello_world", "//packages/core", @@ -33,6 +39,10 @@ ts_library( name = "test_lib", testonly = True, srcs = glob(["*_spec.ts"]), + tags = [ + "ivy-only", + "no-ivy-jit", + ], deps = [ "//packages:types", "//packages/core/testing", @@ -50,6 +60,7 @@ jasmine_node_test( ], tags = [ "ivy-only", + "no-ivy-jit", ], deps = [":test_lib"], ) @@ -61,6 +72,7 @@ js_expected_symbol_test( tags = [ "ivy-aot", "ivy-only", + "no-ivy-jit", ], ) @@ -71,4 +83,8 @@ http_server( ":bundle.min.js", ":bundle.min_debug.js", ], + tags = [ + "ivy-only", + "no-ivy-jit", + ], ) diff --git a/packages/core/test/bundling/hello_world_i18n/BUILD.bazel b/packages/core/test/bundling/hello_world_i18n/BUILD.bazel index 7ec09627a9..eb65a2e64e 100644 --- a/packages/core/test/bundling/hello_world_i18n/BUILD.bazel +++ b/packages/core/test/bundling/hello_world_i18n/BUILD.bazel @@ -6,6 +6,7 @@ load("//tools/http-server:http_server.bzl", "http_server") ivy_ng_module( name = "hello_world_i18n", srcs = ["index.ts"], + tags = ["ivy-only"], deps = [ "//packages/core", ], @@ -20,6 +21,7 @@ ng_rollup_bundle( # has an "external" directory for external dependencies. # This should probably start with "angular/" and let the rule deal with it. entry_point = "packages/core/test/bundling/hello_world_i18n/index.js", + tags = ["ivy-only"], deps = [ ":hello_world_i18n", "//packages/core", @@ -33,4 +35,5 @@ http_server( ":bundle.min.js", ":bundle.min_debug.js", ], + tags = ["ivy-only"], ) diff --git a/packages/core/test/bundling/hello_world_r2/BUILD.bazel b/packages/core/test/bundling/hello_world_r2/BUILD.bazel index af5d8c17c3..39fff073dd 100644 --- a/packages/core/test/bundling/hello_world_r2/BUILD.bazel +++ b/packages/core/test/bundling/hello_world_r2/BUILD.bazel @@ -7,6 +7,10 @@ load("//tools/http-server:http_server.bzl", "http_server") ng_module( name = "hello_world", srcs = ["index.ts"], + tags = [ + "ivy-only", + "no-ivy-jit", + ], deps = [ "//packages/core", "//packages/platform-browser-dynamic", @@ -22,6 +26,10 @@ ng_rollup_bundle( # has an "external" directory for external dependencies. # This should probably start with "angular/" and let the rule deal with it. entry_point = "packages/core/test/bundling/hello_world_r2/index.js", + tags = [ + "ivy-only", + "no-ivy-jit", + ], deps = [ ":hello_world", "//packages/core", @@ -33,6 +41,10 @@ ts_library( name = "test_lib", testonly = True, srcs = glob(["*_spec.ts"]), + tags = [ + "ivy-only", + "no-ivy-jit", + ], deps = [ "//packages:types", "//packages/core/testing", @@ -48,6 +60,10 @@ jasmine_node_test( ":bundle.min.js.br", ":bundle.min_debug.js", ], + tags = [ + "ivy-only", + "no-ivy-jit", + ], deps = [":test_lib"], ) @@ -55,6 +71,10 @@ js_expected_symbol_test( name = "symbol_test", src = ":bundle.min_debug.js", golden = ":bundle.golden_symbols.json", + tags = [ + "ivy-only", + "no-ivy-jit", + ], ) http_server( @@ -64,4 +84,8 @@ http_server( ":bundle.min.js", ":bundle.min_debug.js", ], + tags = [ + "ivy-only", + "no-ivy-jit", + ], ) diff --git a/packages/core/test/bundling/hello_world_r2/bundle.golden_symbols.json b/packages/core/test/bundling/hello_world_r2/bundle.golden_symbols.json index ded09e4300..fefb6f44e0 100644 --- a/packages/core/test/bundling/hello_world_r2/bundle.golden_symbols.json +++ b/packages/core/test/bundling/hello_world_r2/bundle.golden_symbols.json @@ -164,6 +164,9 @@ { "name": "$z" }, + { + "name": "ACTIVE_INDEX" + }, { "name": "ALLOW_DEFAULT_VAR" }, @@ -228,17 +231,23 @@ "name": "AttrAst" }, { - "name": "Attribute$1" + "name": "Attribute" }, { "name": "B64_DIGITS" }, + { + "name": "BINDING_INDEX" + }, { "name": "BIND_NAME_REGEXP" }, { "name": "BLOCK_PLACEHOLDER" }, + { + "name": "BLOOM_MASK" + }, { "name": "BOOLEAN" }, @@ -326,6 +335,9 @@ { "name": "CIRCULAR" }, + { + "name": "CIRCULAR$1" + }, { "name": "CLASS_ATTR" }, @@ -335,6 +347,12 @@ { "name": "CLASS_PREFIX" }, + { + "name": "CLEANUP" + }, + { + "name": "CLEAN_PROMISE" + }, { "name": "CLOSE_CURLY" }, @@ -344,6 +362,9 @@ { "name": "COMPILER_PROVIDERS" }, + { + "name": "COMPONENT_FACTORY_RESOLVER" + }, { "name": "COMPONENT_VARIABLE" }, @@ -353,9 +374,15 @@ { "name": "CONSTANT_PREFIX" }, + { + "name": "CONTAINER_INDEX" + }, { "name": "CONTENT_ATTR" }, + { + "name": "CONTEXT" + }, { "name": "CORE" }, @@ -452,18 +479,27 @@ { "name": "ComponentFactory" }, + { + "name": "ComponentFactory$1" + }, { "name": "ComponentFactoryBoundToModule" }, { "name": "ComponentFactoryResolver" }, + { + "name": "ComponentFactoryResolver$1" + }, { "name": "ComponentFactory_" }, { "name": "ComponentRef" }, + { + "name": "ComponentRef$1" + }, { "name": "ComponentRef_" }, @@ -500,6 +536,9 @@ { "name": "DASH_CASE_REGEXP" }, + { + "name": "DECLARATION_VIEW" + }, { "name": "DEFAULT_INTERPOLATION_CONFIG" }, @@ -569,11 +608,17 @@ { "name": "DomElementSchemaRegistry" }, + { + "name": "EMPTY" + }, { "name": "EMPTY$1" }, { - "name": "EMPTY_ARRAY$4" + "name": "EMPTY_ARRAY$1" + }, + { + "name": "EMPTY_ARRAY$2" }, { "name": "EMPTY_ARRAY$5" @@ -701,6 +746,12 @@ { "name": "ExtractionResult" }, + { + "name": "FLAGS" + }, + { + "name": "FactoryPrototype" + }, { "name": "FixupExpression" }, @@ -716,9 +767,18 @@ { "name": "GOOG_GET_MSG" }, + { + "name": "HEADER_OFFSET" + }, + { + "name": "HOST" + }, { "name": "HOST_ATTR" }, + { + "name": "HOST_NODE" + }, { "name": "HOST_REG_EXP" }, @@ -779,6 +839,9 @@ { "name": "INHERITED_CLASS_WITH_CTOR" }, + { + "name": "INJECTOR" + }, { "name": "INJECTOR$1" }, @@ -788,6 +851,9 @@ { "name": "INJECTORRefTokenKey$1" }, + { + "name": "INJECTOR_SIZE" + }, { "name": "INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS" }, @@ -815,9 +881,6 @@ { "name": "Inject" }, - { - "name": "Injectable" - }, { "name": "InjectionToken" }, @@ -932,6 +995,9 @@ { "name": "LifecycleHooks" }, + { + "name": "LifecycleHooksFeature" + }, { "name": "LiteralArray" }, @@ -959,6 +1025,9 @@ { "name": "MODULE_SUFFIX" }, + { + "name": "MONKEY_PATCH_KEY_NAME" + }, { "name": "MULTI_PROVIDER_FN" }, @@ -995,24 +1064,51 @@ { "name": "NAMED_ENTITIES" }, + { + "name": "NATIVE" + }, { "name": "NEW_LINE" }, + { + "name": "NEXT" + }, { "name": "NGSP_UNICODE" }, + { + "name": "NG_COMPONENT_DEF" + }, { "name": "NG_CONTENT_SELECT_ATTR" }, + { + "name": "NG_DIRECTIVE_DEF" + }, + { + "name": "NG_ELEMENT_ID" + }, { "name": "NG_INJECTABLE_DEF" }, + { + "name": "NG_INJECTOR_DEF" + }, + { + "name": "NG_MODULE_DEF" + }, { "name": "NG_NON_BINDABLE_ATTR" }, + { + "name": "NG_PIPE_DEF" + }, { "name": "NG_PROJECT_AS" }, + { + "name": "NG_PROJECT_AS_ATTR_NAME" + }, { "name": "NG_TEMP_TOKEN_PATH" }, @@ -1025,15 +1121,27 @@ { "name": "NOOP" }, + { + "name": "NOT_FOUND" + }, { "name": "NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR" }, + { + "name": "NOT_YET" + }, + { + "name": "NO_CHANGE" + }, { "name": "NO_ERRORS_SCHEMA" }, { "name": "NO_NEW_LINE" }, + { + "name": "NO_PARENT_INJECTOR" + }, { "name": "NO_WS_REGEXP" }, @@ -1046,6 +1154,9 @@ { "name": "NULL_INJECTOR" }, + { + "name": "NULL_INJECTOR$2" + }, { "name": "NUMBER" }, @@ -1061,6 +1172,9 @@ { "name": "NgModuleFactory" }, + { + "name": "NgModuleFactory$1" + }, { "name": "NgModuleFactory_" }, @@ -1070,6 +1184,9 @@ { "name": "NgModuleRef" }, + { + "name": "NgModuleRef$1" + }, { "name": "NgModuleRefTokenKey" }, @@ -1082,6 +1199,15 @@ { "name": "NgZone" }, + { + "name": "NodeInjector" + }, + { + "name": "NodeInjector$1" + }, + { + "name": "NodeInjectorFactory" + }, { "name": "NonBindableVisitor" }, @@ -1124,6 +1250,12 @@ { "name": "PARAMETERS" }, + { + "name": "PARENT" + }, + { + "name": "PARENT_INJECTOR" + }, { "name": "PLATFORM_BROWSER_ID" }, @@ -1238,6 +1370,9 @@ { "name": "ProviderViewContext" }, + { + "name": "QUERIES" + }, { "name": "QUERY_METADATA_IDENTIFIERS" }, @@ -1250,6 +1385,21 @@ { "name": "Quote" }, + { + "name": "R3Injector" + }, + { + "name": "RENDERER" + }, + { + "name": "RENDER_PARENT" + }, + { + "name": "ROOT_CONTEXT" + }, + { + "name": "ROOT_EXPANDO_INSTRUCTIONS" + }, { "name": "ReadKeyExpr" }, @@ -1298,12 +1448,24 @@ { "name": "ResourceLoader" }, + { + "name": "ResourceLoaderImpl" + }, { "name": "ReturnStatement" }, { "name": "ReturnValue" }, + { + "name": "RootViewRef" + }, + { + "name": "SANITIZER" + }, + { + "name": "SCHEDULER" + }, { "name": "SCHEMA" }, @@ -1337,9 +1499,6 @@ { "name": "SWITCH_CHANGE_DETECTOR_REF_FACTORY" }, - { - "name": "SWITCH_COMPILE_INJECTABLE" - }, { "name": "SWITCH_ELEMENT_REF_FACTORY" }, @@ -1469,12 +1628,21 @@ { "name": "TAG_TO_PLACEHOLDER_NAMES" }, + { + "name": "TAIL" + }, { "name": "TEMPLATE_ATTR_PREFIX" }, { "name": "TEXT_CSS_SELECTOR" }, + { + "name": "THROW_IF_NOT_FOUND" + }, + { + "name": "TNODE" + }, { "name": "TRANSLATIONS" }, @@ -1484,6 +1652,9 @@ { "name": "TRANSLATION_PREFIX" }, + { + "name": "TVIEW" + }, { "name": "TYPED_NULL_EXPR" }, @@ -1604,9 +1775,6 @@ { "name": "USE_VALUE$1" }, - { - "name": "USE_VALUE$2" - }, { "name": "UnsubscriptionError" }, @@ -1622,6 +1790,9 @@ { "name": "VERSION$2" }, + { + "name": "VIEWS" + }, { "name": "VIEW_VAR" }, @@ -1661,9 +1832,15 @@ { "name": "ViewEncapsulation$1" }, + { + "name": "ViewRef" + }, { "name": "ViewRef_" }, + { + "name": "WRAP_RENDERER_FACTORY2" + }, { "name": "WS_CHARS" }, @@ -1730,6 +1907,9 @@ { "name": "_BuiltinAstConverter" }, + { + "name": "_CLEAN_PROMISE" + }, { "name": "_CONTEXT_GROUP_TAG" }, @@ -1937,9 +2117,6 @@ { "name": "__assign" }, - { - "name": "__decorate" - }, { "name": "__extends" }, @@ -1973,12 +2150,6 @@ { "name": "__forward_ref__" }, - { - "name": "__metadata" - }, - { - "name": "__param" - }, { "name": "__read" }, @@ -2072,6 +2243,9 @@ { "name": "_currentInjector" }, + { + "name": "_currentNamespace" + }, { "name": "_declareFn" }, @@ -2180,6 +2354,9 @@ { "name": "_removeDotSegments" }, + { + "name": "_renderCompCount" + }, { "name": "_renderCompCount$1" }, @@ -2255,12 +2432,21 @@ { "name": "addBigInt" }, + { + "name": "addRemoveViewFromContainer" + }, { "name": "addToArray" }, + { + "name": "addToViewTree" + }, { "name": "anchorDef" }, + { + "name": "appendChild" + }, { "name": "appendNgContent" }, @@ -2315,6 +2501,9 @@ { "name": "attachEmbeddedView" }, + { + "name": "attachPatchData" + }, { "name": "attachProjectedView" }, @@ -2324,9 +2513,21 @@ { "name": "baseHtmlParser" }, + { + "name": "baseResolveDirective" + }, { "name": "blackListedEvents" }, + { + "name": "bloomAdd" + }, + { + "name": "bloomHasToken" + }, + { + "name": "bloomHashBitOrFactory" + }, { "name": "builtinExternalReferences" }, @@ -2360,6 +2561,9 @@ { "name": "callFactory" }, + { + "name": "callHooks" + }, { "name": "callLifecycleHooksChildrenFirst" }, @@ -2381,6 +2585,15 @@ { "name": "camelCaseToDashCase" }, + { + "name": "canInsertNativeChildOfElement" + }, + { + "name": "canInsertNativeChildOfView" + }, + { + "name": "canInsertNativeNode" + }, { "name": "canReportError" }, @@ -2435,6 +2648,15 @@ { "name": "checkBindingNoChanges" }, + { + "name": "checkNoChanges" + }, + { + "name": "checkNoChangesInRootView" + }, + { + "name": "checkNoChangesMode" + }, { "name": "checkNoChangesNode" }, @@ -2453,6 +2675,9 @@ { "name": "checkStable" }, + { + "name": "cleanUpView" + }, { "name": "cloneNgModuleDefinition" }, @@ -2466,7 +2691,7 @@ "name": "compileNgModuleFactory" }, { - "name": "compileNgModuleFactory__PRE_R3__" + "name": "compileNgModuleFactory__POST_R3__" }, { "name": "componentFactoryName" @@ -2474,6 +2699,9 @@ { "name": "componentFactoryResolverProviderDef" }, + { + "name": "componentRefresh" + }, { "name": "componentStillLoadingError" }, @@ -2498,9 +2726,6 @@ { "name": "convertBuiltins" }, - { - "name": "convertInjectableProviderToFactory" - }, { "name": "convertPropertyBinding" }, @@ -2519,6 +2744,9 @@ { "name": "convertValueToOutputAst" }, + { + "name": "couldBeInjectableType" + }, { "name": "createAttribute" }, @@ -2540,6 +2768,9 @@ { "name": "createComponentView" }, + { + "name": "createContainerRef" + }, { "name": "createContentChild" }, @@ -2567,9 +2798,15 @@ { "name": "createElementCssSelector" }, + { + "name": "createElementRef" + }, { "name": "createEmbeddedView" }, + { + "name": "createEmbeddedViewAndNode" + }, { "name": "createHost" }, @@ -2591,12 +2828,24 @@ { "name": "createInjectionToken" }, + { + "name": "createInjector" + }, { "name": "createInjector$1" }, { "name": "createInput" }, + { + "name": "createLContainer" + }, + { + "name": "createLContext" + }, + { + "name": "createLViewData" + }, { "name": "createLazyProperty" }, @@ -2609,6 +2858,9 @@ { "name": "createNgModuleRef" }, + { + "name": "createNodeAtIndex" + }, { "name": "createOptional" }, @@ -2654,6 +2906,15 @@ { "name": "createRendererV1" }, + { + "name": "createRootComponent" + }, + { + "name": "createRootComponentView" + }, + { + "name": "createRootContext" + }, { "name": "createRootData" }, @@ -2672,12 +2933,24 @@ { "name": "createSkipSelf" }, + { + "name": "createTNode" + }, + { + "name": "createTView" + }, { "name": "createTemplateData" }, + { + "name": "createTemplateRef" + }, { "name": "createText" }, + { + "name": "createTextNode" + }, { "name": "createTokenForExternalReference" }, @@ -2687,6 +2960,9 @@ { "name": "createView" }, + { + "name": "createViewBlueprint" + }, { "name": "createViewChild" }, @@ -2696,9 +2972,18 @@ { "name": "createViewContainerData" }, + { + "name": "createViewNode" + }, { "name": "createViewNodes" }, + { + "name": "createViewQuery" + }, + { + "name": "createViewRef" + }, { "name": "dashCaseToCamelCase" }, @@ -2762,33 +3047,66 @@ { "name": "dedupeArray" }, + { + "name": "deepForEach" + }, { "name": "defaultErrorLogger" }, + { + "name": "defineComponent" + }, { "name": "defineInjectable" }, + { + "name": "defineInjector" + }, + { + "name": "defineNgModule" + }, { "name": "depDef" }, + { + "name": "destroyLView" + }, { "name": "destroyView" }, { "name": "destroyViewNodes" }, + { + "name": "destroyViewTree" + }, { "name": "detachEmbeddedView" }, { "name": "detachProjectedView" }, + { + "name": "detachView" + }, + { + "name": "detectChanges" + }, + { + "name": "detectChangesInRootView" + }, + { + "name": "detectChangesInternal" + }, { "name": "detectWTF" }, { "name": "devModeEqual" }, + { + "name": "diPublicInInjector" + }, { "name": "digest" }, @@ -2804,9 +3122,15 @@ { "name": "dispatchEvent" }, + { + "name": "domRendererFactory3" + }, { "name": "elementBindingDef" }, + { + "name": "elementCreate" + }, { "name": "elementDef" }, @@ -2828,6 +3152,9 @@ { "name": "ensureStatementMode" }, + { + "name": "enterView" + }, { "name": "error" }, @@ -2867,6 +3194,24 @@ { "name": "execRenderNodeAction" }, + { + "name": "executeHooks" + }, + { + "name": "executeInitAndContentHooks" + }, + { + "name": "executeInitHooks" + }, + { + "name": "executeNodeAction" + }, + { + "name": "executeOnDestroys" + }, + { + "name": "executePipeOnDestroys" + }, { "name": "expandNodes" }, @@ -2882,9 +3227,15 @@ { "name": "extractCommentsWithHash" }, + { + "name": "extractDirectiveDef" + }, { "name": "extractIdentifiers" }, + { + "name": "extractPipeDef" + }, { "name": "extractStyleUrls" }, @@ -2894,6 +3245,9 @@ { "name": "findCompView" }, + { + "name": "findComponentView" + }, { "name": "findHostElement" }, @@ -2906,9 +3260,15 @@ { "name": "findStaticQueryIds" }, + { + "name": "findViaComponent" + }, { "name": "fingerprint" }, + { + "name": "firstTemplatePass" + }, { "name": "fixedAttrsDef" }, @@ -2966,18 +3326,45 @@ { "name": "getBaseElementHref" }, + { + "name": "getBeforeNodeForView" + }, + { + "name": "getCheckNoChangesMode" + }, + { + "name": "getCleanup" + }, { "name": "getClosureSafeProperty" }, + { + "name": "getComponentDef" + }, + { + "name": "getComponentViewByIndex" + }, + { + "name": "getComponentViewByInstance" + }, { "name": "getComponentViewDefinitionFactory" }, + { + "name": "getContainerRenderParent" + }, + { + "name": "getCreationMode" + }, { "name": "getCtypeForTag" }, { "name": "getCurrentDebugContext" }, + { + "name": "getCurrentSanitizer" + }, { "name": "getDOM" }, @@ -2987,45 +3374,141 @@ { "name": "getDebugNode" }, + { + "name": "getDirectiveDef" + }, { "name": "getErrorLogger" }, + { + "name": "getFactoryOf" + }, + { + "name": "getFirstTemplatePass" + }, + { + "name": "getHighestElementContainer" + }, { "name": "getHookName" }, + { + "name": "getHostNative" + }, { "name": "getHtmlTagDefinition" }, + { + "name": "getInheritedFactory" + }, { "name": "getInjectableDef" }, + { + "name": "getInjectorDef" + }, + { + "name": "getInjectorIndex" + }, + { + "name": "getIsParent" + }, + { + "name": "getLContainer" + }, + { + "name": "getLViewChild" + }, + { + "name": "getNativeByTNode" + }, + { + "name": "getNgModuleDef" + }, { "name": "getNgZone" }, + { + "name": "getNodeInjectable" + }, { "name": "getNsPrefix" }, + { + "name": "getNullInjector" + }, + { + "name": "getOrCreateInjectable" + }, + { + "name": "getOrCreateNodeInjectorForNode" + }, + { + "name": "getOrCreateRenderer2" + }, + { + "name": "getOrCreateTView" + }, { "name": "getOriginalError" }, { "name": "getParentCtor" }, + { + "name": "getParentInjectorIndex" + }, + { + "name": "getParentInjectorLocation" + }, + { + "name": "getParentInjectorTNode" + }, + { + "name": "getParentInjectorView" + }, + { + "name": "getParentInjectorViewOffset" + }, + { + "name": "getParentNative" + }, { "name": "getParentRenderElement" }, + { + "name": "getParentState" + }, + { + "name": "getPipeDef" + }, { "name": "getPlatform" }, + { + "name": "getPreviousOrParentTNode" + }, { "name": "getPromiseCtor" }, { "name": "getQueryValue" }, + { + "name": "getRenderFlags" + }, { "name": "getRenderNodeIndex" }, + { + "name": "getRenderParent" + }, + { + "name": "getRenderer" + }, + { + "name": "getRendererFactory" + }, { "name": "getStylesVarName" }, @@ -3035,18 +3518,39 @@ { "name": "getSymbolIterator$1" }, + { + "name": "getTNode" + }, + { + "name": "getTView" + }, + { + "name": "getTViewCleanup" + }, { "name": "getTypeForTag" }, { "name": "getUrlScheme" }, + { + "name": "getViewData" + }, { "name": "getXmlTagDefinition" }, + { + "name": "hasDeps" + }, { "name": "hasLifecycleHook" }, + { + "name": "hasOnDestroy" + }, + { + "name": "hasParentInjector" + }, { "name": "hasPreserveWhitespacesAttr" }, @@ -3080,6 +3584,9 @@ { "name": "importType" }, + { + "name": "includeViewProviders" + }, { "name": "indexDebugNode" }, @@ -3089,6 +3596,9 @@ { "name": "initNgModule" }, + { + "name": "initNodeFlags" + }, { "name": "initServicesIfNeeded" }, @@ -3104,15 +3614,45 @@ { "name": "injectArgs" }, + { + "name": "injectChangeDetectorRef" + }, + { + "name": "injectElementRef" + }, + { + "name": "injectInjector" + }, { "name": "injectInjectorOnly" }, + { + "name": "injectRenderer2" + }, { "name": "injectRootLimpMode" }, + { + "name": "injectTemplateRef" + }, + { + "name": "injectViewContainerRef" + }, + { + "name": "injectableDefFactory" + }, { "name": "inlineInterpolate" }, + { + "name": "insertBloom" + }, + { + "name": "insertView" + }, + { + "name": "instantiateRootComponent" + }, { "name": "interpolate$1" }, @@ -3122,6 +3662,9 @@ { "name": "invalid" }, + { + "name": "invertObject" + }, { "name": "isAnimationLabel" }, @@ -3137,6 +3680,12 @@ { "name": "isAsciiLetter" }, + { + "name": "isComponent" + }, + { + "name": "isComponentDef" + }, { "name": "isComponentView" }, @@ -3161,6 +3710,9 @@ { "name": "isEmptyExpression" }, + { + "name": "isExistingProvider" + }, { "name": "isExpansionCaseStart" }, @@ -3173,6 +3725,12 @@ { "name": "isExponentStart" }, + { + "name": "isFactory" + }, + { + "name": "isFactoryProvider" + }, { "name": "isFunction" }, @@ -3194,6 +3752,9 @@ { "name": "isJsObject" }, + { + "name": "isLContainer" + }, { "name": "isListLikeIterable" }, @@ -3227,6 +3788,9 @@ { "name": "isPrefixEnd" }, + { + "name": "isProceduralRenderer" + }, { "name": "isPromise" }, @@ -3251,9 +3815,15 @@ { "name": "isType" }, + { + "name": "isTypeProvider" + }, { "name": "isValidType" }, + { + "name": "isValueProvider" + }, { "name": "isVariable" }, @@ -3278,6 +3848,9 @@ { "name": "leave" }, + { + "name": "leaveView" + }, { "name": "lifecycleHookToNodeFlag" }, @@ -3294,10 +3867,10 @@ "name": "literalMap" }, { - "name": "looseIdentical" + "name": "locateHostElement" }, { - "name": "makeDecorator" + "name": "looseIdentical" }, { "name": "makeMetadataCtor" @@ -3308,6 +3881,9 @@ { "name": "makeParamDecorator" }, + { + "name": "makeRecord" + }, { "name": "map" }, @@ -3323,6 +3899,9 @@ { "name": "markProjectedViewsForCheck" }, + { + "name": "markViewDirty" + }, { "name": "merge" }, @@ -3371,6 +3950,12 @@ { "name": "multicast" }, + { + "name": "namespaceHTML" + }, + { + "name": "nativeInsertBefore" + }, { "name": "needsAdditionalRootNode" }, @@ -3398,6 +3983,9 @@ { "name": "nextDirectiveWithBinding" }, + { + "name": "nextNgElementId" + }, { "name": "nextRenderNodeWithBinding" }, @@ -3413,15 +4001,15 @@ { "name": "noComponentFactoryError" }, + { + "name": "noSideEffects" + }, { "name": "noUndefined" }, { "name": "nodeValue" }, - { - "name": "noop$1" - }, { "name": "noop$2" }, @@ -3488,6 +4076,12 @@ { "name": "platformCoreDynamic" }, + { + "name": "postProcessBaseDirective" + }, + { + "name": "prefillHostVars" + }, { "name": "preparseElement" }, @@ -3506,6 +4100,9 @@ { "name": "prodCheckNoChangesNode" }, + { + "name": "projectionNodeStack" + }, { "name": "promise" }, @@ -3521,6 +4118,12 @@ { "name": "providerOverridesWithScope" }, + { + "name": "providerToFactory" + }, + { + "name": "providerToRecord" + }, { "name": "pureArrayDef" }, @@ -3533,12 +4136,51 @@ { "name": "queryDef" }, + { + "name": "queueContentHooks" + }, + { + "name": "queueDestroyHooks" + }, + { + "name": "queueHostBindingForCheck" + }, + { + "name": "queueInitHooks" + }, + { + "name": "queueLifecycleHooks" + }, + { + "name": "queueViewHooks" + }, + { + "name": "readElementValue" + }, + { + "name": "readPatchedData" + }, + { + "name": "readPatchedLViewData" + }, { "name": "recursivelyProcessProviders" }, { "name": "refCount" }, + { + "name": "refreshChildComponents" + }, + { + "name": "refreshContentQueries" + }, + { + "name": "refreshDescendantViews" + }, + { + "name": "refreshDynamicEmbeddedViews" + }, { "name": "registerContext" }, @@ -3557,21 +4199,30 @@ { "name": "removeFromArray" }, + { + "name": "removeListeners" + }, { "name": "removeSummaryDuplicates" }, + { + "name": "removeView" + }, { "name": "removeWhitespaces" }, - { - "name": "render2CompileInjectable" - }, { "name": "renderAttachEmbeddedView" }, + { + "name": "renderComponentOrTemplate" + }, { "name": "renderDetachView" }, + { + "name": "renderEmbeddedTemplate" + }, { "name": "renderEventHandlerClosure" }, @@ -3584,6 +4235,9 @@ { "name": "replaceNgsp" }, + { + "name": "resetComponentState" + }, { "name": "resolveDefinition" }, @@ -3626,6 +4280,12 @@ { "name": "scheduleMicroTask" }, + { + "name": "scheduleTick" + }, + { + "name": "searchTokensOnInjector" + }, { "name": "serialize" }, @@ -3638,6 +4298,12 @@ { "name": "serializerVisitor" }, + { + "name": "setBindingRoot" + }, + { + "name": "setCheckNoChangesMode" + }, { "name": "setCurrentInjector" }, @@ -3653,12 +4319,39 @@ { "name": "setElementStyle" }, + { + "name": "setFirstTemplatePass" + }, + { + "name": "setHostBindings" + }, + { + "name": "setIncludeViewProviders" + }, + { + "name": "setInjectImplementation" + }, + { + "name": "setIsParent" + }, + { + "name": "setPreviousOrParentTNode" + }, + { + "name": "setRendererFactory" + }, { "name": "setRootDomAdapter" }, + { + "name": "setTNodeAndViewData" + }, { "name": "setTestabilityGetter" }, + { + "name": "setUpAttributes" + }, { "name": "sha1" }, @@ -3677,6 +4370,9 @@ { "name": "shouldCallLifecycleInitHook" }, + { + "name": "shouldSearchParent" + }, { "name": "singleProviderDef" }, @@ -3713,6 +4409,9 @@ { "name": "staticViewQueryIds" }, + { + "name": "storeCleanupFn" + }, { "name": "stringToWords32" }, @@ -3722,6 +4421,9 @@ { "name": "stringify$1" }, + { + "name": "stringify$2" + }, { "name": "stringifyType" }, @@ -3752,6 +4454,9 @@ { "name": "supportsState" }, + { + "name": "syncViewWithBlueprint" + }, { "name": "syntaxError" }, @@ -3776,9 +4481,15 @@ { "name": "temporaryName" }, + { + "name": "text" + }, { "name": "textDef" }, + { + "name": "tickRootContext" + }, { "name": "toBase64Digit" }, @@ -3791,6 +4502,9 @@ { "name": "toPublicName" }, + { + "name": "toRefArray" + }, { "name": "toSubscriber" }, @@ -3833,6 +4547,9 @@ { "name": "updateProp" }, + { + "name": "updateViewQuery" + }, { "name": "utf8Encode" }, @@ -3842,6 +4559,9 @@ { "name": "variable" }, + { + "name": "viewAttached" + }, { "name": "viewClassName" }, @@ -3881,6 +4601,9 @@ { "name": "visitValue" }, + { + "name": "walkTNodeTree" + }, { "name": "word32ToByteString" }, @@ -3898,5 +4621,8 @@ }, { "name": "wtfLeave" + }, + { + "name": "ɵResourceLoaderImpl_BaseFactory" } ] \ No newline at end of file diff --git a/packages/core/test/bundling/injection/BUILD.bazel b/packages/core/test/bundling/injection/BUILD.bazel index fb14b74e35..2efe0be33a 100644 --- a/packages/core/test/bundling/injection/BUILD.bazel +++ b/packages/core/test/bundling/injection/BUILD.bazel @@ -9,6 +9,10 @@ ts_library( "index.ts", "usage.ts", ], + tags = [ + "ivy-only", + "no-ivy-jit", + ], deps = [ "//packages/core", ], @@ -23,6 +27,10 @@ ng_rollup_bundle( # has an "external" directory for external dependencies. # This should probably start with "angular/" and let the rule deal with it. entry_point = "packages/core/test/bundling/injection/index.js", + tags = [ + "ivy-only", + "no-ivy-jit", + ], deps = [ ":injection", "//packages/core", @@ -33,6 +41,10 @@ ts_library( name = "test_lib", testonly = True, srcs = glob(["*_spec.ts"]), + tags = [ + "ivy-only", + "no-ivy-jit", + ], deps = [ ":injection", "//packages:types", @@ -43,6 +55,10 @@ ts_library( jasmine_node_test( name = "test", + tags = [ + "ivy-only", + "no-ivy-jit", + ], deps = [":test_lib"], ) @@ -50,4 +66,8 @@ js_expected_symbol_test( name = "symbol_test", src = ":bundle.min_debug.js", golden = ":bundle.golden_symbols.json", + tags = [ + "ivy-only", + "no-ivy-jit", + ], ) diff --git a/packages/core/test/bundling/todo/BUILD.bazel b/packages/core/test/bundling/todo/BUILD.bazel index d7914a4bf4..814cf7653c 100644 --- a/packages/core/test/bundling/todo/BUILD.bazel +++ b/packages/core/test/bundling/todo/BUILD.bazel @@ -8,7 +8,10 @@ load("@build_bazel_rules_typescript//:defs.bzl", "ts_devserver") ng_module( name = "todo", srcs = ["index.ts"], - tags = ["ivy-only"], + tags = [ + "ivy-only", + "no-ivy-jit", + ], deps = [ "//packages/common", "//packages/core", @@ -25,13 +28,15 @@ ng_rollup_bundle( # has an "external" directory for external dependencies. # This should probably start with "angular/" and let the rule deal with it. entry_point = "packages/core/test/bundling/todo/index.js", - tags = ["ivy-only"], + tags = [ + "ivy-only", + "no-ivy-jit", + ], deps = [ ":todo", "//packages/common", "//packages/core", "//packages/core/test/bundling/util:reflect_metadata", - "@ngdeps//reflect-metadata", ], ) @@ -39,6 +44,10 @@ ts_library( name = "test_lib", testonly = True, srcs = glob(["*_spec.ts"]), + tags = [ + "ivy-only", + "no-ivy-jit", + ], deps = [ "//packages:types", "//packages/core", @@ -57,6 +66,7 @@ jasmine_node_test( ], tags = [ "ivy-only", + "no-ivy-jit", ], deps = [":test_lib"], ) @@ -68,6 +78,7 @@ js_expected_symbol_test( tags = [ "ivy-aot", "ivy-only", + "no-ivy-jit", ], ) @@ -80,6 +91,10 @@ genrule( "tslib.js", ], cmd = "cp $< $@", + tags = [ + "ivy-only", + "no-ivy-jit", + ], ) ts_devserver( @@ -92,6 +107,10 @@ ts_devserver( "todo.css", "base.css", ], + tags = [ + "ivy-only", + "no-ivy-jit", + ], deps = [":todo"], ) @@ -104,4 +123,8 @@ http_server( ":bundle.min.js.br", ":bundle.min_debug.js", ], + tags = [ + "ivy-only", + "no-ivy-jit", + ], ) diff --git a/packages/core/test/bundling/todo_r2/BUILD.bazel b/packages/core/test/bundling/todo_r2/BUILD.bazel index 53f02464a5..21777fb09d 100644 --- a/packages/core/test/bundling/todo_r2/BUILD.bazel +++ b/packages/core/test/bundling/todo_r2/BUILD.bazel @@ -8,7 +8,10 @@ load("@build_bazel_rules_typescript//:defs.bzl", "ts_devserver") ng_module( name = "todo", srcs = ["index.ts"], - tags = ["ivy-only"], + tags = [ + "ivy-only", + "no-ivy-jit", + ], deps = [ "//packages/common", "//packages/core", @@ -27,7 +30,10 @@ ng_rollup_bundle( # has an "external" directory for external dependencies. # This should probably start with "angular/" and let the rule deal with it. entry_point = "packages/core/test/bundling/todo_r2/index.js", - tags = ["ivy-only"], + tags = [ + "ivy-only", + "no-ivy-jit", + ], deps = [ ":todo", "//packages/common", @@ -35,7 +41,6 @@ ng_rollup_bundle( "//packages/core/test/bundling/util:reflect_metadata", "//packages/platform-browser", "//packages/platform-browser-dynamic", - "@ngdeps//reflect-metadata", ], ) @@ -43,6 +48,10 @@ ts_library( name = "test_lib", testonly = True, srcs = glob(["*_spec.ts"]), + tags = [ + "ivy-only", + "no-ivy-jit", + ], deps = [ "//packages:types", "//packages/core", @@ -63,6 +72,7 @@ jasmine_node_test( ], tags = [ "ivy-only", + "no-ivy-jit", ], deps = [":test_lib"], ) @@ -74,6 +84,7 @@ js_expected_symbol_test( tags = [ "ivy-aot", "ivy-only", + "no-ivy-jit", ], ) @@ -86,6 +97,10 @@ genrule( "tslib.js", ], cmd = "cp $< $@", + tags = [ + "ivy-only", + "no-ivy-jit", + ], ) ts_devserver( @@ -98,6 +113,10 @@ ts_devserver( "todo.css", "base.css", ], + tags = [ + "ivy-only", + "no-ivy-jit", + ], deps = [":todo"], ) @@ -110,4 +129,8 @@ http_server( ":bundle.min.js.br", ":bundle.min_debug.js", ], + tags = [ + "ivy-only", + "no-ivy-jit", + ], ) diff --git a/packages/core/test/bundling/util/BUILD.bazel b/packages/core/test/bundling/util/BUILD.bazel index c4ac319daa..185c23677b 100644 --- a/packages/core/test/bundling/util/BUILD.bazel +++ b/packages/core/test/bundling/util/BUILD.bazel @@ -12,6 +12,7 @@ ts_library( ":metadata_switch", ], module_name = "@angular/core/test/bundling/util/src/reflect_metadata", + deps = ["@ngdeps//reflect-metadata"], ) # See packages/core/BUILD.bazel. diff --git a/packages/core/test/render3/ivy/BUILD.bazel b/packages/core/test/render3/ivy/BUILD.bazel index 6250c60bc8..9f89287a01 100644 --- a/packages/core/test/render3/ivy/BUILD.bazel +++ b/packages/core/test/render3/ivy/BUILD.bazel @@ -18,7 +18,7 @@ jasmine_node_test( "angular/packages/core/test/render3/load_domino", ], tags = [ - "ivy-jit", + "ivy-only", ], deps = [ ":ivy_lib", diff --git a/packages/language-service/BUILD.bazel b/packages/language-service/BUILD.bazel index 8fa3688349..896280940c 100644 --- a/packages/language-service/BUILD.bazel +++ b/packages/language-service/BUILD.bazel @@ -25,7 +25,6 @@ npm_package( name = "npm_package", srcs = ["package.json"], tags = [ - "ivy-jit", "release-with-framework", ], deps = [ diff --git a/packages/platform-browser-dynamic/BUILD.bazel b/packages/platform-browser-dynamic/BUILD.bazel index 7eea343f5c..c69f9323ee 100644 --- a/packages/platform-browser-dynamic/BUILD.bazel +++ b/packages/platform-browser-dynamic/BUILD.bazel @@ -28,7 +28,6 @@ ng_package( ], entry_point = "packages/platform-browser-dynamic/index.js", tags = [ - "ivy-jit", "release-with-framework", ], deps = [ diff --git a/packages/platform-server/BUILD.bazel b/packages/platform-server/BUILD.bazel index 2c6f7c52fa..fcf65f54a6 100644 --- a/packages/platform-server/BUILD.bazel +++ b/packages/platform-server/BUILD.bazel @@ -35,7 +35,6 @@ ng_package( ], entry_point = "packages/platform-server/index.js", tags = [ - "ivy-jit", "release-with-framework", ], deps = [ diff --git a/packages/platform-webworker-dynamic/BUILD.bazel b/packages/platform-webworker-dynamic/BUILD.bazel index 4e3d7260cd..8c6ccdff56 100644 --- a/packages/platform-webworker-dynamic/BUILD.bazel +++ b/packages/platform-webworker-dynamic/BUILD.bazel @@ -25,7 +25,6 @@ ng_package( srcs = ["package.json"], entry_point = "packages/platform-webworker-dynamic/index.js", tags = [ - "ivy-jit", "release-with-framework", ], deps = [":platform-webworker-dynamic"], diff --git a/packages/service-worker/BUILD.bazel b/packages/service-worker/BUILD.bazel index da9adc885f..338a09267c 100644 --- a/packages/service-worker/BUILD.bazel +++ b/packages/service-worker/BUILD.bazel @@ -49,7 +49,6 @@ ng_package( ], entry_point = "packages/service-worker/index.js", tags = [ - "ivy-jit", "release-with-framework", ], deps = [ diff --git a/tools/defaults.bzl b/tools/defaults.bzl index c3c4c09c02..8e28485a68 100644 --- a/tools/defaults.bzl +++ b/tools/defaults.bzl @@ -210,6 +210,7 @@ def ng_rollup_bundle(deps = [], **kwargs): """Default values for ng_rollup_bundle""" deps = deps + [ "@ngdeps//tslib", + "@ngdeps//reflect-metadata", ] _ng_rollup_bundle( deps = deps, diff --git a/tools/public_api_guard/BUILD.bazel b/tools/public_api_guard/BUILD.bazel index fbcae7fd1e..275b3e8d04 100644 --- a/tools/public_api_guard/BUILD.bazel +++ b/tools/public_api_guard/BUILD.bazel @@ -18,6 +18,11 @@ load("//tools/ts-api-guardian:index.bzl", "ts_api_guardian_test") bundle[0], bundle[1], ), + # https://github.com/angular/angular/pull/26602 might be enough to fix the fixme-ivy-jit and fixme-ivy-aot issues + tags = [ + "fixme-ivy-aot", + "fixme-ivy-jit", + ], ) for bundle in [b[:-len(".d.ts")].split("/", 1) for b in glob( ["**/*.d.ts"], # The API surface of the compiler is currently unstable - all of the important APIs are exposed