Index: gpu/command_buffer/client/BUILD.gn |
diff --git a/gpu/command_buffer/client/BUILD.gn b/gpu/command_buffer/client/BUILD.gn |
index bbb7c0b99d1de1309dbc17f71a92ff2c804b229b..555773cb83fcc3c7fb59585ffc33d16a2d892095 100644 |
--- a/gpu/command_buffer/client/BUILD.gn |
+++ b/gpu/command_buffer/client/BUILD.gn |
@@ -2,6 +2,8 @@ |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
+import("//build/config/nacl/config.gni") |
+ |
# The files here go into the "gpu" component in a component build (with |
# "command_buffer_client" and "gles2_cmd_helper" just forwarding) and goes into |
# separate static libraries in non-component build. This needs to match the |
@@ -146,8 +148,11 @@ component("gles2_implementation") { |
":gles2_interface", |
"//base", |
"//gpu/command_buffer/common:gles2_utils", |
- "//ui/gfx/geometry", |
] |
+ |
+ if (!is_nacl_nonsfi) { |
+ deps += [ "//ui/gfx/geometry" ] |
+ } |
} |
# Library emulates GLES2 using command_buffers. |