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

Unified Diff: services/native_support/BUILD.gn

Issue 1321253010: Add a "native_support" service. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: fix android? Created 5 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 | « services/BUILD.gn ('k') | services/native_support/main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/native_support/BUILD.gn
diff --git a/services/native_support/BUILD.gn b/services/native_support/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..bf72192fc10bb76424d2bdd81da391f660f4ef30
--- /dev/null
+++ b/services/native_support/BUILD.gn
@@ -0,0 +1,58 @@
+# Copyright 2015 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/mojo_application.gni")
+
+mojo_native_application("native_support") {
+ sources = [
+ "main.cc",
+ "make_pty_pair.cc",
+ "make_pty_pair.h",
+ "process_controller_impl.cc",
+ "process_controller_impl.h",
+ "process_impl.cc",
+ "process_impl.h",
+ "process_io_redirection.cc",
+ "process_io_redirection.h",
+ "redirectors.cc",
+ "redirectors.h",
+ ]
+
+ deps = [
+ "//base",
+ "//mojo/application",
+ "//mojo/common",
+ "//mojo/public/cpp/application",
+ "//mojo/public/cpp/bindings:callback",
+ "//mojo/public/cpp/system",
+ "//mojo/services/files/public/interfaces",
+ "//mojo/services/native_support/public/interfaces",
+ ]
+}
+
+mojo_native_application("apptests") {
+ output_name = "native_support_apptests"
+
+ testonly = true
+
+ sources = [
+ "process_controller_impl_unittest.cc",
+ "process_impl_unittest.cc",
+ "process_test_base.cc",
+ "process_test_base.h",
+ ]
+
+ deps = [
+ "//base",
+ "//mojo/application",
+ "//mojo/application:test_support",
+ "//mojo/public/cpp/bindings",
+ "//mojo/public/cpp/system",
+ "//mojo/services/files/public/cpp:files_impl",
+ "//mojo/services/files/public/interfaces",
+ "//mojo/services/native_support/public/interfaces",
+ ]
+
+ data_deps = [ ":native_support($default_toolchain)" ]
+}
« no previous file with comments | « services/BUILD.gn ('k') | services/native_support/main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698