diff --git a/services/inspector/BUILD.gn b/services/inspector/BUILD.gn index eb52f0b00c0..c522613488f 100644 --- a/services/inspector/BUILD.gn +++ b/services/inspector/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("//mojo/public/mojo_application.gni") import("//mojo/public/tools/bindings/mojom.gni") group("inspector") { @@ -10,7 +11,7 @@ group("inspector") { ] } -shared_library("sky_inspector_server") { +mojo_native_application("sky_inspector_server") { sources = [ "server.cc", ] diff --git a/tools/debugger/BUILD.gn b/tools/debugger/BUILD.gn index 72a4a1b076d..91e581fa1d8 100644 --- a/tools/debugger/BUILD.gn +++ b/tools/debugger/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("//mojo/public/mojo_application.gni") import("//mojo/public/tools/bindings/mojom.gni") group("debugger") { @@ -13,7 +14,7 @@ group("debugger") { ] } -shared_library("sky_debugger") { +mojo_native_application("sky_debugger") { sources = [ "debugger.cc", "debugger.h", diff --git a/tools/debugger/prompt/BUILD.gn b/tools/debugger/prompt/BUILD.gn index ff6f82bd47f..59e82717357 100644 --- a/tools/debugger/prompt/BUILD.gn +++ b/tools/debugger/prompt/BUILD.gn @@ -2,7 +2,9 @@ # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. -shared_library("prompt") { +import("//mojo/public/mojo_application.gni") + +mojo_native_application("prompt") { output_name = "sky_debugger_prompt" sources = [ diff --git a/tools/tester/BUILD.gn b/tools/tester/BUILD.gn index 36fedc91ffc..e766510efaa 100644 --- a/tools/tester/BUILD.gn +++ b/tools/tester/BUILD.gn @@ -2,7 +2,9 @@ # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. -shared_library("tester") { +import("//mojo/public/mojo_application.gni") + +mojo_native_application("tester") { output_name = "sky_tester" sources = [ diff --git a/viewer/BUILD.gn b/viewer/BUILD.gn index 3a179325f1d..8f93879ca55 100644 --- a/viewer/BUILD.gn +++ b/viewer/BUILD.gn @@ -2,9 +2,10 @@ # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. +import("//mojo/public/mojo_application.gni") import("//mojo/public/tools/bindings/mojom.gni") -shared_library("viewer") { +mojo_native_application("viewer") { output_name = "sky_viewer" sources = [