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_chrome', | 5 'action_name': 'repack_chrome', |
6 'variables': { | 6 'variables': { |
7 'pak_inputs': [ | 7 'pak_inputs': [ |
8 '<(grit_out_dir)/browser_resources.pak', | 8 '<(grit_out_dir)/browser_resources.pak', |
9 '<(grit_out_dir)/common_resources.pak', | 9 '<(grit_out_dir)/common_resources.pak', |
10 '<(grit_out_dir)/renderer_resources.pak', | 10 '<(grit_out_dir)/renderer_resources.pak', |
11 '<(grit_out_dir)/theme_resources.pak', | 11 '<(grit_out_dir)/theme_resources.pak', |
12 '<(grit_out_dir)/theme_resources_standard.pak', | 12 '<(grit_out_dir)/theme_resources_standard.pak', |
13 '<(SHARED_INTERMEDIATE_DIR)/content/content_resources.pak', | 13 '<(SHARED_INTERMEDIATE_DIR)/content/content_resources.pak', |
14 '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.pak', | 14 '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.pak', |
15 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_resources.pak', | 15 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_resources.pak', |
16 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources_standard/ui_resources_standard
.pak', | 16 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources_standard/ui_resources_standard
.pak', |
17 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_chromium_resources.pak', | 17 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_chromium_resources.pak', |
18 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_resources.pak', | 18 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_resources.pak', |
19 ], | 19 ], |
20 'conditions': [ | 20 'conditions': [ |
21 ['OS != "mac" or use_aura==1', { | 21 ['OS != "mac" or use_aura==1', { |
22 'pak_inputs': [ | 22 'pak_inputs': [ |
23 '<(SHARED_INTERMEDIATE_DIR)/ui/gfx/gfx_resources.pak', | 23 '<(SHARED_INTERMEDIATE_DIR)/ui/gfx/gfx_resources.pak', |
24 ] | 24 ] |
25 }], | 25 }], |
| 26 ['enable_extensions==1', { |
| 27 'pak_inputs': [ |
| 28 '<(grit_out_dir)/extensions_api_resources.pak', |
| 29 ], |
| 30 }], |
26 ], | 31 ], |
27 }, | 32 }, |
28 'inputs': [ | 33 'inputs': [ |
29 '<(repack_path)', | 34 '<(repack_path)', |
30 '<@(pak_inputs)', | 35 '<@(pak_inputs)', |
31 ], | 36 ], |
32 'outputs': [ | 37 'outputs': [ |
33 '<(SHARED_INTERMEDIATE_DIR)/repack/chrome.pak', | 38 '<(SHARED_INTERMEDIATE_DIR)/repack/chrome.pak', |
34 ], | 39 ], |
35 'action': ['python', '<(repack_path)', '<@(_outputs)', '<@(pak_inputs)'], | 40 'action': ['python', '<(repack_path)', '<@(_outputs)', '<@(pak_inputs)'], |
36 } | 41 } |
OLD | NEW |