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

Unified Diff: mojo/public/cpp/bindings/tests/BUILD.gn

Issue 2004743002: [iOS/GN] Fix the compilation of "all" on iOS with gn. (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/public/cpp/bindings/BUILD.gn ('k') | mojo/public/tools/bindings/mojom.gni » ('j') | 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 774cb946b2b5406cdb7094203e92c6ad69cf4e86..63915724f943a1153d6d62c92d7dc36d90383e9f 100644
--- a/mojo/public/cpp/bindings/tests/BUILD.gn
+++ b/mojo/public/cpp/bindings/tests/BUILD.gn
@@ -73,27 +73,29 @@ source_set("tests") {
}
}
-source_set("for_blink_tests") {
- testonly = true
-
- sources = [
- "array_common_test.h",
- "container_test_util.cc",
- "container_test_util.h",
- "variant_test_util.h",
- "wtf_array_unittest.cc",
- "wtf_types_unittest.cc",
- ]
+if (!is_ios) {
+ source_set("for_blink_tests") {
+ testonly = true
+
+ sources = [
+ "array_common_test.h",
+ "container_test_util.cc",
+ "container_test_util.h",
+ "variant_test_util.h",
+ "wtf_array_unittest.cc",
+ "wtf_types_unittest.cc",
+ ]
- deps = [
- "//mojo/public/cpp/bindings",
- "//mojo/public/cpp/bindings:callback",
- "//mojo/public/cpp/system",
- "//mojo/public/interfaces/bindings/tests:test_interfaces",
- "//mojo/public/interfaces/bindings/tests:test_wtf_types",
- "//mojo/public/interfaces/bindings/tests:test_wtf_types_blink",
- "//testing/gtest",
- ]
+ deps = [
+ "//mojo/public/cpp/bindings",
+ "//mojo/public/cpp/bindings:callback",
+ "//mojo/public/cpp/system",
+ "//mojo/public/interfaces/bindings/tests:test_interfaces",
+ "//mojo/public/interfaces/bindings/tests:test_wtf_types",
+ "//mojo/public/interfaces/bindings/tests:test_wtf_types_blink",
+ "//testing/gtest",
+ ]
+ }
}
source_set("struct_with_traits_impl") {
@@ -112,9 +114,12 @@ source_set("perftests") {
sources = [
"bindings_perftest.cc",
- "e2e_perftest.cc",
]
+ if (!is_ios) {
+ sources += [ "e2e_perftest.cc" ]
+ }
+
deps = [
"//base/test:test_support",
"//mojo/edk/test:test_support",
« no previous file with comments | « mojo/public/cpp/bindings/BUILD.gn ('k') | mojo/public/tools/bindings/mojom.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698