| 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 | 6 |
| 7 source_set("tests") { | 7 source_set("tests") { |
| 8 testonly = true | 8 testonly = true |
| 9 | 9 |
| 10 sources = [ | 10 sources = [ |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 } else { | 66 } else { |
| 67 sources += [ | 67 sources += [ |
| 68 "pickle_unittest.cc", | 68 "pickle_unittest.cc", |
| 69 "struct_traits_unittest.cc", | 69 "struct_traits_unittest.cc", |
| 70 ] | 70 ] |
| 71 | 71 |
| 72 deps += [ "//mojo/public/interfaces/bindings/tests:test_interfaces_blink" ] | 72 deps += [ "//mojo/public/interfaces/bindings/tests:test_interfaces_blink" ] |
| 73 } | 73 } |
| 74 } | 74 } |
| 75 | 75 |
| 76 source_set("for_blink_tests") { | 76 if (!is_ios) { |
| 77 testonly = true | 77 source_set("for_blink_tests") { |
| 78 testonly = true |
| 78 | 79 |
| 79 sources = [ | 80 sources = [ |
| 80 "array_common_test.h", | 81 "array_common_test.h", |
| 81 "container_test_util.cc", | 82 "container_test_util.cc", |
| 82 "container_test_util.h", | 83 "container_test_util.h", |
| 83 "variant_test_util.h", | 84 "variant_test_util.h", |
| 84 "wtf_array_unittest.cc", | 85 "wtf_array_unittest.cc", |
| 85 "wtf_types_unittest.cc", | 86 "wtf_types_unittest.cc", |
| 86 ] | 87 ] |
| 87 | 88 |
| 88 deps = [ | 89 deps = [ |
| 89 "//mojo/public/cpp/bindings", | 90 "//mojo/public/cpp/bindings", |
| 90 "//mojo/public/cpp/bindings:callback", | 91 "//mojo/public/cpp/bindings:callback", |
| 91 "//mojo/public/cpp/system", | 92 "//mojo/public/cpp/system", |
| 92 "//mojo/public/interfaces/bindings/tests:test_interfaces", | 93 "//mojo/public/interfaces/bindings/tests:test_interfaces", |
| 93 "//mojo/public/interfaces/bindings/tests:test_wtf_types", | 94 "//mojo/public/interfaces/bindings/tests:test_wtf_types", |
| 94 "//mojo/public/interfaces/bindings/tests:test_wtf_types_blink", | 95 "//mojo/public/interfaces/bindings/tests:test_wtf_types_blink", |
| 95 "//testing/gtest", | 96 "//testing/gtest", |
| 96 ] | 97 ] |
| 98 } |
| 97 } | 99 } |
| 98 | 100 |
| 99 source_set("struct_with_traits_impl") { | 101 source_set("struct_with_traits_impl") { |
| 100 sources = [ | 102 sources = [ |
| 101 "struct_with_traits_impl.cc", | 103 "struct_with_traits_impl.cc", |
| 102 "struct_with_traits_impl.h", | 104 "struct_with_traits_impl.h", |
| 103 ] | 105 ] |
| 104 | 106 |
| 105 deps = [ | 107 deps = [ |
| 106 "//base", | 108 "//base", |
| 107 ] | 109 ] |
| 108 } | 110 } |
| 109 | 111 |
| 110 source_set("perftests") { | 112 source_set("perftests") { |
| 111 testonly = true | 113 testonly = true |
| 112 | 114 |
| 113 sources = [ | 115 sources = [ |
| 114 "bindings_perftest.cc", | 116 "bindings_perftest.cc", |
| 115 "e2e_perftest.cc", | |
| 116 ] | 117 ] |
| 117 | 118 |
| 119 if (!is_ios) { |
| 120 sources += [ "e2e_perftest.cc" ] |
| 121 } |
| 122 |
| 118 deps = [ | 123 deps = [ |
| 119 "//base/test:test_support", | 124 "//base/test:test_support", |
| 120 "//mojo/edk/test:test_support", | 125 "//mojo/edk/test:test_support", |
| 121 "//mojo/public/cpp/bindings", | 126 "//mojo/public/cpp/bindings", |
| 122 "//mojo/public/cpp/bindings:callback", | 127 "//mojo/public/cpp/bindings:callback", |
| 123 "//mojo/public/cpp/system", | 128 "//mojo/public/cpp/system", |
| 124 "//mojo/public/cpp/test_support:test_utils", | 129 "//mojo/public/cpp/test_support:test_utils", |
| 125 "//mojo/public/interfaces/bindings/tests:test_interfaces", | 130 "//mojo/public/interfaces/bindings/tests:test_interfaces", |
| 126 "//testing/gtest", | 131 "//testing/gtest", |
| 127 ] | 132 ] |
| 128 } | 133 } |
| 129 | 134 |
| 130 source_set("mojo_public_bindings_test_utils") { | 135 source_set("mojo_public_bindings_test_utils") { |
| 131 sources = [ | 136 sources = [ |
| 132 "validation_test_input_parser.cc", | 137 "validation_test_input_parser.cc", |
| 133 "validation_test_input_parser.h", | 138 "validation_test_input_parser.h", |
| 134 ] | 139 ] |
| 135 | 140 |
| 136 deps = [ | 141 deps = [ |
| 137 "//mojo/public/c/system", | 142 "//mojo/public/c/system", |
| 138 ] | 143 ] |
| 139 } | 144 } |
| OLD | NEW |