# Copyright (c) 2010 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. { 'conditions': [ ['OS=="win" or OS=="mac" or OS=="linux"', { 'targets': [ { # policy_templates has different inputs and outputs, so it can't use # the rules of chrome_strings 'target_name': 'policy_templates', 'type': 'none', 'variables': { 'grd_path': 'policy_templates.grd', 'template_files': [ '!@(<(apply_locales_cmd) -d \'<(input_path)/ZZLOCALE.lproj/Localizable.strings\' <(available_locales))', ], 'outputs': [ # TODO: remove this helper when we have loops in GYP '>!@(<(apply_locales_cmd) -d \'<(output_path)/ZZLOCALE.lproj/Localizable.strings\' <(available_locales))', ], 'action': [ 'cp', '-R', '<(input_path)/', '<(output_path)', ], 'message': 'Copy the Localizable.strings files to the manifest bundle', 'process_outputs_as_mac_bundle_resources': 1, }, ], }, ] }] ], # 'conditions' } # Local Variables: # tab-width:2 # indent-tabs-mode:nil # End: # vim: set expandtab tabstop=2 shiftwidth=2: