# Copyright (c) 2009 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. { 'includes': [ '../third_party/WebKit/WebKit/chromium/features.gypi', '../third_party/WebKit/WebKit/chromium/WebKit.gypi', '../third_party/WebKit/WebCore/WebCore.gypi', 'tools/test_shell/test_shell.gypi', ], 'variables': { # We can't turn on warnings on Windows and Linux until we upstream the # WebKit API. 'conditions': [ ['OS=="mac"', { 'chromium_code': 1, }], ], # List of DevTools source files, ordered by dependencies. It is used both # for copying them to resource dir, and for generating 'devtools.html' file. 'devtools_files': [ '<@(devtools_css_files)', '../v8/tools/codemap.js', '../v8/tools/consarray.js', '../v8/tools/csvparser.js', '../v8/tools/logreader.js', '../v8/tools/profile.js', '../v8/tools/profile_view.js', '../v8/tools/splaytree.js', '<@(devtools_js_files)', ], 'debug_devtools%': 0, 'grit_info_cmd': ['python', '../tools/grit/grit_info.py'], 'grit_cmd': ['python', '../tools/grit/grit.py'], }, 'targets': [ { 'target_name': 'pull_in_webkit_unit_tests', 'type': 'none', 'dependencies': [ '../third_party/WebKit/WebKit/chromium/WebKit.gyp:webkit_unit_tests' ], }, { 'target_name': 'webkit_resources', 'type': 'none', 'msvs_guid': '0B469837-3D46-484A-AFB3-C5A6C68730B9', 'variables': { 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/webkit', }, 'actions': [ { 'action_name': 'webkit_resources', 'variables': { 'input_path': 'glue/webkit_resources.grd', }, 'inputs': [ '