Fix crash when JS alert from background page appears during lock screen
[chromium-blink-merge.git] / chrome / chrome_repack_chrome.gypi
blob7d65d1ada7af2ec335c62110ef7273f3d007070a
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
3 # found in the LICENSE file.
5   'action_name': 'repack_chrome',
6   'variables': {
7     'pak_inputs': [
8       '<(grit_out_dir)/browser_resources.pak',
9       '<(grit_out_dir)/common_resources.pak',
10       '<(SHARED_INTERMEDIATE_DIR)/chrome/chrome_unscaled_resources.pak',
11       '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.pak',
12     ],
13     'conditions': [
14       ['OS != "ios"', {
15         'pak_inputs': [
16           '<(SHARED_INTERMEDIATE_DIR)/content/content_resources.pak',
17           '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_chromium_resources.pak',
18         ],
19       }],
20       ['enable_extensions==1', {
21         'pak_inputs': [
22           '<(grit_out_dir)/extensions_api_resources.pak',
23         ],
24       }],
25       ['use_ash==1', {
26         'pak_inputs': [
27           '<(SHARED_INTERMEDIATE_DIR)/ash/ash_resources/ash_wallpaper_resources.pak',
28         ],
29       }],
30     ],
31   },
32   'inputs': [
33     '<(repack_path)',
34     '<@(pak_inputs)',
35   ],
36   'outputs': [
37     '<(SHARED_INTERMEDIATE_DIR)/repack/chrome.pak',
38   ],
39   'action': ['python', '<(repack_path)', '<@(_outputs)', '<@(pak_inputs)'],