summaryrefslogtreecommitdiffstats
path: root/mojo/BUILD.gn
diff options
context:
space:
mode:
authorjam <jam@chromium.org>2015-11-06 09:16:29 -0800
committerCommit bot <commit-bot@chromium.org>2015-11-06 17:18:01 +0000
commit08c85fbce2720dfc1717c1f7d48aacad00c9c3c7 (patch)
tree7ba30fb933ea629d5c4f47bc21847ecdaa268e63 /mojo/BUILD.gn
parent35b1c5a2321733b7b08e269d9eadcd3e67012aea (diff)
downloadchromium_src-08c85fbce2720dfc1717c1f7d48aacad00c9c3c7.zip
chromium_src-08c85fbce2720dfc1717c1f7d48aacad00c9c3c7.tar.gz
chromium_src-08c85fbce2720dfc1717c1f7d48aacad00c9c3c7.tar.bz2
Get Mandoline working in component build.
Since state is now shared between apps and the shell, there could be bugs that don't exist in static builds. Running in multi-process (default for Mandoline now) makes this less of an issue, since no apps will share state. There's very little code that runs in the shell in a child process. --single-process works for now, but that could have more issues down the line. For now, this is really a developer productivity feature, just like component build in Chrome. BUG=550498 Review URL: https://codereview.chromium.org/1410693004 Cr-Commit-Position: refs/heads/master@{#358343}
Diffstat (limited to 'mojo/BUILD.gn')
-rw-r--r--mojo/BUILD.gn24
1 files changed, 10 insertions, 14 deletions
diff --git a/mojo/BUILD.gn b/mojo/BUILD.gn
index 04f79cb..584421b 100644
--- a/mojo/BUILD.gn
+++ b/mojo/BUILD.gn
@@ -24,9 +24,7 @@ group("mojo") {
deps += [ "//mojo/android" ]
}
- if (!is_component_build) {
- deps += [ "//mojo/runner" ]
- }
+ deps += [ "//mojo/runner" ]
}
# TODO(GYP): Delete this after we've converted everything to GN.
@@ -96,17 +94,15 @@ group("tests") {
"//third_party/mojo/src/mojo/edk/test:mojo_public_utility_unittests",
]
- if (!is_component_build) {
- deps += [
- "//mojo/package_manager:unittests",
- "//mojo/runner:apptests",
- "//mojo/runner:mojo_runner_unittests",
- "//mojo/services/network:apptests",
- "//mojo/shell:mojo_shell_unittests",
- ]
+ deps += [
+ "//mojo/package_manager:unittests",
+ "//mojo/runner:apptests",
+ "//mojo/runner:mojo_runner_unittests",
+ "//mojo/services/network:apptests",
+ "//mojo/shell:mojo_shell_unittests",
+ ]
- if (is_android) {
- deps += [ "//mojo/runner:mojo_runner_apptests_apk" ]
- }
+ if (is_android) {
+ deps += [ "//mojo/runner:mojo_runner_apptests_apk" ]
}
}