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

Unified Diff: gpu/command_buffer/client/BUILD.gn

Issue 371903003: Add missing files/deps/defines (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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
Index: gpu/command_buffer/client/BUILD.gn
diff --git a/gpu/command_buffer/client/BUILD.gn b/gpu/command_buffer/client/BUILD.gn
index 91dcddbc9e682c2cdf33939639fee7846757e50b..40b48075300a6475cf3fcbce5d7540f55717fe40 100644
--- a/gpu/command_buffer/client/BUILD.gn
+++ b/gpu/command_buffer/client/BUILD.gn
@@ -17,6 +17,8 @@ source_set("client") {
"transfer_buffer.h",
]
+ defines = [ "GPU_IMPLEMENTATION" ]
+
if (is_win) {
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
cflags = [ "/wd4267" ] # size_t to int truncation.
@@ -30,6 +32,7 @@ source_set("client") {
}
source_set("gles2_cmd_helper") {
+ defines = [ "GLES2_IMPL_IMPLEMENTATION" ]
brettw 2014/07/08 21:58:33 Can you put this below the sources?
sources = [
"gles2_cmd_helper.cc",
"gles2_cmd_helper.h",

Powered by Google App Engine
This is Rietveld 408576698