Index: mash/BUILD.gn |
diff --git a/mash/BUILD.gn b/mash/BUILD.gn |
index c1eb630e10b139b55e733a7eb451212cbbd3fb1f..bc6acf62ea43d6c9e1a373df2d071482f79e8248 100644 |
--- a/mash/BUILD.gn |
+++ b/mash/BUILD.gn |
@@ -22,7 +22,7 @@ group("all") { |
] |
# Build on platforms that support ash. |
- if (is_win || is_chromeos) { |
+ if (is_chromeos) { |
deps += [ "//mash:mash_unittests" ] |
} |
} |
@@ -37,32 +37,35 @@ group("browser") { |
] |
} |
-test("mash_unittests") { |
- sources = [ |
- "test/mash_test_suite.cc", |
- "test/mash_test_suite.h", |
- "test/mash_unittests.cc", |
- ] |
- deps = [ |
- "//ash/common:unittests", |
- "//ash/common/test:test_support", |
- "//ash/mus:resources", |
- "//ash/mus:unittests", |
- "//base", |
- "//base/test:test_support", |
- "//services/service_manager/background:main", |
- "//ui/aura", |
- "//ui/base", |
- "//ui/compositor:test_support", |
- "//ui/gl:test_support", |
- ] |
- data_deps = [ |
- ":unittests_manifest", |
- "//ash/mus:resources", |
- ] |
-} |
+if (is_chromeos) { |
+ # TODO(jamescook): Move these tests into //ash/mus. |
+ test("mash_unittests") { |
+ sources = [ |
+ "test/mash_test_suite.cc", |
+ "test/mash_test_suite.h", |
+ "test/mash_unittests.cc", |
+ ] |
+ deps = [ |
+ "//ash/common:unittests", |
+ "//ash/common/test:test_support", |
+ "//ash/mus:resources", |
+ "//ash/mus:unittests", |
+ "//base", |
+ "//base/test:test_support", |
+ "//services/service_manager/background:main", |
+ "//ui/aura", |
+ "//ui/base", |
+ "//ui/compositor:test_support", |
+ "//ui/gl:test_support", |
+ ] |
+ data_deps = [ |
+ ":unittests_manifest", |
+ "//ash/mus:resources", |
+ ] |
+ } |
-service_manifest("unittests_manifest") { |
- name = "mash_unittests" |
- source = "unittests_manifest.json" |
+ service_manifest("unittests_manifest") { |
+ name = "mash_unittests" |
+ source = "unittests_manifest.json" |
+ } |
} |