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

Side by Side 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, 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 unified diff | Download patch
« no previous file with comments | « ui/message_center/BUILD.gn ('k') | ui/views/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/ui.gni") 5 import("//build/config/ui.gni")
6 import("//testing/test.gni") 6 import("//testing/test.gni")
7 7
8 component("snapshot") { 8 component("snapshot") {
9 sources = [ 9 sources = [
10 "screenshot_grabber.cc", 10 "screenshot_grabber.cc",
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 if (use_aura) { 45 if (use_aura) {
46 deps += [ 46 deps += [
47 "//ui/aura", 47 "//ui/aura",
48 "//ui/compositor", 48 "//ui/compositor",
49 ] 49 ]
50 } else { 50 } else {
51 sources -= [ "snapshot_aura.cc" ] 51 sources -= [ "snapshot_aura.cc" ]
52 } 52 }
53 } 53 }
54 54
55 test("snapshot_unittests") { 55 if (!is_win || link_chrome_on_windows) {
56 sources = [ 56 test("snapshot_unittests") {
57 "snapshot_aura_unittest.cc", 57 sources = [
58 "snapshot_mac_unittest.mm", 58 "snapshot_aura_unittest.cc",
59 "test/run_all_unittests.cc", 59 "snapshot_mac_unittest.mm",
60 ] 60 "test/run_all_unittests.cc",
61 ]
61 62
62 deps = [ 63 deps = [
63 ":snapshot", 64 ":snapshot",
64 "//base", 65 "//base",
65 "//base/allocator", 66 "//base/allocator",
66 "//base/test:test_support", 67 "//base/test:test_support",
67 "//skia", 68 "//skia",
68 "//testing/gtest", 69 "//testing/gtest",
69 "//ui/base", 70 "//ui/base",
70 "//ui/compositor:test_support", 71 "//ui/compositor:test_support",
71 "//ui/gfx", 72 "//ui/gfx",
72 "//ui/gfx/geometry", 73 "//ui/gfx/geometry",
73 "//ui/gl", 74 "//ui/gl",
74 ] 75 ]
75 76
76 if (use_aura) { 77 if (use_aura) {
77 deps += [ 78 deps += [
78 "//ui/aura:test_support", 79 "//ui/aura:test_support",
79 "//ui/compositor", 80 "//ui/compositor",
80 "//ui/compositor:test_support", 81 "//ui/compositor:test_support",
81 "//ui/wm", 82 "//ui/wm",
82 ] 83 ]
83 } else { 84 } else {
84 sources -= [ "snapshot_aura_unittest.cc" ] 85 sources -= [ "snapshot_aura_unittest.cc" ]
86 }
85 } 87 }
86 } 88 }
OLDNEW
« 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