diff options
author | Zhaoqing Xu <zhaoqxu@google.com> | 2023-08-25 14:51:37 -0700 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2023-08-25 14:52:03 -0700 |
commit | 50b420404d3e84a7876bdd754f30ea8f7592b3ec (patch) | |
tree | 9cd8370ef580edf6c4f086ea25b365750f41e63e /test | |
parent | 1d9134fdee21826b84497a0157a56f6bc2c16854 (diff) | |
download | bazelbuild-rules_android-50b420404d3e84a7876bdd754f30ea8f7592b3ec.tar.gz |
Migrate Parallel Dex Merging from Native to Starlark
PiperOrigin-RevId: 560201811
Change-Id: I9685ad9e6619d8b28c8add73321bcab95491bc25
Diffstat (limited to 'test')
-rw-r--r-- | test/utils/asserts.bzl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/utils/asserts.bzl b/test/utils/asserts.bzl index 7a81b61..ae75b78 100644 --- a/test/utils/asserts.bzl +++ b/test/utils/asserts.bzl @@ -572,6 +572,10 @@ def _check_actions(inspect, actions): mnemonic_matching_actions = [] mnemonic_match = False for _, value in actions.by_file.items(): + # TODO(b/130571505): Remove this after SpawnActionTemplate is supported in Starlark + if not (hasattr(value, "mnemonic") and hasattr(value, "argv")): + continue + if mnemonic != value.mnemonic: continue mnemonic_match = True |