| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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_application.gni") | 5 import("../../../mojo_application.gni") |
| 6 import("../../../mojo_sdk.gni") | 6 import("../../../mojo_sdk.gni") |
| 7 import("//mojo/public/mojo.gni") | |
| 8 | 7 |
| 9 mojo_sdk_source_set("tests") { | 8 mojo_sdk_source_set("tests") { |
| 10 testonly = true | 9 testonly = true |
| 11 | 10 |
| 12 sources = [ | 11 sources = [ |
| 13 "array_unittest.cc", | 12 "array_unittest.cc", |
| 14 "binding_callback_unittest.cc", | 13 "binding_callback_unittest.cc", |
| 15 "binding_unittest.cc", | 14 "binding_unittest.cc", |
| 16 "bounds_checker_unittest.cc", | 15 "bounds_checker_unittest.cc", |
| 17 "buffer_unittest.cc", | 16 "buffer_unittest.cc", |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 } | 77 } |
| 79 | 78 |
| 80 mojo_sdk_source_set("mojo_public_bindings_test_utils") { | 79 mojo_sdk_source_set("mojo_public_bindings_test_utils") { |
| 81 sources = [ | 80 sources = [ |
| 82 "validation_test_input_parser.cc", | 81 "validation_test_input_parser.cc", |
| 83 "validation_test_input_parser.h", | 82 "validation_test_input_parser.h", |
| 84 ] | 83 ] |
| 85 | 84 |
| 86 mojo_sdk_deps = [ "mojo/public/c/system" ] | 85 mojo_sdk_deps = [ "mojo/public/c/system" ] |
| 87 } | 86 } |
| 88 | |
| 89 if (mojo_use_application_in_sdk) { | |
| 90 mojo_native_application("versioning_test_service") { | |
| 91 testonly = true | |
| 92 | |
| 93 deps = [ | |
| 94 ":versioning_test_service_source_set", | |
| 95 ] | |
| 96 } | |
| 97 | |
| 98 mojo_sdk_source_set("versioning_test_service_source_set") { | |
| 99 testonly = true | |
| 100 visibility = [ ":*" ] | |
| 101 | |
| 102 sources = [ | |
| 103 "versioning_test_service.cc", | |
| 104 ] | |
| 105 | |
| 106 mojo_sdk_deps = [ | |
| 107 "mojo/public/cpp/application:standalone", | |
| 108 "mojo/public/cpp/bindings", | |
| 109 "mojo/public/cpp/system", | |
| 110 "mojo/public/interfaces/bindings/tests:versioning_test_service_interfaces"
, | |
| 111 ] | |
| 112 } | |
| 113 | |
| 114 mojo_native_application("versioning_apptests") { | |
| 115 testonly = true | |
| 116 | |
| 117 deps = [ | |
| 118 ":versioning_apptest_source_set", | |
| 119 ] | |
| 120 data_deps = [ | |
| 121 ":versioning_test_service", | |
| 122 ] | |
| 123 } | |
| 124 | |
| 125 mojo_sdk_source_set("versioning_apptest_source_set") { | |
| 126 testonly = true | |
| 127 visibility = [ ":*" ] | |
| 128 | |
| 129 sources = [ | |
| 130 "versioning_apptest.cc", | |
| 131 ] | |
| 132 | |
| 133 mojo_sdk_deps = [ | |
| 134 "mojo/public/cpp/application:standalone", | |
| 135 "mojo/public/cpp/application:test_support_standalone", | |
| 136 "mojo/public/cpp/bindings", | |
| 137 "mojo/public/cpp/system", | |
| 138 "mojo/public/interfaces/bindings/tests:versioning_test_client_interfaces", | |
| 139 ] | |
| 140 } | |
| 141 } | |
| OLD | NEW |