fix(ivy): enable packages/core/test/render3 test for AoT (#26863)

PR Close #26863
This commit is contained in:
Miško Hevery
2018-10-30 17:03:01 -07:00
committed by Kara Erickson
parent 516af6c531
commit c13f46c7c5
23 changed files with 54 additions and 6138 deletions

View File

@ -15,3 +15,17 @@ ng_module(
"//packages/core",
],
)
## Controls if Ivy is enabled. (Temporary target until we permanently switch over to Ivy)
##
## This file generates `src/bazel_define_compile_value.ts` file which reexports
## `--define=compile` value as `bazelDefineCompileValue` symbols so that runtime can detect
## which mode it is running in.
##
## See: `//.bazelrc` where `--define=ivy=legacy` is defined as default.
## See: `./src/bazel_define_compile_value.ts` for more details.
genrule(
name = "bazel_define_compile_value",
outs = ["src/bazel_define_compile_value.ts"],
cmd = "echo export const bazelDefineCompileValue = \"'$(compile)'\"\; > $@",
)

View File

@ -7,3 +7,4 @@
*/
export * from './src/render3';
export * from './src/fixme';