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

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

Issue 2027753003: Fix GN build for gles2_conform_test on Windows. (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 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 if (is_linux) { 135 if (is_linux) {
136 if (!is_chromeos) { 136 if (!is_chromeos) {
137 deps += [ "//build/config/linux/gtk2" ] 137 deps += [ "//build/config/linux/gtk2" ]
138 } 138 }
139 } 139 }
140 if (is_win) { 140 if (is_win) {
141 deps += [ 141 deps += [
142 "//third_party/angle:libEGL", 142 "//third_party/angle:libEGL",
143 "//third_party/angle:libGLESv2", 143 "//third_party/angle:libGLESv2",
144 ] 144 ]
145 defines = [ 145 defines += [
146 "EGLAPI=", 146 "EGLAPI=",
147 "EGLAPIENTRY=", 147 "EGLAPIENTRY=",
148 ] 148 ]
149 defines -= [ "NOMINMAX" ] 149 configs -= [ "//build/config/win:nominmax" ]
150 cflags = [ 150 cflags = [
151 "/wd4018", # signed/unsigned mismatch 151 "/wd4018", # signed/unsigned mismatch
152 "/wd4101", # unreferenced local variable 152 "/wd4101", # unreferenced local variable
153 "/wd4715", # not all control paths return a value 153 "/wd4715", # not all control paths return a value
154 "/wd4267", # size_t/unsigned int conversion 154 "/wd4267", # size_t/unsigned int conversion
155 ] 155 ]
156 } 156 }
157 if (is_mac) { 157 if (is_mac) {
158 defines = [ 158 defines += [
159 "_STDINT", 159 "_STDINT",
160 "_STDINT_H", 160 "_STDINT_H",
161 ] 161 ]
162 } 162 }
163 163
164 #'run_as': { 164 #'run_as': {
165 # 'conditions': [ 165 # 'conditions': [
166 # ['OS=="win"', { 166 # ['OS=="win"', {
167 # 'action': [ 167 # 'action': [
168 # '$(TargetPath)', 168 # '$(TargetPath)',
(...skipping 26 matching lines...) Expand all
195 ":gles2_conform_test_windowless", 195 ":gles2_conform_test_windowless",
196 ] 196 ]
197 deps += [ ":generate_gles2_conform_tests" ] 197 deps += [ ":generate_gles2_conform_tests" ]
198 sources += [ "$target_gen_dir/gles2_conform_test_autogen.cc" ] 198 sources += [ "$target_gen_dir/gles2_conform_test_autogen.cc" ]
199 data += [ "//third_party/gles2_conform/GTF_ES/" ] 199 data += [ "//third_party/gles2_conform/GTF_ES/" ]
200 200
201 # TODO: Make these tests pull in the correct data dependencies once they 201 # TODO: Make these tests pull in the correct data dependencies once they
202 # are exported in GN. Maybe from //third_party/gles2_conform/GTF_ES/ 202 # are exported in GN. Maybe from //third_party/gles2_conform/GTF_ES/
203 } 203 }
204 } 204 }
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