Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5766)

Unified Diff: chrome/browser/devtools/devtools_protocol_constants.gyp

Issue 297803003: Add devtools protocol constants generator to chrome/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Reverted drive-by changes Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/chrome_debugger.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/devtools/devtools_protocol_constants.gyp
diff --git a/chrome/browser/devtools/devtools_protocol_constants.gyp b/chrome/browser/devtools/devtools_protocol_constants.gyp
new file mode 100644
index 0000000000000000000000000000000000000000..86f0ca71d978974e250d1a203676f5a901bc45dd
--- /dev/null
+++ b/chrome/browser/devtools/devtools_protocol_constants.gyp
@@ -0,0 +1,51 @@
+# Copyright (c) 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': 'devtools_protocol_constants',
+ 'type': 'none',
+ 'dependencies': [
+ '../../../third_party/WebKit/public/blink_devtools.gyp:blink_generate_devtools_grd',
pfeldman 2014/05/23 09:47:58 You don't need this dependency.
eustas 2014/05/23 09:58:05 Done.
+ ],
+ 'variables': {
+ 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/webkit',
pfeldman 2014/05/23 09:47:58 You don't need this var.
eustas 2014/05/23 09:58:05 Done.
+ },
+ 'actions': [
+ {
+ 'action_name': 'devtools_protocol_constants',
+ 'variables': {
+ 'blink_protocol': '../../../third_party/WebKit/Source/devtools/protocol.json',
+ 'generator': '../../../content/public/browser/devtools_protocol_constants_generator.py',
+ 'package': 'chrome'
+ },
+ 'inputs': [
+ '<(blink_protocol)',
+ '<(generator)',
+ ],
+ 'outputs': [
+ '<(SHARED_INTERMEDIATE_DIR)/chrome/browser/devtools/devtools_protocol_constants.cc',
+ '<(SHARED_INTERMEDIATE_DIR)/chrome/browser/devtools/devtools_protocol_constants.h'
+ ],
+ 'action':[
+ 'python',
+ '<(generator)',
+ '<(package)',
+ '<(SHARED_INTERMEDIATE_DIR)/chrome/browser/devtools/devtools_protocol_constants.cc',
+ '<(SHARED_INTERMEDIATE_DIR)/chrome/browser/devtools/devtools_protocol_constants.h',
+ '<(blink_protocol)',
+ ],
+ 'message': 'Generating DevTools protocol constants from <(blink_protocol)'
+ }
+ ],
+ 'direct_dependent_settings': {
pfeldman 2014/05/23 09:47:58 no need?
eustas 2014/05/23 09:58:05 Done.
+ 'include_dirs': [
+ '<(SHARED_INTERMEDIATE_DIR)',
+ ]
+ },
+ 'includes': [ '../../../build/grit_target.gypi' ],
pfeldman 2014/05/23 09:47:58 You don't need grit.
eustas 2014/05/23 09:58:05 Done.
+ },
+ ],
+}
« no previous file with comments | « no previous file | chrome/chrome_debugger.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698