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

Unified 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, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/gles2_conform_support/BUILD.gn
diff --git a/gpu/gles2_conform_support/BUILD.gn b/gpu/gles2_conform_support/BUILD.gn
index 5867daf552d3decfe41b240835f0621908073969..06b796f3f9870f0428c04a054c89eb9313f90f71 100644
--- a/gpu/gles2_conform_support/BUILD.gn
+++ b/gpu/gles2_conform_support/BUILD.gn
@@ -142,11 +142,11 @@ if (internal_gles2_conform_tests) {
"//third_party/angle:libEGL",
"//third_party/angle:libGLESv2",
]
- defines = [
+ defines += [
"EGLAPI=",
"EGLAPIENTRY=",
]
- defines -= [ "NOMINMAX" ]
+ configs -= [ "//build/config/win:nominmax" ]
cflags = [
"/wd4018", # signed/unsigned mismatch
"/wd4101", # unreferenced local variable
@@ -155,7 +155,7 @@ if (internal_gles2_conform_tests) {
]
}
if (is_mac) {
- defines = [
+ defines += [
"_STDINT",
"_STDINT_H",
]
« 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