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

Unified Diff: ui/snapshot/BUILD.gn

Issue 974543002: Remove link_chrome_on_windows GN flag. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 b93fc6f86b29518ae073e1af7fe6ecab10fe2f82..a9e5b0b4a339cedae9453b52a49dbeef827e21e0 100644
--- a/ui/snapshot/BUILD.gn
+++ b/ui/snapshot/BUILD.gn
@@ -56,37 +56,35 @@ component("snapshot") {
}
}
-if (!is_win || link_chrome_on_windows) {
- test("snapshot_unittests") {
- sources = [
- "snapshot_aura_unittest.cc",
- "snapshot_mac_unittest.mm",
- "test/run_all_unittests.cc",
- ]
+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",
+ ]
- deps = [
- ":snapshot",
- "//base",
- "//base/allocator",
- "//base/test:test_support",
- "//skia",
- "//testing/gtest",
- "//ui/base",
+ if (use_aura) {
+ deps += [
+ "//ui/aura:test_support",
+ "//ui/compositor",
"//ui/compositor:test_support",
- "//ui/gfx",
- "//ui/gfx/geometry",
- "//ui/gl",
+ "//ui/wm",
]
-
- if (use_aura) {
- deps += [
- "//ui/aura:test_support",
- "//ui/compositor",
- "//ui/compositor:test_support",
- "//ui/wm",
- ]
- } else {
- sources -= [ "snapshot_aura_unittest.cc" ]
- }
+ } 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