# Copyright (c) 2012 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': 'devtools_resources', 'type': 'none', 'dependencies': [ '../../../third_party/WebKit/public/blink_devtools.gyp:blink_generate_devtools_grd', ], 'variables': { 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/webkit', }, 'actions': [ { 'action_name': 'devtools_resources', # This can't use build/grit_action.gypi because the grd file # is generated at 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', 'grit_rc_header_format%': '', }, 'inputs': [ '<(grit_grd_file)', '