fix(bazel): clean up outstanding failure message for usages of --define=compile (#39046)
Removes the failure message put in place to catch usages of the old --define=compile method of setting which compiler was to be used. PR Close #39046
This commit is contained in:
parent
e8084ff906
commit
1e3f810f8f
|
@ -47,14 +47,6 @@ def is_ivy_enabled(ctx):
|
||||||
ctx.attr._renderer[BuildSettingInfo].value == "ivy")):
|
ctx.attr._renderer[BuildSettingInfo].value == "ivy")):
|
||||||
return True
|
return True
|
||||||
|
|
||||||
# TODO(josephperott): Remove after ~Feb 2020, to allow local script migrations
|
|
||||||
if "compile" in ctx.var and ctx.workspace_name == "angular":
|
|
||||||
fail(
|
|
||||||
msg = "Setting ViewEngine/Ivy using --define=compile is deprecated, please use " +
|
|
||||||
"--config=ivy or --config=view-engine instead.",
|
|
||||||
attr = "ng_module",
|
|
||||||
)
|
|
||||||
|
|
||||||
# This attribute is only defined in google's private ng_module rule and not
|
# This attribute is only defined in google's private ng_module rule and not
|
||||||
# available externally. For external users, this is effectively a no-op.
|
# available externally. For external users, this is effectively a no-op.
|
||||||
if hasattr(ctx.attr, "ivy") and ctx.attr.ivy == True:
|
if hasattr(ctx.attr, "ivy") and ctx.attr.ivy == True:
|
||||||
|
|
Loading…
Reference in New Issue