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

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

Issue 332413004: Generate web, devtools files into their own sub-dirs. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: more gn build changes Created 6 years, 6 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
« no previous file with comments | « Source/web/DateTimeChooserImpl.cpp ('k') | no next file » | 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) 2011 Google Inc. All rights reserved. 2 # Copyright (C) 2011 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 11 matching lines...) Expand all
22 # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 22 # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23 # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 23 # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24 # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 24 # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 # 29 #
30 30
31 { 31 {
32 'variables': {
33 'blink_web_output_dir': '<(SHARED_INTERMEDIATE_DIR)/blink/web',
34 },
32 'includes': [ 35 'includes': [
33 '../bindings/bindings.gypi', 36 '../bindings/bindings.gypi',
34 '../core/core.gypi', 37 '../core/core.gypi',
35 '../build/features.gypi', 38 '../build/features.gypi',
36 '../build/scripts/scripts.gypi', 39 '../build/scripts/scripts.gypi',
37 '../build/win/precompile.gypi', 40 '../build/win/precompile.gypi',
38 '../modules/modules.gypi', 41 '../modules/modules.gypi',
39 '../platform/blink_platform.gypi', 42 '../platform/blink_platform.gypi',
40 '../wtf/wtf.gypi', 43 '../wtf/wtf.gypi',
41 'web.gypi', 44 'web.gypi',
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 'resources': [ 212 'resources': [
210 'resources/pickerCommon.css', 213 'resources/pickerCommon.css',
211 'resources/pickerCommon.js', 214 'resources/pickerCommon.js',
212 ], 215 ],
213 }, 216 },
214 'inputs': [ 217 'inputs': [
215 '../build/scripts/make-file-arrays.py', 218 '../build/scripts/make-file-arrays.py',
216 '<@(resources)', 219 '<@(resources)',
217 ], 220 ],
218 'outputs': [ 221 'outputs': [
219 '<(SHARED_INTERMEDIATE_DIR)/blink/PickerCommon.h', 222 '<(blink_web_output_dir)/PickerCommon.h',
220 '<(SHARED_INTERMEDIATE_DIR)/blink/PickerCommon.cpp', 223 '<(blink_web_output_dir)/PickerCommon.cpp',
221 ], 224 ],
222 'action': [ 225 'action': [
223 'python', 226 'python',
224 '../build/scripts/make-file-arrays.py', 227 '../build/scripts/make-file-arrays.py',
225 '--out-h=<(SHARED_INTERMEDIATE_DIR)/blink/PickerCommon.h ', 228 '--out-h=<(blink_web_output_dir)/PickerCommon.h',
226 '--out-cpp=<(SHARED_INTERMEDIATE_DIR)/blink/PickerCommon .cpp', 229 '--out-cpp=<(blink_web_output_dir)/PickerCommon.cpp',
227 '<@(resources)', 230 '<@(resources)',
228 ], 231 ],
229 }, 232 },
230 { 233 {
231 'action_name': 'CalendarPicker', 234 'action_name': 'CalendarPicker',
232 'process_outputs_as_sources': 1, 235 'process_outputs_as_sources': 1,
233 'variables': { 236 'variables': {
234 'resources': [ 237 'resources': [
235 'resources/calendarPicker.css', 238 'resources/calendarPicker.css',
236 'resources/calendarPicker.js', 239 'resources/calendarPicker.js',
237 'resources/pickerButton.css', 240 'resources/pickerButton.css',
238 'resources/suggestionPicker.css', 241 'resources/suggestionPicker.css',
239 'resources/suggestionPicker.js', 242 'resources/suggestionPicker.js',
240 ], 243 ],
241 }, 244 },
242 'inputs': [ 245 'inputs': [
243 '../build/scripts/make-file-arrays.py', 246 '../build/scripts/make-file-arrays.py',
244 '<@(resources)' 247 '<@(resources)'
245 ], 248 ],
246 'outputs': [ 249 'outputs': [
247 '<(SHARED_INTERMEDIATE_DIR)/blink/CalendarPicker.h', 250 '<(blink_web_output_dir)/CalendarPicker.h',
248 '<(SHARED_INTERMEDIATE_DIR)/blink/CalendarPicker.cpp', 251 '<(blink_web_output_dir)/CalendarPicker.cpp',
249 ], 252 ],
250 'action': [ 253 'action': [
251 'python', 254 'python',
252 '../build/scripts/make-file-arrays.py', 255 '../build/scripts/make-file-arrays.py',
253 '--out-h=<(SHARED_INTERMEDIATE_DIR)/blink/CalendarPicker .h', 256 '--out-h=<(blink_web_output_dir)/CalendarPicker.h',
254 '--out-cpp=<(SHARED_INTERMEDIATE_DIR)/blink/CalendarPick er.cpp', 257 '--out-cpp=<(blink_web_output_dir)/CalendarPicker.cpp',
255 '<@(resources)', 258 '<@(resources)',
256 ], 259 ],
257 }, 260 },
258 { 261 {
259 'action_name': 'ColorSuggestionPicker', 262 'action_name': 'ColorSuggestionPicker',
260 'process_outputs_as_sources': 1, 263 'process_outputs_as_sources': 1,
261 'variables': { 264 'variables': {
262 'resources': [ 265 'resources': [
263 'resources/colorSuggestionPicker.css', 266 'resources/colorSuggestionPicker.css',
264 'resources/colorSuggestionPicker.js', 267 'resources/colorSuggestionPicker.js',
265 ], 268 ],
266 }, 269 },
267 'inputs': [ 270 'inputs': [
268 '../build/scripts/make-file-arrays.py', 271 '../build/scripts/make-file-arrays.py',
269 '<@(resources)', 272 '<@(resources)',
270 ], 273 ],
271 'outputs': [ 274 'outputs': [
272 '<(SHARED_INTERMEDIATE_DIR)/blink/ColorSuggestionPicker. h', 275 '<(blink_web_output_dir)/ColorSuggestionPicker.h',
273 '<(SHARED_INTERMEDIATE_DIR)/blink/ColorSuggestionPicker. cpp', 276 '<(blink_web_output_dir)/ColorSuggestionPicker.cpp',
274 ], 277 ],
275 'action': [ 278 'action': [
276 'python', 279 'python',
277 '../build/scripts/make-file-arrays.py', 280 '../build/scripts/make-file-arrays.py',
278 '--out-h=<(SHARED_INTERMEDIATE_DIR)/blink/ColorSuggestio nPicker.h', 281 '--out-h=<(blink_web_output_dir)/ColorSuggestionPicker.h ',
279 '--out-cpp=<(SHARED_INTERMEDIATE_DIR)/blink/ColorSuggest ionPicker.cpp', 282 '--out-cpp=<(blink_web_output_dir)/ColorSuggestionPicker .cpp',
280 '<@(resources)', 283 '<@(resources)',
281 ], 284 ],
282 }, 285 },
283 ], 286 ],
284 }, 287 },
285 { 288 {
286 'target_name': 'blink_web_test_support', 289 'target_name': 'blink_web_test_support',
287 'conditions': [ 290 'conditions': [
288 ['component=="shared_library"', { 291 ['component=="shared_library"', {
289 'type': 'none', 292 'type': 'none',
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
330 ['clang==1', { 333 ['clang==1', {
331 'target_defaults': { 334 'target_defaults': {
332 'cflags': ['-Wglobal-constructors'], 335 'cflags': ['-Wglobal-constructors'],
333 'xcode_settings': { 336 'xcode_settings': {
334 'WARNING_CFLAGS': ['-Wglobal-constructors'], 337 'WARNING_CFLAGS': ['-Wglobal-constructors'],
335 }, 338 },
336 }, 339 },
337 }], 340 }],
338 ], # conditions 341 ], # conditions
339 } 342 }
OLDNEW
« no previous file with comments | « Source/web/DateTimeChooserImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698