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

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

Issue 439113002: Convert another clang warning that I missed in r287137. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 | « no previous file | 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 516 matching lines...) Expand 10 before | Expand all | Expand 10 after
527 'source/patched-yasm/tools/re2c/mbo_getopt.c', 527 'source/patched-yasm/tools/re2c/mbo_getopt.c',
528 'source/patched-yasm/tools/re2c/substr.c', 528 'source/patched-yasm/tools/re2c/substr.c',
529 'source/patched-yasm/tools/re2c/translate.c', 529 'source/patched-yasm/tools/re2c/translate.c',
530 ], 530 ],
531 'include_dirs': [ 531 'include_dirs': [
532 '<@(yasm_include_dirs)', 532 '<@(yasm_include_dirs)',
533 ], 533 ],
534 'cflags': [ 534 'cflags': [
535 '-std=gnu99', 535 '-std=gnu99',
536 ], 536 ],
537 'conditions': [ 537 'variables': {
538 ['clang==1', { 538 # re2c is missing CLOSEVOP from one switch.
539 'xcode_settings': { 539 'clang_warning_flags': [ '-Wno-switch' ],
540 'WARNING_CFLAGS': [ 540 },
541 # re2c is missing CLOSEVOP from one switch.
542 '-Wno-switch',
543 ],
544 },
545 'cflags': [
546 '-Wno-switch',
547 ],
548 }],
549 ],
550 'msvs_disabled_warnings': [ 4267 ], 541 'msvs_disabled_warnings': [ 4267 ],
551 }, 542 },
552 { 543 {
553 'target_name': 'genmodule', 544 'target_name': 'genmodule',
554 'type': 'executable', 545 'type': 'executable',
555 'toolsets': ['host'], 546 'toolsets': ['host'],
556 'dependencies': [ 547 'dependencies': [
557 'config_sources', 548 'config_sources',
558 ], 549 ],
559 'sources': [ 550 'sources': [
560 'source/patched-yasm/libyasm/genmodule.c', 551 'source/patched-yasm/libyasm/genmodule.c',
561 ], 552 ],
562 'include_dirs': [ 553 'include_dirs': [
563 '<@(yasm_include_dirs)', 554 '<@(yasm_include_dirs)',
564 555
565 ], 556 ],
566 'cflags': [ 557 'cflags': [
567 '-std=gnu99', 558 '-std=gnu99',
568 ], 559 ],
569 }, 560 },
570 ], 561 ],
571 } 562 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698