# Copyright (c) 2011 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. { 'variables': { 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/chrome', 'repack_locales_cmd': ['python', 'tools/build/repack_locales.py'], }, 'targets': [ { 'target_name': 'chrome_extra_resources', 'type': 'none', 'dependencies': [ '../third_party/WebKit/Source/WebKit/chromium/WebKit.gyp:generate_devtools_grd', ], # These resources end up in resources.pak because they are resources # used by internal pages. Putting them in a spearate pak file makes # it easier for us to reference them internally. 'actions': [ { 'action_name': 'component_extension_resources', 'variables': { 'grit_grd_file': 'browser/resources/component_extension_resources.grd', }, 'includes': [ '../build/grit_action.gypi' ], }, { 'action_name': 'net_internals_resources', 'variables': { 'grit_grd_file': 'browser/resources/net_internals_resources.grd', }, 'includes': [ '../build/grit_action.gypi' ], }, { 'action_name': 'options_resources', 'variables': { 'grit_grd_file': 'browser/resources/options_resources.grd', }, 'includes': [ '../build/grit_action.gypi' ], }, { 'action_name': 'options2_resources', 'variables': { 'grit_grd_file': 'browser/resources/options2_resources.grd', }, 'includes': [ '../build/grit_action.gypi' ], }, { 'action_name': 'quota_internals_resources', 'variables': { 'grit_grd_file': 'browser/resources/quota_internals_resources.grd', }, 'includes': [ '../build/grit_action.gypi' ], }, { 'action_name': 'shared_resources', 'variables': { 'grit_grd_file': 'browser/resources/shared_resources.grd', }, 'includes': [ '../build/grit_action.gypi' ], }, { 'action_name': 'sync_internals_resources', 'variables': { 'grit_grd_file': 'browser/resources/sync_internals_resources.grd', }, 'includes': [ '../build/grit_action.gypi' ], }, { 'action_name': 'workers_resources', 'variables': { 'grit_grd_file': 'browser/resources/workers_resources.grd', }, 'includes': [ '../build/grit_action.gypi' ], }, { 'action_name': 'devtools_frontend_resources', 'variables': { 'grit_grd_file': 'browser/debugger/frontend/devtools_frontend_resources.grd', }, 'includes': [ '../build/grit_action.gypi' ] }, { 'action_name': 'devtools_resources', # This can't use ../build/grit_action.gypi because the grd file # is generated a build time, so the trick of using grit_info to get # the real inputs/outputs at GYP time isn't possible. 'variables': { 'grit_cmd': ['python', '../tools/grit/grit.py'], 'grit_grd_file': '<(SHARED_INTERMEDIATE_DIR)/devtools/devtools_resources.grd', }, 'inputs': [ '<(grit_grd_file)', '