Index: gpu/BUILD.gn |
diff --git a/gpu/BUILD.gn b/gpu/BUILD.gn |
index 502bc0aa467a51a430d87fe3939551f918a2ad36..79919dfcefa7512abc7c5bbef6be55378d1efe74 100644 |
--- a/gpu/BUILD.gn |
+++ b/gpu/BUILD.gn |
@@ -35,6 +35,10 @@ |
import("//testing/test.gni") |
import("//build/config/ui.gni") |
+config("gpu_implementation") { |
+ defines = [ "GPU_IMPLEMENTATION" ] |
+} |
+ |
component("gpu") { |
public_deps = [ |
"//gpu/command_buffer/client", |
@@ -54,6 +58,8 @@ source_set("test_support") { |
"command_buffer/service/gles2_cmd_decoder_mock.cc", |
] |
+ configs += [ ":gpu_implementation" ] |
+ |
public_deps = [ |
":gpu", |
"//gpu/command_buffer/client:gles2_interface", |