blob: 9df6193e41d1c69f26ba37866189b90f551bf287 [file] [log] [blame]
# Copyright 2014 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.
{
'targets': [
{
'target_name': 'component_resources',
'type': 'none',
'variables': {
'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/components',
},
'actions': [
{
'action_name': 'generate_component_resources',
'variables': {
'grit_grd_file': 'resources/component_resources.grd',
},
'includes': [ '../build/grit_action.gypi' ],
},
{
'action_name': 'generate_component_scaled_resources',
'variables': {
'grit_grd_file': 'resources/component_scaled_resources.grd',
},
'includes': [ '../build/grit_action.gypi' ],
},
],
'includes': [ '../build/grit_target.gypi' ],
'direct_dependent_settings': {
'include_dirs': [
'<(SHARED_INTERMEDIATE_DIR)/components',
],
},
'hard_dependency': 1,
},
],
}