| 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 12 matching lines...) Expand all Loading... |
| 23 defines = [ "SNAPSHOT_IMPLEMENTATION" ] | 23 defines = [ "SNAPSHOT_IMPLEMENTATION" ] |
| 24 | 24 |
| 25 deps = [ | 25 deps = [ |
| 26 "//base", | 26 "//base", |
| 27 "//skia", | 27 "//skia", |
| 28 "//ui/base", | 28 "//ui/base", |
| 29 "//ui/gfx", | 29 "//ui/gfx", |
| 30 "//ui/gfx/geometry", | 30 "//ui/gfx/geometry", |
| 31 ] | 31 ] |
| 32 | 32 |
| 33 if (is_android) { |
| 34 deps += [ "//ui/android" ] |
| 35 } |
| 36 |
| 33 if (use_aura || is_android) { | 37 if (use_aura || is_android) { |
| 34 deps += [ | 38 deps += [ |
| 35 "//cc", | 39 "//cc", |
| 36 "//gpu/command_buffer/common", | 40 "//gpu/command_buffer/common", |
| 37 ] | 41 ] |
| 38 } else { | 42 } else { |
| 39 sources -= [ | 43 sources -= [ |
| 40 "snapshot_async.cc", | 44 "snapshot_async.cc", |
| 41 "snapshot_async.h", | 45 "snapshot_async.h", |
| 42 ] | 46 ] |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 "//ui/aura:test_support", | 83 "//ui/aura:test_support", |
| 80 "//ui/compositor", | 84 "//ui/compositor", |
| 81 "//ui/compositor:test_support", | 85 "//ui/compositor:test_support", |
| 82 "//ui/wm", | 86 "//ui/wm", |
| 83 ] | 87 ] |
| 84 } else { | 88 } else { |
| 85 sources -= [ "snapshot_aura_unittest.cc" ] | 89 sources -= [ "snapshot_aura_unittest.cc" ] |
| 86 } | 90 } |
| 87 } | 91 } |
| 88 } | 92 } |
| OLD | NEW |