Home | History | Annotate | Download | only in chrome
      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.
      4 {
      5   'action_name': 'repack_resources',
      6   'variables': {
      7     'pak_inputs': [
      8       '<(grit_out_dir)/memory_internals_resources.pak',
      9       '<(grit_out_dir)/net_internals_resources.pak',
     10       '<(grit_out_dir)/signin_internals_resources.pak',
     11       '<(grit_out_dir)/sync_internals_resources.pak',
     12       '<(grit_out_dir)/translate_internals_resources.pak',
     13       '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/webui_resources.pak',
     14     ],
     15     'conditions': [
     16       ['OS != "ios" and OS != "android"', {
     17         # New paks should be added here by default.
     18         'pak_inputs': [
     19           '<(SHARED_INTERMEDIATE_DIR)/webkit/devtools_resources.pak',
     20           '<(grit_out_dir)/component_extension_resources.pak',
     21           '<(grit_out_dir)/options_resources.pak',
     22           '<(grit_out_dir)/quota_internals_resources.pak',
     23           '<(grit_out_dir)/sync_file_system_internals_resources.pak',
     24         ],
     25       }],
     26       ['OS != "ios"', {
     27         'pak_inputs': [
     28           '<(grit_out_dir)/devtools_discovery_page_resources.pak',
     29         ],
     30       }],
     31     ],
     32   },
     33   'inputs': [
     34     '<(repack_path)',
     35     '<@(pak_inputs)',
     36   ],
     37   'outputs': [
     38     '<(SHARED_INTERMEDIATE_DIR)/repack/resources.pak',
     39   ],
     40   'action': ['python', '<(repack_path)', '<@(_outputs)', '<@(pak_inputs)'],
     41 }
     42