mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
fix(bazel): add this_is_bazel marker (#45728)
Add marker for noting that this check confirms we are running in a bazel environment. PR Close #45728
This commit is contained in:
committed by
Andrew Scott
parent
4962a4a332
commit
970a3b5c70
@@ -51,7 +51,7 @@ def _basename_of(ctx, file):
|
||||
# Return true if run with bazel (the open-sourced version of blaze), false if
|
||||
# run with blaze.
|
||||
def _is_bazel():
|
||||
return not hasattr(native, "genmpm")
|
||||
return not hasattr(native, "genmpm") # this_is_bazel
|
||||
|
||||
def _flat_module_out_file(ctx):
|
||||
"""Provide a default for the flat_module_out_file attribute.
|
||||
|
||||
Reference in New Issue
Block a user