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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/mojo_edk_tests.gyp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/cpp/bindings/tests/BUILD.gn
diff --git a/mojo/public/cpp/bindings/tests/BUILD.gn b/mojo/public/cpp/bindings/tests/BUILD.gn
index 2e073a45050d964a051c64746cb85e28f3a2b44b..c93fbde82631a08d3e252b4bd86ba0e3e9353ea0 100644
--- a/mojo/public/cpp/bindings/tests/BUILD.gn
+++ b/mojo/public/cpp/bindings/tests/BUILD.gn
@@ -27,7 +27,6 @@ source_set("tests") {
"message_queue.cc",
"message_queue.h",
"multiplex_router_unittest.cc",
- "pickle_unittest.cc",
"request_response_unittest.cc",
"router_test_util.cc",
"router_test_util.h",
@@ -36,7 +35,6 @@ source_set("tests") {
"serialization_warning_unittest.cc",
"stl_converters_unittest.cc",
"string_unittest.cc",
- "struct_traits_unittest.cc",
"struct_unittest.cc",
"sync_method_unittest.cc",
"type_conversion_unittest.cc",
@@ -55,10 +53,20 @@ source_set("tests") {
"//mojo/public/interfaces/bindings/tests:test_associated_interfaces",
"//mojo/public/interfaces/bindings/tests:test_interfaces",
"//mojo/public/interfaces/bindings/tests:test_interfaces_experimental",
- "//mojo/public/interfaces/bindings/tests:test_interfaces_wtf",
"//mojo/public/interfaces/bindings/tests:test_struct_traits_interfaces",
"//testing/gtest",
]
+
+ if (is_ios) {
+ assert_no_deps = [ "//third_party/WebKit/*" ]
+ } else {
+ sources += [
+ "pickle_unittest.cc",
+ "struct_traits_unittest.cc",
+ ]
+
+ deps += [ "//mojo/public/interfaces/bindings/tests:test_interfaces_wtf" ]
+ }
}
source_set("for_blink_tests") {
« 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