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

Unified Diff: services/shell/tests/connect/BUILD.gn

Issue 2164503006: Rename mojo_application GN templates to service* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 5 months 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 | « services/shell/tests/BUILD.gn ('k') | services/shell/tests/lifecycle/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/shell/tests/connect/BUILD.gn
diff --git a/services/shell/tests/connect/BUILD.gn b/services/shell/tests/connect/BUILD.gn
index 74c5bfb2544897a36146032a48f12c4378496d7b..6d5f70b60a577842835151111376a074314388ed 100644
--- a/services/shell/tests/connect/BUILD.gn
+++ b/services/shell/tests/connect/BUILD.gn
@@ -2,8 +2,8 @@
# 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/mojo_application_manifest.gni")
+import("//services/shell/public/cpp/service.gni")
+import("//services/shell/public/service_manifest.gni")
import("//mojo/public/tools/bindings/mojom.gni")
import("//testing/test.gni")
@@ -43,22 +43,22 @@ mojom("interfaces") {
use_new_wrapper_types = false
}
-mojo_application_manifest("manifest") {
- application_name = "connect_unittests"
+service_manifest("manifest") {
+ name = "connect_unittests"
source = "connect_unittests_manifest.json"
}
-mojo_application_manifest("connect_test_a_manifest") {
- application_name = "connect_test_a"
+service_manifest("connect_test_a_manifest") {
+ name = "connect_test_a"
source = "connect_test_app_a_manifest.json"
}
-mojo_application_manifest("connect_test_b_manifest") {
- application_name = "connect_test_b"
+service_manifest("connect_test_b_manifest") {
+ name = "connect_test_b"
source = "connect_test_app_b_manifest.json"
}
-mojo_native_application("connect_test_package") {
+service("connect_test_package") {
testonly = true
sources = [
"connect_test_package.cc",
@@ -75,20 +75,20 @@ mojo_native_application("connect_test_package") {
]
}
-mojo_application_manifest("connect_test_package_manifest") {
- application_name = "connect_test_package"
+service_manifest("connect_test_package_manifest") {
+ name = "connect_test_package"
source = "connect_test_package_manifest.json"
deps = [
":connect_test_a_manifest",
":connect_test_b_manifest",
]
- packaged_applications = [
+ packaged_services = [
"connect_test_a",
"connect_test_b",
]
}
-mojo_native_application("connect_test_app") {
+service("connect_test_app") {
testonly = true
sources = [
"connect_test_app.cc",
@@ -105,12 +105,12 @@ mojo_native_application("connect_test_app") {
]
}
-mojo_application_manifest("connect_test_app_manifest") {
- application_name = "connect_test_app"
+service_manifest("connect_test_app_manifest") {
+ name = "connect_test_app"
source = "connect_test_app_manifest.json"
}
-mojo_native_application("connect_test_class_app") {
+service("connect_test_class_app") {
testonly = true
sources = [
"connect_test_class_app.cc",
@@ -127,12 +127,12 @@ mojo_native_application("connect_test_class_app") {
]
}
-mojo_application_manifest("connect_test_class_app_manifest") {
- application_name = "connect_test_class_app"
+service_manifest("connect_test_class_app_manifest") {
+ name = "connect_test_class_app"
source = "connect_test_class_app_manifest.json"
}
-mojo_native_application("connect_test_singleton_app") {
+service("connect_test_singleton_app") {
testonly = true
sources = [
"connect_test_singleton_app.cc",
@@ -147,8 +147,8 @@ mojo_native_application("connect_test_singleton_app") {
]
}
-mojo_application_manifest("connect_test_singleton_app_manifest") {
- application_name = "connect_test_singleton_app"
+service_manifest("connect_test_singleton_app_manifest") {
+ name = "connect_test_singleton_app"
source = "connect_test_singleton_app_manifest.json"
}
@@ -173,9 +173,9 @@ executable("connect_test_driver") {
]
}
-mojo_application_manifest("connect_test_driver_manifest") {
+service_manifest("connect_test_driver_manifest") {
type = "exe"
- application_name = "connect_test_driver"
+ name = "connect_test_driver"
source = "connect_test_driver_manifest.json"
}
@@ -199,8 +199,8 @@ executable("connect_test_exe") {
]
}
-mojo_application_manifest("connect_test_exe_manifest") {
+service_manifest("connect_test_exe_manifest") {
type = "exe"
- application_name = "connect_test_exe"
+ name = "connect_test_exe"
source = "connect_test_exe_manifest.json"
}
« no previous file with comments | « services/shell/tests/BUILD.gn ('k') | services/shell/tests/lifecycle/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698