Index: mojo/runner/BUILD.gn |
diff --git a/mojo/runner/BUILD.gn b/mojo/runner/BUILD.gn |
index cc0f1664814e633216bc4cc001c3b747835a6eaa..6dd9642401a1c844eab46ae42627984e3551b4ed 100644 |
--- a/mojo/runner/BUILD.gn |
+++ b/mojo/runner/BUILD.gn |
@@ -6,6 +6,10 @@ |
import("//mojo/public/mojo_application.gni") |
import("//testing/test.gni") |
import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") |
+ |
+# We don't support building in the component build since mojo apps are |
+# inherently components. |
+assert(!is_component_build) |
group("runner") { |
testonly = true |
@@ -162,12 +166,10 @@ |
":switches", |
] |
- if (!is_component_build) { |
- data_deps = [ |
- "//components/devtools_service", |
- "//mojo/services/tracing", |
- ] |
- } |
+ data_deps = [ |
+ "//components/devtools_service", |
+ "//mojo/services/tracing", |
+ ] |
if (is_android) { |
sources += [ |