2014-03-29 01:11:20 +04:00
|
|
|
# Copyright 2014 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.
|
|
|
|
|
|
|
|
# This file is meant to be included into an action to invoke grit repack in a
|
|
|
|
# consistent manner. To use this the following variables need to be
|
|
|
|
# defined:
|
|
|
|
# pak_inputs: list: paths of pak files that need to be combined.
|
2014-07-03 00:39:12 +04:00
|
|
|
# pak_output: string: the output pak file path.
|
2014-03-29 01:11:20 +04:00
|
|
|
|
|
|
|
{
|
2014-07-03 00:39:12 +04:00
|
|
|
# GYP version: //tools/grit/repack.gni
|
2014-03-29 01:11:20 +04:00
|
|
|
'variables': {
|
|
|
|
'repack_path': '<(DEPTH)/tools/grit/grit/format/repack.py',
|
2014-04-04 04:52:22 +04:00
|
|
|
'repack_options%': [],
|
2014-03-29 01:11:20 +04:00
|
|
|
},
|
|
|
|
'inputs': [
|
|
|
|
'<(repack_path)',
|
|
|
|
'<@(pak_inputs)',
|
|
|
|
],
|
|
|
|
'outputs': [
|
|
|
|
'<(pak_output)'
|
|
|
|
],
|
2014-04-04 04:52:22 +04:00
|
|
|
'action': [
|
|
|
|
'python',
|
|
|
|
'<(repack_path)',
|
|
|
|
'<@(repack_options)',
|
|
|
|
'<(pak_output)',
|
|
|
|
'<@(pak_inputs)',
|
|
|
|
],
|
2014-03-29 01:11:20 +04:00
|
|
|
}
|