Build nacl_helper_nonsfi with GN
Support building nacl_helper_nonsfi under GN.
BUG=462791
Review URL: https://codereview.chromium.org/1395573003
Cr-Commit-Position: refs/heads/master@{#356234}
diff --git a/ppapi/proxy/BUILD.gn b/ppapi/proxy/BUILD.gn
index e3bd8c5..7500a74 100644
--- a/ppapi/proxy/BUILD.gn
+++ b/ppapi/proxy/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")
+
config("proxy_implementation") {
defines = [ "PPAPI_PROXY_IMPLEMENTATION" ]
}
@@ -281,7 +283,6 @@
"//ppapi/c",
"//ppapi/proxy:ipc_sources",
"//ppapi/shared_impl",
- "//third_party/icu",
]
if (!is_nacl) {
@@ -293,6 +294,10 @@
"//ui/surface",
]
}
+
+ if (!is_nacl_nonsfi) {
+ deps += [ "//third_party/icu" ]
+ }
}
group("ipc") {