tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

lacros_resource_sizes.gni (742B)


      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.
      4 
      5 import("//chromium/build/util/generate_wrapper.gni")
      6 
      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 = "//chromium/build/lacros/lacros_resource_sizes.py"
     13     wrapper_script = "$root_out_dir/bin/run_${target_name}"
     14 
     15     deps = [ "//chromium/build/lacros:lacros_resource_sizes_py" ]
     16     executable_args = [
     17       "--chromium-output-directory",
     18       "@WrappedPath(.)",
     19     ]
     20   }
     21 }