| 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 "union_unittest.cc", | 15 "union_unittest.cc", |
| 16 "validation_unittest.cc", |
| 16 ] | 17 ] |
| 17 | 18 |
| 18 deps = [ | 19 deps = [ |
| 19 "//testing/gtest", | 20 "//testing/gtest", |
| 20 ] | 21 ] |
| 21 | 22 |
| 22 mojo_sdk_deps = [ | 23 mojo_sdk_deps = [ |
| 23 "mojo/public/cpp/bindings/tests:mojo_public_bindings_test_utils", | 24 "mojo/public/cpp/bindings/tests:mojo_public_bindings_test_utils", |
| 25 "mojo/public/cpp/bindings/tests:validation_util", |
| 26 "mojo/public/cpp/test_support", |
| 24 "mojo/public/cpp/system", | 27 "mojo/public/cpp/system", |
| 25 "mojo/public/c/bindings", | 28 "mojo/public/c/bindings", |
| 26 | 29 |
| 27 # The "_c" suffix'd target compiles the generated C bindings to this mojom | 30 # The "_c" suffix'd target compiles the generated C bindings to this mojom |
| 28 # target. | 31 # target. |
| 29 "mojo/public/interfaces/bindings/tests:test_interfaces_c", | 32 "mojo/public/interfaces/bindings/tests:test_interfaces_c", |
| 30 ] | 33 ] |
| 31 } | 34 } |
| OLD | NEW |