summaryrefslogtreecommitdiffstats
path: root/chrome/chrome_repack_resources.gypi
blob: 2aadcda6fd8ba3b868ead4b146369846bfa822d5 (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
# Copyright (c) 2012 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_resources',
  'variables': {
    'pak_inputs': [
      '<(SHARED_INTERMEDIATE_DIR)/webkit/devtools_resources.pak',
      '<(grit_out_dir)/component_extension_resources.pak',
      '<(grit_out_dir)/devtools_discovery_page_resources.pak',
      '<(grit_out_dir)/net_internals_resources.pak',
      '<(grit_out_dir)/options2_resources.pak',
      '<(grit_out_dir)/quota_internals_resources.pak',
      '<(grit_out_dir)/shared_resources.pak',
      '<(grit_out_dir)/sync_internals_resources.pak',
    ],
    'conditions': [
      ['OS != "mac"', {
        'pak_inputs': [
          '<(grit_out_dir)/quota_internals_resources.pak',
        ],
      }],
    ],
  },
  'inputs': [
    '<(repack_path)',
    '<@(pak_inputs)',
  ],
  'outputs': [
    '<(SHARED_INTERMEDIATE_DIR)/repack/resources.pak',
  ],
  'action': ['python', '<(repack_path)', '<@(_outputs)', '<@(pak_inputs)'],
}