Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(721)

Side by Side Diff: mojo/public/cpp/bindings/tests/BUILD.gn

Issue 1906283002: Remove blink dependencies from mojo_public_bindings_unittests on ios. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « mojo/mojo_edk_tests.gyp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 = [
11 "array_common_test.h", 11 "array_common_test.h",
12 "array_unittest.cc", 12 "array_unittest.cc",
13 "associated_interface_unittest.cc", 13 "associated_interface_unittest.cc",
14 "binding_callback_unittest.cc", 14 "binding_callback_unittest.cc",
15 "binding_unittest.cc", 15 "binding_unittest.cc",
16 "bounds_checker_unittest.cc", 16 "bounds_checker_unittest.cc",
17 "buffer_unittest.cc", 17 "buffer_unittest.cc",
18 "callback_unittest.cc", 18 "callback_unittest.cc",
19 "connector_unittest.cc", 19 "connector_unittest.cc",
20 "constant_unittest.cc", 20 "constant_unittest.cc",
21 "container_test_util.cc", 21 "container_test_util.cc",
22 "container_test_util.h", 22 "container_test_util.h",
23 "equals_unittest.cc", 23 "equals_unittest.cc",
24 "handle_passing_unittest.cc", 24 "handle_passing_unittest.cc",
25 "interface_ptr_unittest.cc", 25 "interface_ptr_unittest.cc",
26 "map_unittest.cc", 26 "map_unittest.cc",
27 "message_queue.cc", 27 "message_queue.cc",
28 "message_queue.h", 28 "message_queue.h",
29 "multiplex_router_unittest.cc", 29 "multiplex_router_unittest.cc",
30 "pickle_unittest.cc",
31 "request_response_unittest.cc", 30 "request_response_unittest.cc",
32 "router_test_util.cc", 31 "router_test_util.cc",
33 "router_test_util.h", 32 "router_test_util.h",
34 "router_unittest.cc", 33 "router_unittest.cc",
35 "sample_service_unittest.cc", 34 "sample_service_unittest.cc",
36 "serialization_warning_unittest.cc", 35 "serialization_warning_unittest.cc",
37 "stl_converters_unittest.cc", 36 "stl_converters_unittest.cc",
38 "string_unittest.cc", 37 "string_unittest.cc",
39 "struct_traits_unittest.cc",
40 "struct_unittest.cc", 38 "struct_unittest.cc",
41 "sync_method_unittest.cc", 39 "sync_method_unittest.cc",
42 "type_conversion_unittest.cc", 40 "type_conversion_unittest.cc",
43 "union_unittest.cc", 41 "union_unittest.cc",
44 "validation_unittest.cc", 42 "validation_unittest.cc",
45 "variant_test_util.h", 43 "variant_test_util.h",
46 ] 44 ]
47 45
48 deps = [ 46 deps = [
49 ":mojo_public_bindings_test_utils", 47 ":mojo_public_bindings_test_utils",
50 "//mojo/message_pump", 48 "//mojo/message_pump",
51 "//mojo/public/cpp/bindings", 49 "//mojo/public/cpp/bindings",
52 "//mojo/public/cpp/bindings:callback", 50 "//mojo/public/cpp/bindings:callback",
53 "//mojo/public/cpp/system", 51 "//mojo/public/cpp/system",
54 "//mojo/public/cpp/test_support:test_utils", 52 "//mojo/public/cpp/test_support:test_utils",
55 "//mojo/public/interfaces/bindings/tests:test_associated_interfaces", 53 "//mojo/public/interfaces/bindings/tests:test_associated_interfaces",
56 "//mojo/public/interfaces/bindings/tests:test_interfaces", 54 "//mojo/public/interfaces/bindings/tests:test_interfaces",
57 "//mojo/public/interfaces/bindings/tests:test_interfaces_experimental", 55 "//mojo/public/interfaces/bindings/tests:test_interfaces_experimental",
58 "//mojo/public/interfaces/bindings/tests:test_interfaces_wtf",
59 "//mojo/public/interfaces/bindings/tests:test_struct_traits_interfaces", 56 "//mojo/public/interfaces/bindings/tests:test_struct_traits_interfaces",
60 "//testing/gtest", 57 "//testing/gtest",
61 ] 58 ]
59
60 if (is_ios) {
61 assert_no_deps = [ "//third_party/WebKit/*" ]
62 } else {
63 sources += [
64 "pickle_unittest.cc",
65 "struct_traits_unittest.cc",
66 ]
67
68 deps += [ "//mojo/public/interfaces/bindings/tests:test_interfaces_wtf" ]
69 }
62 } 70 }
63 71
64 source_set("for_blink_tests") { 72 source_set("for_blink_tests") {
65 testonly = true 73 testonly = true
66 74
67 sources = [ 75 sources = [
68 "array_common_test.h", 76 "array_common_test.h",
69 "container_test_util.cc", 77 "container_test_util.cc",
70 "container_test_util.h", 78 "container_test_util.h",
71 "variant_test_util.h", 79 "variant_test_util.h",
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 source_set("mojo_public_bindings_test_utils") { 127 source_set("mojo_public_bindings_test_utils") {
120 sources = [ 128 sources = [
121 "validation_test_input_parser.cc", 129 "validation_test_input_parser.cc",
122 "validation_test_input_parser.h", 130 "validation_test_input_parser.h",
123 ] 131 ]
124 132
125 deps = [ 133 deps = [
126 "//mojo/public/c/system", 134 "//mojo/public/c/system",
127 ] 135 ]
128 } 136 }
OLDNEW
« no previous file with comments | « mojo/mojo_edk_tests.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698