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 import("//mojo/public/tools/bindings/mojom.gni") | 6 import("//mojo/public/tools/bindings/mojom.gni") |
7 import("//testing/test.gni") | 7 import("//testing/test.gni") |
8 | 8 |
9 group("host") { | 9 group("host") { |
10 testonly = true | 10 testonly = true |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 "linux_sandbox.h", | 92 "linux_sandbox.h", |
93 ] | 93 ] |
94 | 94 |
95 deps += [ | 95 deps += [ |
96 "//sandbox/linux:sandbox", | 96 "//sandbox/linux:sandbox", |
97 "//sandbox/linux:sandbox_services", | 97 "//sandbox/linux:sandbox_services", |
98 "//sandbox/linux:seccomp_bpf", | 98 "//sandbox/linux:seccomp_bpf", |
99 "//sandbox/linux:seccomp_bpf_helpers", | 99 "//sandbox/linux:seccomp_bpf_helpers", |
100 ] | 100 ] |
101 } | 101 } |
| 102 |
| 103 if (is_mac) { |
| 104 sources += [ |
| 105 "mach_broker.cc", |
| 106 "mach_broker.h", |
| 107 ] |
| 108 } |
102 } | 109 } |
103 | 110 |
104 test("mojo_runner_host_unittests") { | 111 test("mojo_runner_host_unittests") { |
105 sources = [ | 112 sources = [ |
106 "child_process_host_unittest.cc", | 113 "child_process_host_unittest.cc", |
107 "host_unittests.cc", | 114 "host_unittests.cc", |
108 "in_process_native_runner_unittest.cc", | 115 "in_process_native_runner_unittest.cc", |
109 ] | 116 ] |
110 | 117 |
111 deps = [ | 118 deps = [ |
112 ":lib", | 119 ":lib", |
113 "//base", | 120 "//base", |
114 "//base/test:test_support", | 121 "//base/test:test_support", |
115 "//mojo/edk/system", | 122 "//mojo/edk/system", |
116 "//mojo/message_pump", | 123 "//mojo/message_pump", |
117 "//mojo/shell", | 124 "//mojo/shell", |
118 "//mojo/shell/runner:init", | 125 "//mojo/shell/runner:init", |
119 "//mojo/shell/runner/common", | 126 "//mojo/shell/runner/common", |
120 "//testing/gtest", | 127 "//testing/gtest", |
121 ] | 128 ] |
122 } | 129 } |
OLD | NEW |