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

Unified Diff: chrome/test/BUILD.gn

Issue 2242893002: [MIPS] Adding NaCl/PNaCl support for mipsel to GN (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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: 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" ]
+ }
}
}

Powered by Google App Engine
This is Rietveld 408576698