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