OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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_sdk.gni") | 5 import("../../../mojo_sdk.gni") |
6 | 6 |
7 mojo_sdk_source_set("tests") { | 7 mojo_sdk_source_set("tests") { |
8 testonly = true | 8 testonly = true |
9 | 9 |
10 sources = [ | 10 sources = [ |
11 "array_unittest.cc", | 11 "array_unittest.cc", |
12 "buffer_unittest.cc", | 12 "buffer_unittest.cc", |
13 "message_unittest.cc", | 13 "message_unittest.cc", |
14 "struct_unittest.cc", | 14 "struct_unittest.cc", |
15 "testing_util.h", | 15 "testing_util.h", |
16 "union_unittest.cc", | 16 "union_unittest.cc", |
17 "validation_unittest.cc", | 17 "validation_unittest.cc", |
18 ] | 18 ] |
19 | 19 |
20 deps = [ | 20 deps = [ |
21 "//testing/gtest", | 21 "//testing/gtest", |
22 ] | 22 ] |
23 | 23 |
24 mojo_sdk_deps = [ | 24 mojo_sdk_deps = [ |
| 25 "mojo/public/c:bindings", |
25 "mojo/public/cpp/bindings/tests:mojo_public_bindings_test_utils", | 26 "mojo/public/cpp/bindings/tests:mojo_public_bindings_test_utils", |
26 "mojo/public/cpp/bindings/tests:validation_util", | 27 "mojo/public/cpp/bindings/tests:validation_util", |
27 "mojo/public/cpp/test_support", | 28 "mojo/public/cpp/test_support", |
28 "mojo/public/cpp/system", | 29 "mojo/public/cpp/system", |
29 "mojo/public/c/bindings", | |
30 | 30 |
31 # The "_c" suffix'd target compiles the generated C bindings to this mojom | 31 # The "_c" suffix'd target compiles the generated C bindings to this mojom |
32 # target. | 32 # target. |
33 "mojo/public/interfaces/bindings/tests:test_interfaces_c", | 33 "mojo/public/interfaces/bindings/tests:test_interfaces_c", |
34 ] | 34 ] |
35 } | 35 } |
OLD | NEW |