summaryrefslogtreecommitdiffstats
path: root/chrome/chrome_repack_chrome.gypi
blob: 915a22af2caa4b221c4cd98207965509b43a69f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Copyright (c) 2011 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
  'action_name': 'repack_chrome',
  'variables': {
    'pak_inputs': [
      '<(grit_out_dir)/browser_resources.pak',
      '<(grit_out_dir)/common_resources.pak',
      '<(grit_out_dir)/default_plugin_resources/default_plugin_resources.pak',
      '<(grit_out_dir)/renderer_resources.pak',
      '<(grit_out_dir)/theme_resources.pak',
      '<(grit_out_dir)/theme_resources_standard.pak',
      '<(SHARED_INTERMEDIATE_DIR)/content/content_resources.pak',
      '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.pak',
      '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_resources.pak',
      '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources_standard/ui_resources_standard.pak',
      '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_chromium_resources.pak',
      '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_resources.pak',
    ],
    'conditions': [
      ['OS != "mac"', {
        'pak_inputs': [
          '<(SHARED_INTERMEDIATE_DIR)/ui/gfx/gfx_resources.pak',
        ]
      }],
    ],
  },
  'inputs': [
    '<(repack_path)',
    '<@(pak_inputs)',
  ],
  'outputs': [
    '<(SHARED_INTERMEDIATE_DIR)/repack/chrome.pak',
  ],
  'action': ['python', '<(repack_path)', '<@(_outputs)', '<@(pak_inputs)'],
}