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 '<(SHARED_INTERMEDIATE_DIR)/content/content_resources.pak', | 10 '<(SHARED_INTERMEDIATE_DIR)/content/content_resources.pak', |
11 '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.pak', | 11 '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.pak', |
12 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_chromium_resources.pak', | 12 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_chromium_resources.pak', |
13 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_resources_100_percent.pak', | |
14 ], | 13 ], |
15 'conditions': [ | 14 'conditions': [ |
16 ['enable_extensions==1', { | 15 ['enable_extensions==1', { |
17 'pak_inputs': [ | 16 'pak_inputs': [ |
18 '<(grit_out_dir)/extensions_api_resources.pak', | 17 '<(grit_out_dir)/extensions_api_resources.pak', |
19 ], | 18 ], |
20 }], | 19 }], |
21 ['use_ash==1', { | 20 ['use_ash==1', { |
22 'pak_inputs': [ | 21 'pak_inputs': [ |
23 '<(SHARED_INTERMEDIATE_DIR)/ash/ash_resources/ash_wallpaper_resources.
pak', | 22 '<(SHARED_INTERMEDIATE_DIR)/ash/ash_resources/ash_wallpaper_resources.
pak', |
24 ], | 23 ], |
25 }], | 24 }], |
26 ], | 25 ], |
27 }, | 26 }, |
28 'inputs': [ | 27 'inputs': [ |
29 '<(repack_path)', | 28 '<(repack_path)', |
30 '<@(pak_inputs)', | 29 '<@(pak_inputs)', |
31 ], | 30 ], |
32 'outputs': [ | 31 'outputs': [ |
33 '<(SHARED_INTERMEDIATE_DIR)/repack/chrome.pak', | 32 '<(SHARED_INTERMEDIATE_DIR)/repack/chrome.pak', |
34 ], | 33 ], |
35 'action': ['python', '<(repack_path)', '<@(_outputs)', '<@(pak_inputs)'], | 34 'action': ['python', '<(repack_path)', '<@(_outputs)', '<@(pak_inputs)'], |
36 } | 35 } |
OLD | NEW |