| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import("//mojo/public/mojo_application.gni") | 5 import("//mojo/public/mojo_application.gni") |
| 6 | 6 |
| 7 mojo_native_application("native_support") { | 7 mojo_native_application("native_support") { |
| 8 sources = [ | 8 sources = [ |
| 9 "main.cc", | 9 "main.cc", |
| 10 "make_pty_pair.cc", | 10 "make_pty_pair.cc", |
| 11 "make_pty_pair.h", | 11 "make_pty_pair.h", |
| 12 "process_controller_impl.cc", | 12 "process_controller_impl.cc", |
| 13 "process_controller_impl.h", | 13 "process_controller_impl.h", |
| 14 "process_impl.cc", | 14 "process_impl.cc", |
| 15 "process_impl.h", | 15 "process_impl.h", |
| 16 "process_io_redirection.cc", | 16 "process_io_redirection.cc", |
| 17 "process_io_redirection.h", | 17 "process_io_redirection.h", |
| 18 "redirectors.cc", | 18 "redirectors.cc", |
| 19 "redirectors.h", | 19 "redirectors.h", |
| 20 ] | 20 ] |
| 21 | 21 |
| 22 deps = [ | 22 deps = [ |
| 23 "//base", | 23 "//base", |
| 24 "//mojo/application", | 24 "//mojo/application", |
| 25 "//mojo/common", | 25 "//mojo/common", |
| 26 "//mojo/public/cpp/application", | 26 "//mojo/public/cpp/application", |
| 27 "//mojo/public/cpp/bindings:callback", | 27 "//mojo/public/cpp/bindings:callback", |
| 28 "//mojo/public/cpp/system", | 28 "//mojo/public/cpp/system", |
| 29 "//mojo/services/files/interfaces", | 29 "//mojo/services/files/interfaces", |
| 30 "//mojo/services/native_support/public/interfaces", | 30 "//mojo/services/native_support/interfaces", |
| 31 ] | 31 ] |
| 32 } | 32 } |
| 33 | 33 |
| 34 mojo_native_application("apptests") { | 34 mojo_native_application("apptests") { |
| 35 output_name = "native_support_apptests" | 35 output_name = "native_support_apptests" |
| 36 | 36 |
| 37 testonly = true | 37 testonly = true |
| 38 | 38 |
| 39 sources = [ | 39 sources = [ |
| 40 "process_controller_impl_unittest.cc", | 40 "process_controller_impl_unittest.cc", |
| 41 "process_impl_unittest.cc", | 41 "process_impl_unittest.cc", |
| 42 "process_test_base.cc", | 42 "process_test_base.cc", |
| 43 "process_test_base.h", | 43 "process_test_base.h", |
| 44 ] | 44 ] |
| 45 | 45 |
| 46 deps = [ | 46 deps = [ |
| 47 "//base", | 47 "//base", |
| 48 "//mojo/application", | 48 "//mojo/application", |
| 49 "//mojo/application:test_support", | 49 "//mojo/application:test_support", |
| 50 "//mojo/public/cpp/bindings", | 50 "//mojo/public/cpp/bindings", |
| 51 "//mojo/public/cpp/system", | 51 "//mojo/public/cpp/system", |
| 52 "//mojo/services/files/cpp:files_impl", | 52 "//mojo/services/files/cpp:files_impl", |
| 53 "//mojo/services/files/interfaces", | 53 "//mojo/services/files/interfaces", |
| 54 "//mojo/services/native_support/public/interfaces", | 54 "//mojo/services/native_support/interfaces", |
| 55 ] | 55 ] |
| 56 | 56 |
| 57 data_deps = [ ":native_support($default_toolchain)" ] | 57 data_deps = [ ":native_support($default_toolchain)" ] |
| 58 } | 58 } |
| OLD | NEW |