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

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

Issue 203743002: Fix "unreachable code" warnings (MSVC warning 4702) in Blink. (Closed) Base URL: svn://svn.chromium.org/blink/trunk/
Patch Set: Created 6 years, 9 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
OLDNEW
1 # 1 #
2 # Copyright (C) 2009 Google Inc. All rights reserved. 2 # Copyright (C) 2009 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 318 matching lines...) Expand 10 before | Expand all | Expand 10 after
329 ], 329 ],
330 'conditions': [ 330 'conditions': [
331 ['OS=="win" and component=="shared_library"', { 331 ['OS=="win" and component=="shared_library"', {
332 'defines': [ 332 'defines': [
333 'USING_V8_SHARED', 333 'USING_V8_SHARED',
334 ], 334 ],
335 }], 335 }],
336 ['OS=="win"', { 336 ['OS=="win"', {
337 # In generated bindings code: 'switch contains default but no case'. 337 # In generated bindings code: 'switch contains default but no case'.
338 # Disable c4267 warnings until we fix size_t to int truncations. 338 # Disable c4267 warnings until we fix size_t to int truncations.
339 'msvs_disabled_warnings': [ 4065, 4267 ], 339 # 4702 is disabled because of issues in Bison-generated
340 # XPathGrammar.cpp and CSSGrammar.cpp.
341 'msvs_disabled_warnings': [ 4065, 4267, 4702 ],
340 }], 342 }],
341 ['OS in ("linux", "android") and "WTF_USE_WEBAUDIO_IPP=1" in feature_def ines', { 343 ['OS in ("linux", "android") and "WTF_USE_WEBAUDIO_IPP=1" in feature_def ines', {
342 'cflags': [ 344 'cflags': [
343 '<!@(pkg-config --cflags-only-I ipp)', 345 '<!@(pkg-config --cflags-only-I ipp)',
344 ], 346 ],
345 }], 347 }],
346 ], 348 ],
347 }, 349 },
348 { 350 {
349 # We'll soon split libwebcore in multiple smaller libraries. 351 # We'll soon split libwebcore in multiple smaller libraries.
(...skipping 475 matching lines...) Expand 10 before | Expand all | Expand 10 after
825 '<(SHARED_INTERMEDIATE_DIR)/blink/bindings/V8LayerRect.h', 827 '<(SHARED_INTERMEDIATE_DIR)/blink/bindings/V8LayerRect.h',
826 '<(SHARED_INTERMEDIATE_DIR)/blink/bindings/V8LayerRectList.cpp', 828 '<(SHARED_INTERMEDIATE_DIR)/blink/bindings/V8LayerRectList.cpp',
827 '<(SHARED_INTERMEDIATE_DIR)/blink/bindings/V8LayerRectList.h', 829 '<(SHARED_INTERMEDIATE_DIR)/blink/bindings/V8LayerRectList.h',
828 ], 830 ],
829 'sources/': [ 831 'sources/': [
830 ['exclude', 'testing/js'], 832 ['exclude', 'testing/js'],
831 ], 833 ],
832 }, 834 },
833 ], # targets 835 ], # targets
834 } 836 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698