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

Unified Diff: mojo/examples/apptest/BUILD.gn

Issue 563953003: GN rules for everything in //mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 | « mojo/examples/BUILD.gn ('k') | mojo/examples/aura_demo/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/examples/apptest/BUILD.gn
diff --git a/mojo/examples/apptest/BUILD.gn b/mojo/examples/apptest/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..385266c7c00ac3ebccf47f6559e020db96a26bb6
--- /dev/null
+++ b/mojo/examples/apptest/BUILD.gn
@@ -0,0 +1,60 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+import("//mojo/public/tools/bindings/mojom.gni")
+import("//mojo/system.gni")
+
+group("apptest") {
+ testonly = true
+
+ deps = [
+ ":apptests",
+ ":service",
+ ]
+}
+
+# GYP version mojo/mojo_examples.gypi:mojo_example_service
+shared_library("service") {
+ output_name = "mojo_example_service"
+
+ sources = [
+ "example_service_application.cc",
+ "example_service_application.h",
+ "example_service_impl.cc",
+ "example_service_impl.h",
+ ]
+
+ deps = [
+ ":bindings",
+ "//mojo/public/cpp/application:standalone",
+ "//mojo/public/cpp/utility"
+ ] + mojo_system_for_shared_library
+}
+
+# GYP version: mojo/mojo_examples.gypi:mojo_example_apptests
+shared_library("apptests") {
+ output_name = "mojo_example_apptests"
+
+ testonly = true
+
+ sources = [
+ "example_apptest.cc",
+ "example_client_application.cc",
+ "example_client_application.h",
+ "example_client_impl.cc",
+ "example_client_impl.h",
+ ]
+
+ deps = [
+ ":bindings",
+ "//testing/gtest",
+ "//mojo/public/cpp/application:standalone",
+ "//mojo/public/cpp/utility",
+ ] + mojo_system_for_shared_library
+}
+
+# GYP version: mojo/mojo_examples.gypi:mojo_example_service_bindings
+mojom("bindings") {
+ sources = [ "example_service.mojom" ]
+}
« no previous file with comments | « mojo/examples/BUILD.gn ('k') | mojo/examples/aura_demo/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698