diff options
author | brettw <brettw@chromium.org> | 2015-02-01 21:34:22 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-02-02 05:35:12 +0000 |
commit | 6aa1895622f98deaed0943be3c8f02a53e563a50 (patch) | |
tree | 56a9deb35b03b7f59cd6ab3f4e0b575e44374360 /ui/snapshot | |
parent | 6019ce400d744a9a8f6eaa3b55c0ebfefb762cb5 (diff) | |
download | chromium_src-6aa1895622f98deaed0943be3c8f02a53e563a50.zip chromium_src-6aa1895622f98deaed0943be3c8f02a53e563a50.tar.gz chromium_src-6aa1895622f98deaed0943be3c8f02a53e563a50.tar.bz2 |
Remove more targets from GN Windows build.
Targets will be removed until the bot is green.
TBR=dpranke
Review URL: https://codereview.chromium.org/886323002
Cr-Commit-Position: refs/heads/master@{#314104}
Diffstat (limited to 'ui/snapshot')
-rw-r--r-- | ui/snapshot/BUILD.gn | 56 |
1 files changed, 29 insertions, 27 deletions
diff --git a/ui/snapshot/BUILD.gn b/ui/snapshot/BUILD.gn index fea99c0..cfbb5d5 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" ] + } } } |