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)" ] |
+} |