Skip to content

Commit 963f809

Browse files
cccclaifacebook-github-bot
authored andcommitted
add command_alias in runtime_wrapper
Differential Revision: D63570326
1 parent d6796e8 commit 963f809

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

shim/xplat/executorch/build/runtime_wrapper.bzl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,10 @@ def _filegroup(*args, **kwargs):
301301
_patch_kwargs_common(kwargs)
302302
env.filegroup(*args, **kwargs)
303303

304+
def _command_alias(*args, **kwargs):
305+
_patch_kwargs_common(kwargs)
306+
env.command_alias(*args, **kwargs)
307+
304308
def _genrule(*args, **kwargs):
305309
_patch_kwargs_common(kwargs)
306310
env.patch_platforms(kwargs)
@@ -353,6 +357,7 @@ runtime = struct(
353357
external_dep_location = _external_dep_location,
354358
filegroup = _filegroup,
355359
genrule = _genrule,
360+
command_alias = _command_alias,
356361
is_oss = env.is_oss,
357362
python_binary = _python_binary,
358363
python_library = _python_library,

0 commit comments

Comments
 (0)