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

Side by Side Diff: third_party/yasm/yasm.gyp

Issue 9411001: clang: -Wswitch warning tweaks. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: icu 122103 Created 8 years, 10 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 | « DEPS ('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 # 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 # The yasm build process creates a slew of small C subprograms that 5 # The yasm build process creates a slew of small C subprograms that
6 # dynamically generate files at various point in the build process. This makes 6 # dynamically generate files at various point in the build process. This makes
7 # the build integration moderately complex. 7 # the build integration moderately complex.
8 # 8 #
9 # There are three classes of dynamically generated files: 9 # There are three classes of dynamically generated files:
10 # 1) C source files that should be included in the build (eg., lc3bid.c) 10 # 1) C source files that should be included in the build (eg., lc3bid.c)
(...skipping 527 matching lines...) Expand 10 before | Expand all | Expand 10 after
538 '<@(yasm_include_dirs)', 538 '<@(yasm_include_dirs)',
539 ], 539 ],
540 'cflags': [ 540 'cflags': [
541 '-std=gnu99', 541 '-std=gnu99',
542 ], 542 ],
543 'conditions': [ 543 'conditions': [
544 ['clang==1', { 544 ['clang==1', {
545 'xcode_settings': { 545 'xcode_settings': {
546 'WARNING_CFLAGS': [ 546 'WARNING_CFLAGS': [
547 # re2c is missing CLOSEVOP from one switch. 547 # re2c is missing CLOSEVOP from one switch.
548 '-Wno-switch-enum', 548 '-Wno-switch',
549 ], 549 ],
550 }, 550 },
551 'cflags': [ 551 'cflags': [
552 '-Wno-switch-enum', 552 '-Wno-switch',
553 ], 553 ],
554 }], 554 }],
555 ], 555 ],
556 }, 556 },
557 { 557 {
558 'target_name': 'genmodule', 558 'target_name': 'genmodule',
559 'type': 'executable', 559 'type': 'executable',
560 'toolsets': ['host'], 560 'toolsets': ['host'],
561 'dependencies': [ 561 'dependencies': [
562 'config_sources', 562 'config_sources',
563 ], 563 ],
564 'sources': [ 564 'sources': [
565 'source/patched-yasm/libyasm/genmodule.c', 565 'source/patched-yasm/libyasm/genmodule.c',
566 ], 566 ],
567 'include_dirs': [ 567 'include_dirs': [
568 '<@(yasm_include_dirs)', 568 '<@(yasm_include_dirs)',
569 569
570 ], 570 ],
571 'cflags': [ 571 'cflags': [
572 '-std=gnu99', 572 '-std=gnu99',
573 ], 573 ],
574 }, 574 },
575 ], 575 ],
576 } 576 }
OLDNEW
« no previous file with comments | « DEPS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698