| Index: mojo/runner/BUILD.gn
|
| diff --git a/mojo/runner/BUILD.gn b/mojo/runner/BUILD.gn
|
| index 6dd9642401a1c844eab46ae42627984e3551b4ed..cc0f1664814e633216bc4cc001c3b747835a6eaa 100644
|
| --- a/mojo/runner/BUILD.gn
|
| +++ b/mojo/runner/BUILD.gn
|
| @@ -7,10 +7,6 @@ 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
|
|
|
| @@ -166,10 +162,12 @@ source_set("lib") {
|
| ":switches",
|
| ]
|
|
|
| - data_deps = [
|
| - "//components/devtools_service",
|
| - "//mojo/services/tracing",
|
| - ]
|
| + if (!is_component_build) {
|
| + data_deps = [
|
| + "//components/devtools_service",
|
| + "//mojo/services/tracing",
|
| + ]
|
| + }
|
|
|
| if (is_android) {
|
| sources += [
|
|
|