| 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_resources_100_percent', | 5 'action_name': 'repack_chrome_resources_100_percent', |
| 6 'variables': { | 6 'variables': { |
| 7 'pak_inputs': [ | 7 'pak_inputs': [ |
| 8 '<(SHARED_INTERMEDIATE_DIR)/components/component_resources_100_percent.pak
', | 8 '<(SHARED_INTERMEDIATE_DIR)/components/component_resources_100_percent.pak
', |
| 9 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_resources_100_percent.pak', | 9 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_resources_100_percent.pak', |
| 10 '<(grit_out_dir)/renderer_resources_100_percent.pak', | 10 '<(grit_out_dir)/renderer_resources_100_percent.pak', |
| 11 '<(grit_out_dir)/theme_resources_100_percent.pak', | 11 '<(grit_out_dir)/theme_resources_100_percent.pak', |
| 12 ], | 12 ], |
| 13 'pak_output': '<(SHARED_INTERMEDIATE_DIR)/repack/chrome_100_percent.pak', |
| 13 'conditions': [ | 14 'conditions': [ |
| 14 ['OS != "ios"', { | 15 ['OS != "ios"', { |
| 15 'pak_inputs': [ | 16 'pak_inputs': [ |
| 16 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_resources_100_percent.pak', | 17 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_resources_100_percent.pak', |
| 17 ], | 18 ], |
| 18 }], | 19 }], |
| 19 ['use_ash==1', { | 20 ['use_ash==1', { |
| 20 'pak_inputs': [ | 21 'pak_inputs': [ |
| 21 '<(SHARED_INTERMEDIATE_DIR)/ash/ash_resources/ash_resources_100_percen
t.pak', | 22 '<(SHARED_INTERMEDIATE_DIR)/ash/ash_resources/ash_resources_100_percen
t.pak', |
| 22 ], | 23 ], |
| 23 }], | 24 }], |
| 24 ], | 25 ], |
| 25 }, | 26 }, |
| 26 'inputs': [ | 27 'includes': [ '../build/repack_action.gypi' ], |
| 27 '<(repack_path)', | |
| 28 '<@(pak_inputs)', | |
| 29 ], | |
| 30 'outputs': [ | |
| 31 '<(SHARED_INTERMEDIATE_DIR)/repack/chrome_100_percent.pak', | |
| 32 ], | |
| 33 'action': ['python', '<(repack_path)', '<@(_outputs)', '<@(pak_inputs)'], | |
| 34 } | 28 } |
| OLD | NEW |