OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 { | 4 { |
5 'action_name': 'repack_resources', | 5 'action_name': 'repack_resources', |
6 'variables': { | 6 'variables': { |
7 'pak_inputs': [ | 7 'pak_inputs': [ |
8 '<(SHARED_INTERMEDIATE_DIR)/webkit/devtools_resources.pak', | |
9 '<(grit_out_dir)/component_extension_resources.pak', | |
10 '<(grit_out_dir)/devtools_discovery_page_resources.pak', | |
11 '<(grit_out_dir)/net_internals_resources.pak', | |
12 '<(grit_out_dir)/options_resources.pak', | |
13 '<(grit_out_dir)/quota_internals_resources.pak', | |
14 '<(grit_out_dir)/shared_resources.pak', | 8 '<(grit_out_dir)/shared_resources.pak', |
15 '<(grit_out_dir)/sync_internals_resources.pak', | 9 '<(grit_out_dir)/sync_internals_resources.pak', |
16 ], | 10 ], |
17 'conditions': [ | 11 'conditions': [ |
18 ['OS != "mac"', { | 12 ['OS != "ios"', { |
| 13 'pak_inputs': [ |
| 14 '<(SHARED_INTERMEDIATE_DIR)/webkit/devtools_resources.pak', |
| 15 '<(grit_out_dir)/component_extension_resources.pak', |
| 16 '<(grit_out_dir)/devtools_discovery_page_resources.pak', |
| 17 '<(grit_out_dir)/net_internals_resources.pak', |
| 18 '<(grit_out_dir)/options_resources.pak', |
| 19 '<(grit_out_dir)/quota_internals_resources.pak', |
| 20 ], |
| 21 }], |
| 22 ['OS != "mac" and OS != "ios"', { |
19 'pak_inputs': [ | 23 'pak_inputs': [ |
20 '<(grit_out_dir)/quota_internals_resources.pak', | 24 '<(grit_out_dir)/quota_internals_resources.pak', |
21 ], | 25 ], |
22 }], | 26 }], |
23 ], | 27 ], |
24 }, | 28 }, |
25 'inputs': [ | 29 'inputs': [ |
26 '<(repack_path)', | 30 '<(repack_path)', |
27 '<@(pak_inputs)', | 31 '<@(pak_inputs)', |
28 ], | 32 ], |
29 'outputs': [ | 33 'outputs': [ |
30 '<(SHARED_INTERMEDIATE_DIR)/repack/resources.pak', | 34 '<(SHARED_INTERMEDIATE_DIR)/repack/resources.pak', |
31 ], | 35 ], |
32 'action': ['python', '<(repack_path)', '<@(_outputs)', '<@(pak_inputs)'], | 36 'action': ['python', '<(repack_path)', '<@(_outputs)', '<@(pak_inputs)'], |
33 } | 37 } |
OLD | NEW |