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 '<(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 ], 28 }], 29 ['OS != "ios"', { 30 'pak_inputs': [ 31 '<(SHARED_INTERMEDIATE_DIR)/blink/public/resources/blink_resources.pak', 32 '<(SHARED_INTERMEDIATE_DIR)/content/browser/tracing/tracing_resources.pak', 33 '<(SHARED_INTERMEDIATE_DIR)/content/content_resources.pak', 34 '<(SHARED_INTERMEDIATE_DIR)/extensions/extensions_renderer_resources.pak', 35 '<(SHARED_INTERMEDIATE_DIR)/extensions/extensions_resources.pak', 36 ], 37 }], 38 ['OS != "ios" and OS != "android"', { 39 # New paks should be added here by default. 40 'pak_inputs': [ 41 '<(SHARED_INTERMEDIATE_DIR)/webkit/devtools_resources.pak', 42 '<(grit_out_dir)/component_extension_resources.pak', 43 '<(grit_out_dir)/options_resources.pak', 44 '<(grit_out_dir)/quota_internals_resources.pak', 45 '<(grit_out_dir)/sync_file_system_internals_resources.pak', 46 ], 47 }], 48 ['enable_extensions==1', { 49 'pak_inputs': [ 50 '<(grit_out_dir)/extensions_api_resources.pak', 51 ], 52 }], 53 ], 54 }, 55 'includes': [ '../build/repack_action.gypi' ], 56 } 57