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

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

Issue 1395573003: Build nacl_helper_nonsfi with GN (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleanup the compiler configuration Created 5 years, 2 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 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.

Powered by Google App Engine
This is Rietveld 408576698