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

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

Issue 1995643002: Mojo C++ bindings: fail validation test if no test data found and add data dependency. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
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 = [
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 "//mojo/public/cpp/bindings:callback", 50 "//mojo/public/cpp/bindings:callback",
51 "//mojo/public/cpp/system", 51 "//mojo/public/cpp/system",
52 "//mojo/public/cpp/test_support:test_utils", 52 "//mojo/public/cpp/test_support:test_utils",
53 "//mojo/public/interfaces/bindings/tests:test_associated_interfaces", 53 "//mojo/public/interfaces/bindings/tests:test_associated_interfaces",
54 "//mojo/public/interfaces/bindings/tests:test_interfaces", 54 "//mojo/public/interfaces/bindings/tests:test_interfaces",
55 "//mojo/public/interfaces/bindings/tests:test_interfaces_experimental", 55 "//mojo/public/interfaces/bindings/tests:test_interfaces_experimental",
56 "//mojo/public/interfaces/bindings/tests:test_struct_traits_interfaces", 56 "//mojo/public/interfaces/bindings/tests:test_struct_traits_interfaces",
57 "//testing/gtest", 57 "//testing/gtest",
58 ] 58 ]
59 59
60 data = [
61 "//mojo/public/interfaces/bindings/tests/data/validation/",
62 ]
63
60 if (is_ios) { 64 if (is_ios) {
61 assert_no_deps = [ "//third_party/WebKit/*" ] 65 assert_no_deps = [ "//third_party/WebKit/*" ]
62 } else { 66 } else {
63 sources += [ 67 sources += [
64 "pickle_unittest.cc", 68 "pickle_unittest.cc",
65 "struct_traits_unittest.cc", 69 "struct_traits_unittest.cc",
66 ] 70 ]
67 71
68 deps += [ "//mojo/public/interfaces/bindings/tests:test_interfaces_blink" ] 72 deps += [ "//mojo/public/interfaces/bindings/tests:test_interfaces_blink" ]
69 } 73 }
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 source_set("mojo_public_bindings_test_utils") { 130 source_set("mojo_public_bindings_test_utils") {
127 sources = [ 131 sources = [
128 "validation_test_input_parser.cc", 132 "validation_test_input_parser.cc",
129 "validation_test_input_parser.h", 133 "validation_test_input_parser.h",
130 ] 134 ]
131 135
132 deps = [ 136 deps = [
133 "//mojo/public/c/system", 137 "//mojo/public/c/system",
134 ] 138 ]
135 } 139 }
OLDNEW
« no previous file with comments | « mojo/mojo_public_bindings_unittests.isolate ('k') | mojo/public/cpp/bindings/tests/validation_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698