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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 "in_process_native_runner.h", | 47 "in_process_native_runner.h", |
48 "out_of_process_native_runner.cc", | 48 "out_of_process_native_runner.cc", |
49 "out_of_process_native_runner.h", | 49 "out_of_process_native_runner.h", |
50 ] | 50 ] |
51 | 51 |
52 deps = [ | 52 deps = [ |
53 ":native_application_support", | 53 ":native_application_support", |
54 "//base", | 54 "//base", |
55 "//base:base_static", | 55 "//base:base_static", |
56 "//base:i18n", | 56 "//base:i18n", |
| 57 "//mojo/edk/system", |
57 "//mojo/gles2", | 58 "//mojo/gles2", |
58 "//mojo/message_pump", | 59 "//mojo/message_pump", |
59 "//mojo/platform_handle:platform_handle_impl", | 60 "//mojo/platform_handle:platform_handle_impl", |
60 "//mojo/shell", | 61 "//mojo/shell", |
61 "//mojo/shell/runner:init", | 62 "//mojo/shell/runner:init", |
62 "//mojo/shell/runner/child:interfaces", | 63 "//mojo/shell/runner/child:interfaces", |
63 "//mojo/shell/runner/common", | 64 "//mojo/shell/runner/common", |
64 "//third_party/mojo/src/mojo/edk/system", | |
65 ] | 65 ] |
66 | 66 |
67 if (is_linux && !is_android) { | 67 if (is_linux && !is_android) { |
68 sources += [ | 68 sources += [ |
69 "linux_sandbox.cc", | 69 "linux_sandbox.cc", |
70 "linux_sandbox.h", | 70 "linux_sandbox.h", |
71 ] | 71 ] |
72 | 72 |
73 deps += [ | 73 deps += [ |
74 "//sandbox/linux:sandbox", | 74 "//sandbox/linux:sandbox", |
75 "//sandbox/linux:sandbox_services", | 75 "//sandbox/linux:sandbox_services", |
76 "//sandbox/linux:seccomp_bpf", | 76 "//sandbox/linux:seccomp_bpf", |
77 "//sandbox/linux:seccomp_bpf_helpers", | 77 "//sandbox/linux:seccomp_bpf_helpers", |
78 ] | 78 ] |
79 } | 79 } |
80 } | 80 } |
81 | 81 |
82 test("mojo_runner_host_unittests") { | 82 test("mojo_runner_host_unittests") { |
83 sources = [ | 83 sources = [ |
84 "child_process_host_unittest.cc", | 84 "child_process_host_unittest.cc", |
85 "host_unittests.cc", | 85 "host_unittests.cc", |
86 "in_process_native_runner_unittest.cc", | 86 "in_process_native_runner_unittest.cc", |
87 ] | 87 ] |
88 | 88 |
89 deps = [ | 89 deps = [ |
90 ":lib", | 90 ":lib", |
91 "//base", | 91 "//base", |
92 "//base/test:test_support", | 92 "//base/test:test_support", |
93 "//mojo/common", | 93 "//mojo/common", |
| 94 "//mojo/edk/system", |
94 "//mojo/environment:chromium", | 95 "//mojo/environment:chromium", |
95 "//mojo/message_pump", | 96 "//mojo/message_pump", |
96 "//mojo/shell/runner:init", | 97 "//mojo/shell/runner:init", |
97 "//mojo/shell/runner/common", | 98 "//mojo/shell/runner/common", |
98 "//testing/gtest", | 99 "//testing/gtest", |
99 "//third_party/mojo/src/mojo/edk/system", | |
100 ] | 100 ] |
101 } | 101 } |
OLD | NEW |