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

Side by Side Diff: Source/devtools/devtools.gyp

Issue 665083002: DevTools: Fix Windows debug_devtools=1 builds (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix variable type on command line in gyp Created 6 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « Source/devtools/BUILD.gn ('k') | Source/devtools/scripts/generate_devtools_grd.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # 1 #
2 # Copyright (C) 2013 Google Inc. All rights reserved. 2 # Copyright (C) 2013 Google Inc. All rights reserved.
3 # 3 #
4 # Redistribution and use in source and binary forms, with or without 4 # Redistribution and use in source and binary forms, with or without
5 # modification, are permitted provided that the following conditions are 5 # modification, are permitted provided that the following conditions are
6 # met: 6 # met:
7 # 7 #
8 # * Redistributions of source code must retain the above copyright 8 # * Redistributions of source code must retain the above copyright
9 # notice, this list of conditions and the following disclaimer. 9 # notice, this list of conditions and the following disclaimer.
10 # * Redistributions in binary form must reproduce the above 10 # * Redistributions in binary form must reproduce the above
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 ], 82 ],
83 'conditions': [ 83 'conditions': [
84 ['debug_devtools==0', { 84 ['debug_devtools==0', {
85 'actions': [{ 85 'actions': [{
86 'action_name': 'generate_devtools_grd', 86 'action_name': 'generate_devtools_grd',
87 'script_name': 'scripts/generate_devtools_grd.py', 87 'script_name': 'scripts/generate_devtools_grd.py',
88 'relative_path_dirs': [ 88 'relative_path_dirs': [
89 '<(PRODUCT_DIR)/resources/inspector', 89 '<(PRODUCT_DIR)/resources/inspector',
90 'front_end' 90 'front_end'
91 ], 91 ],
92 'input_pages': [ 92 'static_files': [
93 '<@(devtools_standalone_files)',
94 '<@(devtools_cm_css_files)',
95 ],
96 'devtools_static_files_list': '<|(devtools_static_grd_fi les.tmp <@(_static_files))',
97 'generated_files': [
93 '<(PRODUCT_DIR)/resources/inspector/devtools.css', 98 '<(PRODUCT_DIR)/resources/inspector/devtools.css',
94 '<(PRODUCT_DIR)/resources/inspector/devtools.html', 99 '<(PRODUCT_DIR)/resources/inspector/devtools.html',
95 '<(PRODUCT_DIR)/resources/inspector/devtools.js', 100 '<(PRODUCT_DIR)/resources/inspector/devtools.js',
96 '<(PRODUCT_DIR)/resources/inspector/toolbox.css', 101 '<(PRODUCT_DIR)/resources/inspector/toolbox.css',
97 '<(PRODUCT_DIR)/resources/inspector/toolbox.html', 102 '<(PRODUCT_DIR)/resources/inspector/toolbox.html',
98 '<(PRODUCT_DIR)/resources/inspector/toolbox.js', 103 '<(PRODUCT_DIR)/resources/inspector/toolbox.js',
99 '<(PRODUCT_DIR)/resources/inspector/audits_module.js ', 104 '<(PRODUCT_DIR)/resources/inspector/audits_module.js ',
100 '<(PRODUCT_DIR)/resources/inspector/console_module.j s', 105 '<(PRODUCT_DIR)/resources/inspector/console_module.j s',
101 '<(PRODUCT_DIR)/resources/inspector/devices_module.j s', 106 '<(PRODUCT_DIR)/resources/inspector/devices_module.j s',
102 '<(PRODUCT_DIR)/resources/inspector/documentation_mo dule.js', 107 '<(PRODUCT_DIR)/resources/inspector/documentation_mo dule.js',
103 '<(PRODUCT_DIR)/resources/inspector/elements_module. js', 108 '<(PRODUCT_DIR)/resources/inspector/elements_module. js',
104 '<(PRODUCT_DIR)/resources/inspector/heap_snapshot_wo rker_module.js', 109 '<(PRODUCT_DIR)/resources/inspector/heap_snapshot_wo rker_module.js',
105 '<(PRODUCT_DIR)/resources/inspector/layers_module.js ', 110 '<(PRODUCT_DIR)/resources/inspector/layers_module.js ',
106 '<(PRODUCT_DIR)/resources/inspector/network_module.j s', 111 '<(PRODUCT_DIR)/resources/inspector/network_module.j s',
107 '<(PRODUCT_DIR)/resources/inspector/profiler_module. js', 112 '<(PRODUCT_DIR)/resources/inspector/profiler_module. js',
108 '<(PRODUCT_DIR)/resources/inspector/promises_module. js', 113 '<(PRODUCT_DIR)/resources/inspector/promises_module. js',
109 '<(PRODUCT_DIR)/resources/inspector/resources_module .js', 114 '<(PRODUCT_DIR)/resources/inspector/resources_module .js',
110 '<(PRODUCT_DIR)/resources/inspector/script_formatter _worker_module.js', 115 '<(PRODUCT_DIR)/resources/inspector/script_formatter _worker_module.js',
111 '<(PRODUCT_DIR)/resources/inspector/settings_module. js', 116 '<(PRODUCT_DIR)/resources/inspector/settings_module. js',
112 '<(PRODUCT_DIR)/resources/inspector/source_frame_mod ule.js', 117 '<(PRODUCT_DIR)/resources/inspector/source_frame_mod ule.js',
113 '<(PRODUCT_DIR)/resources/inspector/sources_module.j s', 118 '<(PRODUCT_DIR)/resources/inspector/sources_module.j s',
114 '<(PRODUCT_DIR)/resources/inspector/temp_storage_sha red_worker_module.js', 119 '<(PRODUCT_DIR)/resources/inspector/temp_storage_sha red_worker_module.js',
115 '<(PRODUCT_DIR)/resources/inspector/timeline_module. js', 120 '<(PRODUCT_DIR)/resources/inspector/timeline_module. js',
116 '<(PRODUCT_DIR)/resources/inspector/devtools_extensi on_api.js', 121 '<(PRODUCT_DIR)/resources/inspector/devtools_extensi on_api.js',
117 '<@(devtools_standalone_files)',
118 '<@(devtools_cm_css_files)',
119 ],
120 'images': [
121 '<@(devtools_image_files)',
122 ], 122 ],
123 'inputs': [ 123 'inputs': [
124 '<@(_script_name)', 124 '<@(_script_name)',
125 '<@(_input_pages)', 125 '<@(_static_files)',
126 '<@(_images)', 126 '<@(_generated_files)',
127 '<@(devtools_image_files)',
128 '<(_devtools_static_files_list)',
127 ], 129 ],
128 'images_path': [ 130 'images_path': [
129 'front_end/Images', 131 'front_end/Images',
130 ], 132 ],
131 'outputs': ['<(SHARED_INTERMEDIATE_DIR)/devtools/devtool s_resources.grd'], 133 'outputs': ['<(SHARED_INTERMEDIATE_DIR)/devtools/devtool s_resources.grd'],
132 'action': ['python', '<@(_script_name)', '<@(_input_page s)', '--relative_path_dirs', '<@(_relative_path_dirs)', '--images', '<@(_images_ path)', '--output', '<@(_outputs)'], 134 'action': ['python', '<@(_script_name)', '<@(_generated_ files)', '--static_files_list', '<(_devtools_static_files_list)', '--relative_pa th_dirs', '<@(_relative_path_dirs)', '--images', '<@(_images_path)', '--output', '<@(_outputs)'],
133 }], 135 }],
134 }, 136 },
135 { 137 {
136 # If we're not concatenating devtools files, we want to 138 # If we're not concatenating devtools files, we want to
137 # run after the original files have been copied to 139 # run after the original files have been copied to
138 # <(PRODUCT_DIR)/resources/inspector. 140 # <(PRODUCT_DIR)/resources/inspector.
139 'dependencies': ['devtools_frontend_resources'], 141 'dependencies': ['devtools_frontend_resources'],
140 'actions': [{ 142 'actions': [{
141 'action_name': 'generate_devtools_grd', 143 'action_name': 'generate_devtools_grd',
142 'script_name': 'scripts/generate_devtools_grd.py', 144 'script_name': 'scripts/generate_devtools_grd.py',
143 'relative_path_dirs': [ 145 'relative_path_dirs': [
144 'front_end', 146 'front_end',
145 '<(PRODUCT_DIR)/resources/inspector', 147 '<(PRODUCT_DIR)/resources/inspector',
146 ], 148 ],
147 'input_pages': [ 149 'static_files': [
148 '<@(all_devtools_files)', 150 '<@(all_devtools_files)',
149 'front_end/Runtime.js', 151 'front_end/Runtime.js',
152 ],
153 'devtools_static_files_list': '<|(devtools_static_grd_fi les.tmp <@(_static_files))',
154 'generated_files': [
150 '<(PRODUCT_DIR)/resources/inspector/InspectorBackend Commands.js', 155 '<(PRODUCT_DIR)/resources/inspector/InspectorBackend Commands.js',
151 '<(PRODUCT_DIR)/resources/inspector/SupportedCSSProp erties.js', 156 '<(PRODUCT_DIR)/resources/inspector/SupportedCSSProp erties.js',
152 '<(PRODUCT_DIR)/resources/inspector/devtools.html', 157 '<(PRODUCT_DIR)/resources/inspector/devtools.html',
153 '<(PRODUCT_DIR)/resources/inspector/toolbox.html', 158 '<(PRODUCT_DIR)/resources/inspector/toolbox.html',
154 ], 159 ],
155 'images': [
156 '<@(devtools_image_files)',
157 ],
158 'inputs': [ 160 'inputs': [
159 '<@(_script_name)', 161 '<@(_script_name)',
160 '<@(_input_pages)', 162 '<@(_static_files)',
161 '<@(_images)', 163 '<@(_generated_files)',
164 '<@(devtools_image_files)',
165 '<(_devtools_static_files_list)',
162 ], 166 ],
163 'images_path': [ 167 'images_path': [
164 'front_end/Images', 168 'front_end/Images',
165 ], 169 ],
166 # Note that other files are put under /devtools director y, together with declared devtools_resources.grd 170 # Note that other files are put under /devtools director y, together with declared devtools_resources.grd
167 'outputs': ['<(SHARED_INTERMEDIATE_DIR)/devtools/devtool s_resources.grd'], 171 'outputs': ['<(SHARED_INTERMEDIATE_DIR)/devtools/devtool s_resources.grd'],
168 'action': ['python', '<@(_script_name)', '<@(_input_page s)', '--relative_path_dirs', '<@(_relative_path_dirs)', '--images', '<@(_images_ path)', '--output', '<@(_outputs)'], 172 'action': ['python', '<@(_script_name)', '<@(_generated_ files)', '--static_files_list', '<(_devtools_static_files_list)', '--relative_pa th_dirs', '<@(_relative_path_dirs)', '--images', '<@(_images_path)', '--output', '<@(_outputs)'],
169 }], 173 }],
170 }], 174 }],
171 ], 175 ],
172 }, 176 },
173 { 177 {
174 'target_name': 'frontend_protocol_sources', 178 'target_name': 'frontend_protocol_sources',
175 'type': 'none', 179 'type': 'none',
176 'actions': [ 180 'actions': [
177 { 181 {
178 'action_name': 'generateInspectorProtocolFrontendSources', 182 'action_name': 'generateInspectorProtocolFrontendSources',
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
358 ], 362 ],
359 'search_path': [ 'front_end' ], 363 'search_path': [ 'front_end' ],
360 'outputs': ['<(PRODUCT_DIR)/resources/inspector/toolbox. css'], 364 'outputs': ['<(PRODUCT_DIR)/resources/inspector/toolbox. css'],
361 'action': ['python', '<@(_script_name)', '<@(_input_styl esheet)', '<@(_outputs)'], 365 'action': ['python', '<@(_script_name)', '<@(_input_styl esheet)', '<@(_outputs)'],
362 }], 366 }],
363 }, 367 },
364 ], 368 ],
365 }], 369 }],
366 ], # conditions 370 ], # conditions
367 } 371 }
OLDNEW
« no previous file with comments | « Source/devtools/BUILD.gn ('k') | Source/devtools/scripts/generate_devtools_grd.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698