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

Unified Diff: 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
« no previous file with comments | « no previous file | build/config/compiler/BUILD.gn » ('j') | build/config/compiler/BUILD.gn » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: BUILD.gn
diff --git a/BUILD.gn b/BUILD.gn
index 4923c388bb27e9f3a98dafee3aac7c8850d5260f..5875413b77c54dcc80dcba77be0a83e2335f6426 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -10,6 +10,7 @@
import("//build/config/compiler/compiler.gni")
import("//build/config/features.gni")
+import("//build/config/nacl/config.gni")
import("//build/config/sanitizers/sanitizers.gni")
import("//build/config/ui.gni")
import("//build_overrides/v8.gni")
@@ -561,11 +562,14 @@ group("both_gn_and_gyp") {
if (is_linux) {
# TODO(dpranke): Figure out what platforms should actually have this.
- deps += [
- "//components/nacl/loader:helper_nonsfi",
- "//components/nacl/loader:nacl_helper",
- "//components/nacl/loader:nacl_helper_nonsfi_unittests",
- ]
+ deps += [ "//components/nacl/loader:nacl_helper" ]
+
+ if (is_nacl_nonsfi) {
+ deps += [
+ "//components/nacl/loader:helper_nonsfi",
+ "//components/nacl/loader:nacl_helper_nonsfi_unittests",
+ ]
+ }
}
}
« no previous file with comments | « no previous file | build/config/compiler/BUILD.gn » ('j') | build/config/compiler/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698