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

Unified Diff: apps/BUILD.gn

Issue 1525043002: Enabling Skia / Moterm to build with PNaCl Newlib toolchain (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years 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 | examples/BUILD.gn » ('j') | skia/BUILD.gn » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: apps/BUILD.gn
diff --git a/apps/BUILD.gn b/apps/BUILD.gn
index d5585a8abf0033774996db87f49d9164be9bba1f..8691ffd0740416c61e54f027112b3358341673c6 100644
--- a/apps/BUILD.gn
+++ b/apps/BUILD.gn
@@ -2,18 +2,32 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-group("apps") {
+import("//build/config/nacl/config.gni")
+
+group("portable_apps") {
Mark Seaborn 2015/12/16 21:20:37 Maybe add a comment to explain that "portable" mea
Sean Klein 2015/12/16 22:34:02 Done.
testonly = true
deps = [
- "//apps/benchmark",
- "//apps/benchmark:apptests",
"//apps/moterm",
"//apps/moterm:apptests",
"//apps/moterm:gl_helper_test_app",
]
+}
+
+group("apps") {
+ testonly = true
+
+ deps = [
+ ":portable_apps",
+ "//apps/benchmark",
+ "//apps/benchmark:apptests",
+ ]
if (is_android) {
deps += [ "//apps/shortcut" ]
}
+
+ if (mojo_use_nacl && (is_linux || is_android) && !is_asan) {
Mark Seaborn 2015/12/16 21:20:37 Can you drop "&& (is_linux || is_android) && !is_a
Sean Klein 2015/12/16 22:34:03 Done.
+ deps += [ ":portable_apps(//build/toolchain/nacl:newlib_pnacl)" ]
+ }
}
« no previous file with comments | « no previous file | examples/BUILD.gn » ('j') | skia/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698