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", |
11 "screenshot_grabber.h", | 11 "screenshot_grabber.h", |
12 "screenshot_grabber_observer.h", | 12 "screenshot_grabber_observer.h", |
| 13 "snapshot.cc", |
13 "snapshot.h", | 14 "snapshot.h", |
14 "snapshot_android.cc", | 15 "snapshot_android.cc", |
15 "snapshot_async.cc", | 16 "snapshot_async.cc", |
16 "snapshot_async.h", | 17 "snapshot_async.h", |
17 "snapshot_aura.cc", | 18 "snapshot_aura.cc", |
18 "snapshot_export.h", | 19 "snapshot_export.h", |
19 "snapshot_ios.mm", | 20 "snapshot_ios.mm", |
20 "snapshot_mac.mm", | 21 "snapshot_mac.mm", |
21 ] | 22 ] |
22 | 23 |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 | 78 |
78 deps = [ | 79 deps = [ |
79 ":snapshot", | 80 ":snapshot", |
80 "//base", | 81 "//base", |
81 "//base/test:test_support", | 82 "//base/test:test_support", |
82 "//skia", | 83 "//skia", |
83 "//testing/gtest", | 84 "//testing/gtest", |
84 "//ui/base", | 85 "//ui/base", |
85 "//ui/compositor:test_support", | 86 "//ui/compositor:test_support", |
86 "//ui/gfx", | 87 "//ui/gfx", |
| 88 "//ui/gfx:test_support", |
87 "//ui/gfx/geometry", | 89 "//ui/gfx/geometry", |
88 "//ui/gl", | 90 "//ui/gl", |
89 ] | 91 ] |
90 | 92 |
91 if (use_aura) { | 93 if (use_aura) { |
92 deps += [ | 94 deps += [ |
93 "//ui/aura:test_support", | 95 "//ui/aura:test_support", |
94 "//ui/compositor", | 96 "//ui/compositor", |
95 "//ui/compositor:test_support", | 97 "//ui/compositor:test_support", |
96 "//ui/wm", | 98 "//ui/wm", |
97 ] | 99 ] |
98 } else { | 100 } else { |
99 sources -= [ "snapshot_aura_unittest.cc" ] | 101 sources -= [ "snapshot_aura_unittest.cc" ] |
100 } | 102 } |
101 } | 103 } |
OLD | NEW |