remoting/tools/build/remoting_copy_locales.py
def calc_inputs(locale):
  """Determine the files that need processing for the given locale."""
  inputs = []

  #e.g. '<(grit_out_dir)/remoting/resources/da.pak'
  inputs.append(os.path.join(GRIT_DIR, 'remoting/resources/%s.pak' % locale))

  # Add any extra input files.
  for extra_file in EXTRA_INPUT_FILES:
    inputs.append('%s_%s.pak' % (extra_file, locale))

  return inputs
Determine the files that need processing for the given locale.
Determine the files that need processing for the given locale.
Determine the files that need processing for the given locale .
def calc_inputs(locale):
  inputs = []
  inputs.append(os.path.join(GRIT_DIR, 'remoting/resources/%s.pak' % locale))
  for extra_file in EXTRA_INPUT_FILES:
    inputs.append('%s_%s.pak' % (extra_file, locale))
  return inputs
def calc_inputs ( locale ) : inputs = [ ] inputs . append ( os . path . join ( GRIT_DIR , 'remoting/resources/%s.pak' % locale ) ) for extra_file in EXTRA_INPUT_FILES : inputs . append ( '%s_%s.pak' % ( extra_file , locale ) ) return inputs
Determine the files that need processing for the given locale.
Determine the files that need processing for the given locale .
"""Determine the files that need processing for the given locale.""" #e.g. '<(grit_out_dir)/remoting/resources/da.pak' # Add any extra input files.
locale