| Index: chrome/test/BUILD.gn
|
| diff --git a/chrome/test/BUILD.gn b/chrome/test/BUILD.gn
|
| index 1e99e3aa744b54a8d044ee0a702264a10f1fc3d2..9a2cf2df8484851150ab165c8e2d28ddf5886929 100644
|
| --- a/chrome/test/BUILD.gn
|
| +++ b/chrome/test/BUILD.gn
|
| @@ -6,6 +6,7 @@ import("//build/config/chrome_build.gni")
|
| import("//build/config/compiler/compiler.gni")
|
| import("//build/config/crypto.gni")
|
| import("//build/config/features.gni")
|
| +import("//build/config/nacl/config.gni")
|
| import("//build/config/ui.gni")
|
| import("//chrome/chrome_tests.gni")
|
| import("//chrome/common/features.gni")
|
| @@ -522,9 +523,12 @@ if (!is_android) {
|
| if (enable_nacl) {
|
| data_deps += [
|
| "//components/nacl/loader:nacl_helper",
|
| - "//components/nacl/loader:helper_nonsfi",
|
| "//ppapi/native_client:irt",
|
| ]
|
| +
|
| + if (is_nacl_nonsfi) {
|
| + data_deps += [ "//components/nacl/loader:helper_nonsfi" ]
|
| + }
|
| }
|
|
|
| if (is_chrome_branded) {
|
| @@ -1140,10 +1144,11 @@ test("browser_tests") {
|
| [ "//build/config/win:default_large_module_incremental_linking" ]
|
| }
|
| if (is_linux) {
|
| - data_deps += [
|
| - "//components/nacl/loader:nacl_helper",
|
| - "//components/nacl/loader:helper_nonsfi",
|
| - ]
|
| + data_deps += [ "//components/nacl/loader:nacl_helper" ]
|
| +
|
| + if (is_nacl_nonsfi) {
|
| + data_deps += [ "//components/nacl/loader:helper_nonsfi" ]
|
| + }
|
| }
|
| }
|
|
|
|
|