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", |