1d6cdb82654e8f3343a693ca752d5c4cee0324e17Torne (Richard Coles)# Copyright 2014 The Chromium Authors. All rights reserved. 2d6cdb82654e8f3343a693ca752d5c4cee0324e17Torne (Richard Coles)# Use of this source code is governed by a BSD-style license that can be 3d6cdb82654e8f3343a693ca752d5c4cee0324e17Torne (Richard Coles)# found in the LICENSE file. 4d6cdb82654e8f3343a693ca752d5c4cee0324e17Torne (Richard Coles) 5d6cdb82654e8f3343a693ca752d5c4cee0324e17Torne (Richard Coles)# Invokes gperf for the GN build. The first argument is the path to gperf. 6d6cdb82654e8f3343a693ca752d5c4cee0324e17Torne (Richard Coles)# TODO(brettw) this can be removed once the run_executable rules have been 7d6cdb82654e8f3343a693ca752d5c4cee0324e17Torne (Richard Coles)# checked in for the GN build. 8d6cdb82654e8f3343a693ca752d5c4cee0324e17Torne (Richard Coles) 9d6cdb82654e8f3343a693ca752d5c4cee0324e17Torne (Richard Coles)import subprocess 10d6cdb82654e8f3343a693ca752d5c4cee0324e17Torne (Richard Coles)import sys 11d6cdb82654e8f3343a693ca752d5c4cee0324e17Torne (Richard Coles) 12d6cdb82654e8f3343a693ca752d5c4cee0324e17Torne (Richard Coles)subprocess.check_call(sys.argv[1:]) 13