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

Unified Diff: examples/BUILD.gn

Issue 1443483004: Adding --no-nacl to gn disables nonsfi and sfi nacl from building. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 1 month 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 | « build/config/nacl/config.gni ('k') | mojo/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: examples/BUILD.gn
diff --git a/examples/BUILD.gn b/examples/BUILD.gn
index 89e9cfcc22fa74f0bb7dc5ac3061cd888b520cae..1c4a13a8c9ec06f1440cb1722e674cd68beb10a5 100644
--- a/examples/BUILD.gn
+++ b/examples/BUILD.gn
@@ -2,6 +2,7 @@
# 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")
import("//build/config/ui.gni")
# Collection of examples which are currently capable of being built as pexes.
@@ -77,7 +78,7 @@ group("examples") {
deps += [ "//examples/python" ]
}
- if ((is_linux || is_android) && !is_asan) {
+ if (mojo_use_nacl && (is_linux || is_android) && !is_asan) {
deps += [ ":portable_examples(//build/toolchain/nacl:newlib_pnacl)" ]
}
}
« no previous file with comments | « build/config/nacl/config.gni ('k') | mojo/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698