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

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

Issue 429793006: Update several clang warnings after r287092. (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 | « third_party/mesa/mesa_gensrc.gypi ('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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 'dependencies': [ 64 'dependencies': [
65 'config_sources', 65 'config_sources',
66 'genmacro', 66 'genmacro',
67 'genmodule', 67 'genmodule',
68 'genperf', 68 'genperf',
69 'genperf_libs', 69 'genperf_libs',
70 'generate_files', # Needed to generate gperf and instruction files. 70 'generate_files', # Needed to generate gperf and instruction files.
71 'genstring', 71 'genstring',
72 're2c', 72 're2c',
73 ], 73 ],
74 'variables': {
75 'clang_warning_flags': [
76 # yasm passes a `const elf_machine_sym*` through `void*`.
77 '-Wno-incompatible-pointer-types',
78 ],
79 },
74 'sources': [ 80 'sources': [
75 'source/patched-yasm/frontends/yasm/yasm-options.c', 81 'source/patched-yasm/frontends/yasm/yasm-options.c',
76 'source/patched-yasm/frontends/yasm/yasm.c', 82 'source/patched-yasm/frontends/yasm/yasm.c',
77 'source/patched-yasm/libyasm/assocdat.c', 83 'source/patched-yasm/libyasm/assocdat.c',
78 'source/patched-yasm/libyasm/bc-align.c', 84 'source/patched-yasm/libyasm/bc-align.c',
79 'source/patched-yasm/libyasm/bc-data.c', 85 'source/patched-yasm/libyasm/bc-data.c',
80 'source/patched-yasm/libyasm/bc-incbin.c', 86 'source/patched-yasm/libyasm/bc-incbin.c',
81 'source/patched-yasm/libyasm/bc-org.c', 87 'source/patched-yasm/libyasm/bc-org.c',
82 'source/patched-yasm/libyasm/bc-reserve.c', 88 'source/patched-yasm/libyasm/bc-reserve.c',
83 'source/patched-yasm/libyasm/bitvect.c', 89 'source/patched-yasm/libyasm/bitvect.c',
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 '<(shared_generated_dir)/x86cpu.c', 157 '<(shared_generated_dir)/x86cpu.c',
152 '<(shared_generated_dir)/x86regtmod.c', 158 '<(shared_generated_dir)/x86regtmod.c',
153 ], 159 ],
154 'include_dirs': [ 160 'include_dirs': [
155 '<@(yasm_include_dirs)', 161 '<@(yasm_include_dirs)',
156 '<(shared_generated_dir)', 162 '<(shared_generated_dir)',
157 '<(generated_dir)', 163 '<(generated_dir)',
158 ], 164 ],
159 'defines': [ '<@(yasm_defines)' ], 165 'defines': [ '<@(yasm_defines)' ],
160 'cflags': [ '<@(yasm_cflags)', ], 166 'cflags': [ '<@(yasm_cflags)', ],
161 'conditions': [
162 ['clang==1', {
163 'xcode_settings': {
164 'WARNING_CFLAGS': [
165 # yasm passes a `const elf_machine_sym*` through `void*`.
166 '-Wno-incompatible-pointer-types',
167 ],
168 },
169 'cflags': [
170 '-Wno-incompatible-pointer-types',
171 ],
172 }],
173 ],
174 'msvs_disabled_warnings': [ 4267 ], 167 'msvs_disabled_warnings': [ 4267 ],
175 'rules': [ 168 'rules': [
176 { 169 {
177 'rule_name': 'generate_gperf', 170 'rule_name': 'generate_gperf',
178 'extension': 'gperf', 171 'extension': 'gperf',
179 'inputs': [ '<(PRODUCT_DIR)/' 172 'inputs': [ '<(PRODUCT_DIR)/'
180 '<(EXECUTABLE_PREFIX)genperf<(EXECUTABLE_SUFFIX)' ], 173 '<(EXECUTABLE_PREFIX)genperf<(EXECUTABLE_SUFFIX)' ],
181 'outputs': [ 174 'outputs': [
182 '<(generated_dir)/<(RULE_INPUT_ROOT).c', 175 '<(generated_dir)/<(RULE_INPUT_ROOT).c',
183 ], 176 ],
(...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after
569 'include_dirs': [ 562 'include_dirs': [
570 '<@(yasm_include_dirs)', 563 '<@(yasm_include_dirs)',
571 564
572 ], 565 ],
573 'cflags': [ 566 'cflags': [
574 '-std=gnu99', 567 '-std=gnu99',
575 ], 568 ],
576 }, 569 },
577 ], 570 ],
578 } 571 }
OLDNEW
« no previous file with comments | « third_party/mesa/mesa_gensrc.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698