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

Unified Diff: ui/snapshot/BUILD.gn

Issue 886323002: Remove more targets from GN Windows build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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 | « ui/message_center/BUILD.gn ('k') | ui/views/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/snapshot/BUILD.gn
diff --git a/ui/snapshot/BUILD.gn b/ui/snapshot/BUILD.gn
index fea99c08004d4e1ec8fc5a88a64896d6bf54690a..cfbb5d5f1b8c36667bb55a5dd82968848e6b4a1b 100644
--- a/ui/snapshot/BUILD.gn
+++ b/ui/snapshot/BUILD.gn
@@ -52,35 +52,37 @@ component("snapshot") {
}
}
-test("snapshot_unittests") {
- sources = [
- "snapshot_aura_unittest.cc",
- "snapshot_mac_unittest.mm",
- "test/run_all_unittests.cc",
- ]
-
- deps = [
- ":snapshot",
- "//base",
- "//base/allocator",
- "//base/test:test_support",
- "//skia",
- "//testing/gtest",
- "//ui/base",
- "//ui/compositor:test_support",
- "//ui/gfx",
- "//ui/gfx/geometry",
- "//ui/gl",
- ]
+if (!is_win || link_chrome_on_windows) {
+ test("snapshot_unittests") {
+ sources = [
+ "snapshot_aura_unittest.cc",
+ "snapshot_mac_unittest.mm",
+ "test/run_all_unittests.cc",
+ ]
- if (use_aura) {
- deps += [
- "//ui/aura:test_support",
- "//ui/compositor",
+ deps = [
+ ":snapshot",
+ "//base",
+ "//base/allocator",
+ "//base/test:test_support",
+ "//skia",
+ "//testing/gtest",
+ "//ui/base",
"//ui/compositor:test_support",
- "//ui/wm",
+ "//ui/gfx",
+ "//ui/gfx/geometry",
+ "//ui/gl",
]
- } else {
- sources -= [ "snapshot_aura_unittest.cc" ]
+
+ if (use_aura) {
+ deps += [
+ "//ui/aura:test_support",
+ "//ui/compositor",
+ "//ui/compositor:test_support",
+ "//ui/wm",
+ ]
+ } else {
+ sources -= [ "snapshot_aura_unittest.cc" ]
+ }
}
}
« no previous file with comments | « ui/message_center/BUILD.gn ('k') | ui/views/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698