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_sdk.gni") |
| 6 |
5 # Untrusted code | 7 # Untrusted code |
6 if (is_nacl) { | 8 if (is_nacl) { |
7 # Unit test for the Mojo public API. | 9 # Unit test for the Mojo public C API. |
| 10 # TODO(vtl): Should also have a test for the C++ API? |
8 executable("monacl_test") { | 11 executable("monacl_test") { |
9 testonly = true | 12 testonly = true |
10 sources = [ | 13 sources = [] |
11 "//mojo/public/cpp/system/tests/core_unittest.cc", | |
12 "//mojo/public/cpp/system/tests/macros_unittest.cc", | |
13 ] | |
14 deps = [ | 14 deps = [ |
15 "//mojo/public/c/system/tests:tests", | 15 "//mojo/public/c/system/tests", |
16 "//mojo/public/cpp/system:system", | |
17 "//mojo/public/platform/nacl:mojo", | 16 "//mojo/public/platform/nacl:mojo", |
18 "//testing/gtest:gtest", | 17 "//testing/gtest", |
19 "//testing/gtest:gtest_main", | 18 "//testing/gtest:gtest_main", |
20 ] | 19 ] |
21 } | 20 } |
22 | 21 |
23 group("mojo_nacl_tests_untrusted") { | 22 group("mojo_nacl_tests_untrusted") { |
24 testonly = true | 23 testonly = true |
25 deps = [ | 24 deps = [ |
26 ":monacl_test", | 25 ":monacl_test", |
27 "//examples/apptest", | 26 "//examples/apptest", |
28 "//examples/wget", | 27 "//examples/wget", |
29 "//services/clipboard", | 28 "//services/clipboard", |
30 "//services/clipboard:apptests", | 29 "//services/clipboard:apptests", |
31 "//services/files:apptests", | 30 "//services/files:apptests", |
32 "//services/http_server", | 31 "//services/http_server", |
33 "//services/http_server:apptests", | 32 "//services/http_server:apptests", |
34 "//shell:apptests", | 33 "//shell:apptests", |
35 ] | 34 ] |
36 } | 35 } |
37 } | 36 } |
OLD | NEW |