[Lacros] Suppress ignored params in lacros_resource_sizes.py.

Android resource_sizes.py suppresses the following command line params
to confirm to isolate script interface:
  --isolated-script-test-filter
  --isolated-script-test-perf-output

The initial version of lacros_resource_sizes.py did not copy the
suppression code, resulting in failure when integrated with a trybot.
This CL fixes the issue.

Bug: 1106626
Change-Id: Iee4cc1e1e9fba7e070b4c03ef6501fc259e1390a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2389422
Reviewed-by: Erik Chen <erikchen@chromium.org>
Commit-Queue: Samuel Huang <huangs@chromium.org>
Cr-Commit-Position: refs/heads/master@{#803845}
GitOrigin-RevId: cc30baacbaa63c1a3a50cb248b394c169b876ae0
This commit is contained in:
Samuel Huang 2020-09-02 14:04:39 +00:00 коммит произвёл Copybara-Service
Родитель c12a68d90b
Коммит 5bc1cb373f
1 изменённых файлов: 7 добавлений и 0 удалений

Просмотреть файл

@ -172,6 +172,13 @@ def main():
default='.',
help='Directory to save chartjson to.')
# Accepted to conform to the isolated script interface, but ignored.
argparser.add_argument('--isolated-script-test-filter',
help=argparse.SUPPRESS)
argparser.add_argument('--isolated-script-test-perf-output',
type=os.path.realpath,
help=argparse.SUPPRESS)
output_group.add_argument(
'--isolated-script-test-output',
type=os.path.realpath,