blob: c5c99260b8276a825a6617d6eeae6a3cb24cb911 [file] [log] [blame]
[email protected]a048ad22012-03-23 04:26:561# Copyright (c) 2012 The Chromium Authors. All rights reserved.
[email protected]ebee67702011-11-03 19:27:332# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4{
5 'action_name': 'repack_resources',
6 'variables': {
7 'pak_inputs': [
[email protected]13961a12012-12-07 04:54:528 '<(grit_out_dir)/net_internals_resources.pak',
[email protected]ebee67702011-11-03 19:27:339 '<(grit_out_dir)/shared_resources.pak',
[email protected]df4223a2012-11-20 00:43:0210 '<(grit_out_dir)/signin_internals_resources.pak',
[email protected]ebee67702011-11-03 19:27:3311 '<(grit_out_dir)/sync_internals_resources.pak',
[email protected]ebee67702011-11-03 19:27:3312 ],
13 'conditions': [
[email protected]ca79c6892012-11-02 22:56:2914 ['OS != "ios" and OS != "android"', {
15 # New paks should be added here by default.
[email protected]9835d342012-10-17 23:58:0416 'pak_inputs': [
17 '<(SHARED_INTERMEDIATE_DIR)/webkit/devtools_resources.pak',
18 '<(grit_out_dir)/component_extension_resources.pak',
[email protected]9835d342012-10-17 23:58:0419 '<(grit_out_dir)/options_resources.pak',
20 '<(grit_out_dir)/quota_internals_resources.pak',
21 ],
22 }],
[email protected]ca79c6892012-11-02 22:56:2923 ['OS != "ios"', {
[email protected]51ac1582012-10-29 22:16:3624 'pak_inputs': [
[email protected]ca79c6892012-11-02 22:56:2925 '<(grit_out_dir)/devtools_discovery_page_resources.pak',
[email protected]51ac1582012-10-29 22:16:3626 ],
27 }],
[email protected]ebee67702011-11-03 19:27:3328 ],
29 },
30 'inputs': [
31 '<(repack_path)',
32 '<@(pak_inputs)',
33 ],
34 'outputs': [
35 '<(SHARED_INTERMEDIATE_DIR)/repack/resources.pak',
36 ],
37 'action': ['python', '<(repack_path)', '<@(_outputs)', '<@(pak_inputs)'],
38}