Revert "Revert of Refactor get_salient_image_url.js to use DocumentImageExtractor"
[chromium-blink-merge.git] / chrome / chrome_repack_resources.gypi
blob9b06ec63bbd426b2e64164fb6161966a6067ec7a
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)/components/components_resources.pak',
10       '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.pak',
11       '<(SHARED_INTERMEDIATE_DIR)/ui/resources/webui_resources.pak',
12       '<(grit_out_dir)/browser_resources.pak',
13       '<(grit_out_dir)/common_resources.pak',
14       '<(grit_out_dir)/invalidations_resources.pak',
15       '<(grit_out_dir)/memory_internals_resources.pak',
16       '<(grit_out_dir)/net_internals_resources.pak',
17       '<(grit_out_dir)/password_manager_internals_resources.pak',
18       '<(grit_out_dir)/signin_internals_resources.pak',
19       '<(grit_out_dir)/sync_internals_resources.pak',
20       '<(grit_out_dir)/translate_internals_resources.pak',
21     ],
22     'pak_output': '<(SHARED_INTERMEDIATE_DIR)/repack/resources.pak',
23     'conditions': [
24       ['chromeos==1', {
25         'pak_inputs': [
26           '<(SHARED_INTERMEDIATE_DIR)/ui/file_manager/file_manager_resources.pak',
27           '<(SHARED_INTERMEDIATE_DIR)/components/chrome_apps/chrome_apps_resources.pak',
28           '<(SHARED_INTERMEDIATE_DIR)/ui/oobe/oobe_resources.pak',
29         ],
30       }],
31       ['OS == "android"', {
32         'pak_inputs': [
33           '<(SHARED_INTERMEDIATE_DIR)/components/resources/enhanced_bookmarks/enhanced_bookmarks_resources.pak',
34         ]
35       }],
36       ['OS != "ios"', {
37         'pak_inputs': [
38           '<(SHARED_INTERMEDIATE_DIR)/blink/public/resources/blink_resources.pak',
39           '<(SHARED_INTERMEDIATE_DIR)/content/browser/tracing/tracing_resources.pak',
40           '<(SHARED_INTERMEDIATE_DIR)/content/content_resources.pak',
41         ],
42       }],
43       ['OS != "ios" and OS != "android"', {
44         # New paks should be added here by default.
45         'pak_inputs': [
46           '<(SHARED_INTERMEDIATE_DIR)/blink/devtools_resources.pak',
47           '<(grit_out_dir)/component_extension_resources.pak',
48           '<(grit_out_dir)/options_resources.pak',
49           '<(grit_out_dir)/quota_internals_resources.pak',
50           '<(grit_out_dir)/settings_resources.pak',
51           '<(grit_out_dir)/sync_file_system_internals_resources.pak',
52           '<(grit_out_dir)/webrtc_device_provider_resources.pak',
53         ],
54       }],
55       ['enable_extensions==1', {
56         'pak_inputs': [
57           '<(SHARED_INTERMEDIATE_DIR)/extensions/extensions_renderer_resources.pak',
58           '<(SHARED_INTERMEDIATE_DIR)/extensions/extensions_resources.pak',
59           '<(grit_out_dir)/extensions_api_resources.pak',
60         ],
61       }],
62     ],
63   },
64   'includes': [ '../build/repack_action.gypi' ],