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

Unified Diff: mojo/edk/system/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 | « ipc/BUILD.gn ('k') | mojo/edk/test/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/system/BUILD.gn
diff --git a/mojo/edk/system/BUILD.gn b/mojo/edk/system/BUILD.gn
index f151219fb32b73aab2273d49a41df0254e134868..343b7ab9e8f7e0bb8928b226c6e675c94106bcbc 100644
--- a/mojo/edk/system/BUILD.gn
+++ b/mojo/edk/system/BUILD.gn
@@ -121,9 +121,12 @@ component("system") {
group("tests") {
testonly = true
deps = [
- ":mojo_message_pipe_perftests",
":mojo_system_unittests",
]
+
+ if (!is_ios) {
+ deps += [ ":mojo_message_pipe_perftests" ]
+ }
}
source_set("test_utils") {
@@ -153,7 +156,6 @@ test("mojo_system_unittests") {
"core_test_base.cc",
"core_test_base.h",
"core_unittest.cc",
- "data_pipe_unittest.cc",
"message_pipe_unittest.cc",
"options_validation_unittest.cc",
"platform_handle_dispatcher_unittest.cc",
@@ -167,7 +169,10 @@ test("mojo_system_unittests") {
]
if (!is_ios) {
- sources += [ "multiprocess_message_pipe_unittest.cc" ]
+ sources += [
+ "data_pipe_unittest.cc",
+ "multiprocess_message_pipe_unittest.cc",
+ ]
}
deps = [
@@ -185,18 +190,20 @@ test("mojo_system_unittests") {
allow_circular_includes_from = [ "//mojo/edk/embedder:embedder_unittests" ]
}
-test("mojo_message_pipe_perftests") {
- sources = [
- "message_pipe_perftest.cc",
- ]
+if (!is_ios) {
+ test("mojo_message_pipe_perftests") {
+ sources = [
+ "message_pipe_perftest.cc",
+ ]
- deps = [
- ":test_utils",
- "//base",
- "//base/test:test_support",
- "//mojo/edk/system",
- "//mojo/edk/test:run_all_perftests",
- "//mojo/edk/test:test_support",
- "//testing/gtest",
- ]
+ deps = [
+ ":test_utils",
+ "//base",
+ "//base/test:test_support",
+ "//mojo/edk/system",
+ "//mojo/edk/test:run_all_perftests",
+ "//mojo/edk/test:test_support",
+ "//testing/gtest",
+ ]
+ }
}
« no previous file with comments | « ipc/BUILD.gn ('k') | mojo/edk/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698