1 # Copyright 2020 The Chromium Authors
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
5 import("//build/util/generate_wrapper.gni")
7 # Generates a script in the bin directory that runs
8 # //build/lacros/lacros_resource_sizes.py for the provided configuration.
9 template("lacros_resource_sizes_test") {
10 generate_wrapper(target_name) {
11 forward_variables_from(invoker, [ "data_deps" ])
12 executable = "//build/lacros/lacros_resource_sizes.py"
13 wrapper_script = "$root_out_dir/bin/run_${target_name}"
15 deps = [ "//build/lacros:lacros_resource_sizes_py" ]
17 "--chromium-output-directory",