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

Side by Side Diff: content/browser/devtools/devtools_resources.gyp

Issue 297803003: Add devtools protocol constants generator to chrome/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 unified diff | Download patch
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'targets': [ 6 'targets': [
7 { 7 {
8 'target_name': 'devtools_resources', 8 'target_name': 'devtools_resources',
9 'type': 'none', 9 'type': 'none',
10 'dependencies': [ 10 'dependencies': [
(...skipping 29 matching lines...) Expand all
40 '-o', '<(grit_out_dir)', 40 '-o', '<(grit_out_dir)',
41 '-D', 'SHARED_INTERMEDIATE_DIR=<(SHARED_INTERMEDIATE_DIR)', 41 '-D', 'SHARED_INTERMEDIATE_DIR=<(SHARED_INTERMEDIATE_DIR)',
42 '<@(grit_defines)', 42 '<@(grit_defines)',
43 '<@(grit_rc_header_format)'], 43 '<@(grit_rc_header_format)'],
44 'message': 'Generating resources from <(grit_grd_file)', 44 'message': 'Generating resources from <(grit_grd_file)',
45 }, 45 },
46 { 46 {
47 'action_name': 'devtools_protocol_constants', 47 'action_name': 'devtools_protocol_constants',
48 'variables': { 48 'variables': {
49 'blink_protocol': '../../../third_party/WebKit/Source/devtools/proto col.json', 49 'blink_protocol': '../../../third_party/WebKit/Source/devtools/proto col.json',
50 'browser_protocol': 'browser_protocol.json' 50 'browser_protocol': 'browser_protocol.json',
51 'generator': '../../public/browser/devtools_protocol_constants_gener ator.py',
52 'package': 'content'
51 }, 53 },
52 'inputs': [ 54 'inputs': [
53 '<(blink_protocol)', 55 '<(blink_protocol)',
54 '<(browser_protocol)', 56 '<(browser_protocol)',
55 'devtools_protocol_constants_generator.py', 57 '<(generator)',
56 ], 58 ],
57 'outputs': [ 59 'outputs': [
58 '<(SHARED_INTERMEDIATE_DIR)/content/browser/devtools/devtools_protoc ol_constants.cc', 60 '<(SHARED_INTERMEDIATE_DIR)/<(package)/browser/devtools/devtools_pro tocol_constants.cc',
59 '<(SHARED_INTERMEDIATE_DIR)/content/browser/devtools/devtools_protoc ol_constants.h' 61 '<(SHARED_INTERMEDIATE_DIR)/<(package)/browser/devtools/devtools_pro tocol_constants.h'
60 ], 62 ],
61 'action':[ 63 'action':[
62 'python', 64 'python',
63 'devtools_protocol_constants_generator.py', 65 '<(generator)',
66 '<(package)',
67 '<(SHARED_INTERMEDIATE_DIR)/<(package)/browser/devtools/devtools_pro tocol_constants.cc',
68 '<(SHARED_INTERMEDIATE_DIR)/<(package)/browser/devtools/devtools_pro tocol_constants.h',
64 '<(blink_protocol)', 69 '<(blink_protocol)',
65 '<(browser_protocol)', 70 '<(browser_protocol)',
66 '<(SHARED_INTERMEDIATE_DIR)/content/browser/devtools/devtools_protoc ol_constants.cc',
67 '<(SHARED_INTERMEDIATE_DIR)/content/browser/devtools/devtools_protoc ol_constants.h',
68 ], 71 ],
69 'message': 'Generating DevTools protocol constants from <(blink_protoc ol)' 72 'message': 'Generating DevTools protocol constants from <(blink_protoc ol)'
70 } 73 }
71 ], 74 ],
72 'direct_dependent_settings': { 75 'direct_dependent_settings': {
73 'include_dirs': [ 76 'include_dirs': [
74 '<(SHARED_INTERMEDIATE_DIR)', 77 '<(SHARED_INTERMEDIATE_DIR)',
75 ] 78 ]
76 }, 79 },
77 'includes': [ '../../../build/grit_target.gypi' ], 80 'includes': [ '../../../build/grit_target.gypi' ],
78 }, 81 },
79 ], 82 ],
80 } 83 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698