Index: ppapi/shared_impl/BUILD.gn |
diff --git a/ppapi/shared_impl/BUILD.gn b/ppapi/shared_impl/BUILD.gn |
index 3b92a0a60d5a7db303ac8bc185b1bb5f4912ee69..d959831e014fdf1564240565aac5ea4e220d9045 100644 |
--- a/ppapi/shared_impl/BUILD.gn |
+++ b/ppapi/shared_impl/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") |
+ |
component("shared_impl") { |
output_name = "ppapi_shared" |
@@ -166,16 +168,12 @@ component("shared_impl") { |
deps = [ |
"//base", |
- "//base:i18n", |
- "//base/third_party/dynamic_annotations", |
"//gpu/command_buffer/client", |
"//gpu/command_buffer/client:gles2_cmd_helper", |
"//gpu/command_buffer/client:gles2_implementation", |
"//gpu/command_buffer/common", |
"//ipc", |
"//media:shared_memory_support", |
- "//third_party/icu:icuuc", |
- "//url", |
] |
if (!is_nacl) { |
@@ -186,6 +184,15 @@ component("shared_impl") { |
] |
} |
+ if (!is_nacl_nonsfi) { |
+ deps += [ |
+ "//base:i18n", |
+ "//base/third_party/dynamic_annotations", |
+ "//third_party/icu:icuuc", |
+ "//url", |
+ ] |
+ } |
+ |
if (is_mac) { |
libs = [ "QuartzCore.framework" ] |
} |