OLD | NEW |
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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 ] | 60 ] |
61 | 61 |
62 deps = [ | 62 deps = [ |
63 ":snapshot", | 63 ":snapshot", |
64 "//base", | 64 "//base", |
65 "//base/allocator", | 65 "//base/allocator", |
66 "//base/test:test_support", | 66 "//base/test:test_support", |
67 "//skia", | 67 "//skia", |
68 "//testing/gtest", | 68 "//testing/gtest", |
69 "//ui/base", | 69 "//ui/base", |
| 70 "//ui/compositor:test_support", |
70 "//ui/gfx", | 71 "//ui/gfx", |
71 "//ui/gfx/geometry", | 72 "//ui/gfx/geometry", |
72 "//ui/gl", | 73 "//ui/gl", |
73 ] | 74 ] |
74 | 75 |
75 if (use_aura) { | 76 if (use_aura) { |
76 deps += [ | 77 deps += [ |
77 "//ui/aura:test_support", | 78 "//ui/aura:test_support", |
78 "//ui/compositor", | 79 "//ui/compositor", |
79 "//ui/compositor:test_support", | 80 "//ui/compositor:test_support", |
80 "//ui/wm", | 81 "//ui/wm", |
81 ] | 82 ] |
82 } else { | 83 } else { |
83 sources -= [ "snapshot_aura_unittest.cc" ] | 84 sources -= [ "snapshot_aura_unittest.cc" ] |
84 } | 85 } |
85 } | 86 } |
OLD | NEW |