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

Side by Side Diff: gpu/gles2_conform_support/BUILD.gn

Issue 2085043003: gles2_conform: Suppress warnings on Win/GN. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 | « 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 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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 declare_args() { 5 declare_args() {
6 # Set to true to compile with the OpenGL ES 2.0 conformance tests. 6 # Set to true to compile with the OpenGL ES 2.0 conformance tests.
7 internal_gles2_conform_tests = false 7 internal_gles2_conform_tests = false
8 } 8 }
9 9
10 config("gles2_conform_test_warnings") { 10 config("gles2_conform_test_warnings") {
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 deps += [ 140 deps += [
141 "//third_party/angle:libEGL", 141 "//third_party/angle:libEGL",
142 "//third_party/angle:libGLESv2", 142 "//third_party/angle:libGLESv2",
143 ] 143 ]
144 defines += [ 144 defines += [
145 "EGLAPI=", 145 "EGLAPI=",
146 "EGLAPIENTRY=", 146 "EGLAPIENTRY=",
147 ] 147 ]
148 configs -= [ "//build/config/win:nominmax" ] 148 configs -= [ "//build/config/win:nominmax" ]
149 cflags = [ 149 cflags = [
150 "/wd4013", # undefined function, assuming extern returning int
150 "/wd4018", # signed/unsigned mismatch 151 "/wd4018", # signed/unsigned mismatch
152 "/wd4054", # type cast from function pointer to data pointer
153 "/wd4057", # non-constant aggregate initializer
151 "/wd4101", # unreferenced local variable 154 "/wd4101", # unreferenced local variable
155 "/wd4189", # local variable is initialized but not referenced
156 "/wd4204", # non-constant aggregate initializer
157 "/wd4245", # conversion between int/uint
158 "/wd4389", # signed/unsigned comparison
159 "/wd4701", # potentially uninitialized variable used
160 "/wd4703", # potentially uninitialized pointer variable used
161 "/wd4706", # assignment within conditional expression
152 "/wd4715", # not all control paths return a value 162 "/wd4715", # not all control paths return a value
163 "/wd4716", # function must return a value
153 "/wd4267", # size_t/unsigned int conversion 164 "/wd4267", # size_t/unsigned int conversion
154 ] 165 ]
155 } 166 }
156 if (is_mac) { 167 if (is_mac) {
157 defines += [ 168 defines += [
158 "_STDINT", 169 "_STDINT",
159 "_STDINT_H", 170 "_STDINT_H",
160 ] 171 ]
161 } 172 }
162 173
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 ":gles2_conform_test_windowless", 205 ":gles2_conform_test_windowless",
195 ] 206 ]
196 deps += [ ":generate_gles2_conform_tests" ] 207 deps += [ ":generate_gles2_conform_tests" ]
197 sources += [ "$target_gen_dir/gles2_conform_test_autogen.cc" ] 208 sources += [ "$target_gen_dir/gles2_conform_test_autogen.cc" ]
198 data += [ "//third_party/gles2_conform/GTF_ES/" ] 209 data += [ "//third_party/gles2_conform/GTF_ES/" ]
199 210
200 # TODO: Make these tests pull in the correct data dependencies once they 211 # TODO: Make these tests pull in the correct data dependencies once they
201 # are exported in GN. Maybe from //third_party/gles2_conform/GTF_ES/ 212 # are exported in GN. Maybe from //third_party/gles2_conform/GTF_ES/
202 } 213 }
203 } 214 }
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