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..dcabf99f7107b902d4c920958490f195561a2277 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. |
@@ -36,6 +38,8 @@ source_set("gles2_cmd_helper") { |
"gles2_cmd_helper_autogen.h", |
] |
+ defines = [ "GLES2_IMPL_IMPLEMENTATION" ] |
+ |
if (is_win) { |
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
cflags = [ "/wd4267" ] # size_t to int truncation. |