[email protected] | a048ad2 | 2012-03-23 04:26:56 | [diff] [blame] | 1 | # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
[email protected] | ebee6770 | 2011-11-03 19:27:33 | [diff] [blame] | 2 | # 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] | 13961a1 | 2012-12-07 04:54:52 | [diff] [blame] | 8 | '<(grit_out_dir)/net_internals_resources.pak', |
[email protected] | ebee6770 | 2011-11-03 19:27:33 | [diff] [blame] | 9 | '<(grit_out_dir)/shared_resources.pak', |
[email protected] | df4223a | 2012-11-20 00:43:02 | [diff] [blame] | 10 | '<(grit_out_dir)/signin_internals_resources.pak', |
[email protected] | ebee6770 | 2011-11-03 19:27:33 | [diff] [blame] | 11 | '<(grit_out_dir)/sync_internals_resources.pak', |
[email protected] | ebee6770 | 2011-11-03 19:27:33 | [diff] [blame] | 12 | ], |
| 13 | 'conditions': [ |
[email protected] | ca79c689 | 2012-11-02 22:56:29 | [diff] [blame] | 14 | ['OS != "ios" and OS != "android"', { |
| 15 | # New paks should be added here by default. |
[email protected] | 9835d34 | 2012-10-17 23:58:04 | [diff] [blame] | 16 | 'pak_inputs': [ |
| 17 | '<(SHARED_INTERMEDIATE_DIR)/webkit/devtools_resources.pak', |
| 18 | '<(grit_out_dir)/component_extension_resources.pak', |
[email protected] | 9835d34 | 2012-10-17 23:58:04 | [diff] [blame] | 19 | '<(grit_out_dir)/options_resources.pak', |
| 20 | '<(grit_out_dir)/quota_internals_resources.pak', |
| 21 | ], |
| 22 | }], |
[email protected] | ca79c689 | 2012-11-02 22:56:29 | [diff] [blame] | 23 | ['OS != "ios"', { |
[email protected] | 51ac158 | 2012-10-29 22:16:36 | [diff] [blame] | 24 | 'pak_inputs': [ |
[email protected] | ca79c689 | 2012-11-02 22:56:29 | [diff] [blame] | 25 | '<(grit_out_dir)/devtools_discovery_page_resources.pak', |
[email protected] | 51ac158 | 2012-10-29 22:16:36 | [diff] [blame] | 26 | ], |
| 27 | }], |
[email protected] | ebee6770 | 2011-11-03 19:27:33 | [diff] [blame] | 28 | ], |
| 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 | } |