Make default apps cache multiprofile friendly
[chromium-blink-merge.git] / chrome / chrome_repack_resources.gypi
blobf442cd25993232b6ade26b3461a0ca8f13960e03
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_resources',
6   'variables': {
7     'pak_inputs': [
8       '<(SHARED_INTERMEDIATE_DIR)/chrome/chrome_unscaled_resources.pak',
9       '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.pak',
10       '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/webui_resources.pak',
11       '<(grit_out_dir)/browser_resources.pak',
12       '<(grit_out_dir)/common_resources.pak',
13       '<(grit_out_dir)/memory_internals_resources.pak',
14       '<(grit_out_dir)/net_internals_resources.pak',
15       '<(grit_out_dir)/signin_internals_resources.pak',
16       '<(grit_out_dir)/sync_internals_resources.pak',
17       '<(grit_out_dir)/translate_internals_resources.pak',
18     ],
19     'conditions': [
20       ['OS != "ios"', {
21         'pak_inputs': [
22           '<(SHARED_INTERMEDIATE_DIR)/components/dom_distiller_resources.pak',
23           '<(SHARED_INTERMEDIATE_DIR)/content/browser/tracing/tracing_resources.pak',
24           '<(SHARED_INTERMEDIATE_DIR)/content/content_resources.pak',
25           '<(SHARED_INTERMEDIATE_DIR)/webkit/blink_resources.pak',
26           '<(grit_out_dir)/devtools_discovery_page_resources.pak',
27         ],
28       }],
29       ['OS != "ios" and OS != "android"', {
30         # New paks should be added here by default.
31         'pak_inputs': [
32           '<(SHARED_INTERMEDIATE_DIR)/webkit/devtools_resources.pak',
33           '<(grit_out_dir)/component_extension_resources.pak',
34           '<(grit_out_dir)/options_resources.pak',
35           '<(grit_out_dir)/quota_internals_resources.pak',
36           '<(grit_out_dir)/sync_file_system_internals_resources.pak',
37         ],
38       }],
39       ['enable_extensions==1', {
40         'pak_inputs': [
41           '<(grit_out_dir)/extensions_api_resources.pak',
42         ],
43       }],
44     ],
45   },
46   'inputs': [
47     '<(repack_path)',
48     '<@(pak_inputs)',
49   ],
50   'outputs': [
51     '<(SHARED_INTERMEDIATE_DIR)/repack/resources.pak',
52   ],
53   'action': ['python', '<(repack_path)', '<@(_outputs)', '<@(pak_inputs)'],