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